Entries from Shay Shmeltzer's Weblog tagged with 'Binding'

Getting the Value from a SelectOneChoice List Using Code

I got asked this today, and this seems to be a question that pops up every now and again, so I thought I'll document this little piece of code. The scenario is that you have a drop down list using...

Java Class Data Control and ADF Binding Tricks Demo

This demo started from a simple request on the OTN forum asking how would you go about creating a JSF page that reads and writes a file content. The quick answer I gave was that you can do this with...

Setting parameter value for binding with code

Back in the 10.1.3 days I wrote an entry that showed how to set the value of a parameter that is referenced in your page's binding by writing some code in your backing bean. Well with 11g we moved to...

Insert & Update for JPA/EJB 3.0 with ADF binding

One thing that we don't show in the basic JPA/EJB 3/JSF/ADF Faces tutorial for 11g is how to do an update or an insert into the database. (We do show how to do an update in the cue cards tutorial)....

Preventing Queries When Page First Loads

When you are dealing with big sets of data or complex queries you sometime want to prevent the automatic execution of a query that happens when you bind a table or form in an ADF page to a data control....

Using selectOneChoice with JPA relationships

On OTN some asked how to create a selectOneChoice item from an object that relates to another object when using JPA and ADF Faces. Here is the quick how-to. We'll use the default Employees and Departments table from the HR...

Executing An Action on JSF Page Startup with Pagedef

Someone asked this on the OTN forum: Create an JSF page with an ADF Form and a Create button - now when you run it - you first have to click the create button to get an empty record in...

Coding Parameter Values for Web Services Binding

I got a request for help from a partner yesterday, they were looking for a way to assign values to a list of parameters of a web service in a managed bean. Since the day before that I answered a...