Skip to Main Content

Java Development Tools

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!

Refresh select one choice executing an action binding from ViewObjectImpl

SheritonDec 7 2013 — edited Dec 9 2013

Hello,

I'm using Oracle JDeveloper 11g Release 2 (11.1.2.3.0).

I have a jspx page with a panel tabbed with 2 tabs. In the first one, I have a SelectOneChoice and a button. This command button executes a method in a ViewObjectImpl to add items on a table.

Here the code of the button:

<af:commandButton actionListener="#{bindings.addCarToStock.execute}"

                                                      text="Add to Stock"

                                                      disabled="#{!bindings.addCarToStock.enabled}" id="cb2"/>

On the other tab, I have a form with another SelectOneChoice, in this SOC, you have to choice an item added in the other tab. But when I add a new item in the first tab, the new item does not appear in the SOC of the second tab.

This would be solved if I execute an action binding on the VOIterator of the second tab, but I can do it from the method on the ViewObjectImpl.

Can someone help me?

Thanks in advance!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 6 2014
Added on Dec 7 2013
7 comments
709 views