Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EL expression for inputValue of lovField within a table (JHS v10.1.3.1)

534820Apr 18 2007 — edited Apr 29 2007
Hi,

I'm trying to implement depended LOV's within a table.
First LOV selects a code and second LOV use the code of the first LOV to set a query param for the second LOV.

Can you tel me what the EL expression for this is, because I tried several and none succeeded.

Query Bind Parameters on second LOV using named parameters.
varDeterminatieCode=#{bindings.BeoordelenDeterminatieCodeLovItemInTable.value}

Managed beanname of the first LOV is BeoordelenDeterminatieCodeLovItemInTable

By the way I was able to select the value in a homemade bean in the following manner, but now I wan't to do it the right way.

FacesContext ctx = FacesContext.getCurrentInstance();
ValueBinding vb = ctx.getApplication().createValueBinding(valueBindingMasterLOV);
Object obj = vb.getValue(ctx);
if (obj == null)
return false;
CoreSelectInputText input = (CoreSelectInputText)obj;
String value = (String)input.getValue();

Hope to hear from you soon.

Regards,
Michel.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2007
Added on Apr 18 2007
5 comments
2,518 views