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!

How-to programmatically set a pageFlow variable??

x0d3rApr 21 2010 — edited Apr 22 2010
Hi im using Jdev 11.1.1.2.0 and i need the set a pageFlow variable programmatically from a backing bean, i've found this code
RequestContext.getCurrentInstance().getPageFlowScope().put("foo", "bar");
Im calling the variable from a view JSPx as a text value...but it doesn't load anything...
<af:commandButton text="#{pageFlowScope.foo}" binding="#{backingBeanScope.backing_view1.cb1}" id="cb1"/>  
Im doing it right ?? or i need to register somewhere the variable first?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2010
Added on Apr 21 2010
14 comments
5,385 views