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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

af:selectOneChoice default value programmatically from backing bean

Edward D.G.Oct 15 2012 — edited Oct 15 2012
My jdev version is 11.1.1.6

I need to set a default value to af:selectOneChoice programmatically from backing bean when page load first time.
How can i do that???

......
<af:panelFormLayout binding="#{backingBeanScope.BakiingCotizar.pfl1}"
id="pfl1">
<af:selectOneChoice
--->>>> value="#{bindings.Vendedor.inputValue}"
label="#{bindings.Vendedor.label}"
required="#{bindings.Vendedor.hints.mandatory}"
shortDesc="#{bindings.Vendedor.hints.tooltip}"
binding="#{backingBeanScope.BakiingCotizar.soc1}"
disabled="#{UsuariorBean.isNotVendedor}"
id="soc1">
<f:selectItems value="#{bindings.Vendedor.items}"
binding="#{backingBeanScope.BakiingCotizar.si7}" id="si7"/>
</af:selectOneChoice>

.......
This post has been answered by codigoadf on Oct 15 2012
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 12 2012
Added on Oct 15 2012
2 comments
5,939 views