Skip navigation
JBossDeveloper
Log in
Register
JBoss
Developer
Forums
Downloads
Projects
Buzz
Home
News
Content
Places
People
Search
Cancel
Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page.
All Places
>
Seam
>
Seam 2
>
Discussions
Please enter a title.
You can not post a blank message. Please type your message and try again.
Body
0 Replies
Latest reply
on Apr 15, 2009 6:51 AM by jaya kemmannu
h:selectOneMenu not showing selected value
jaya kemmannu
Apr 15, 2009 6:51 AM
i have xhtml page in my seam application with <rich:panel>.A column contain <h:selectOneMenu> tag. i want display the values of one column of database table in that listbox how can i do that?
<ui:define name="body">
<h:form id="policy" styleClass="edit">
<rich:panel>
<f:facet name="header">#{policyHome.managed ? 'Edit' : 'Add'} Policy</f:facet>
<s:decorate id="policyIdField" template="layout/edit.xhtml">
<ui:define name="label">Policy id</ui:define>
<h:inputText id="policyId"
disabled="#{policyHome.managed}"
required="true"
size="30"
maxlength="30"
value="#{policyHome.instance.policyId}" style=" width : 142px;">
<a:support event="onblur" reRender="policyIdField" bypassUpdates="true" ajaxSingle="true"/>
</h:inputText>
</s:decorate>
<s:decorate id="PolicyTypeIdField" template="layout/edit.xhtml">
<ui:define name="label">PolicyTypeID</ui:define>
<h:selectOneListbox id="PolicyTypeID"
required="true"
disabled="#{policytypeHome.managed}"
value="#{policytypeHome.}" style=" width : 142px;">
</h:selectOneListbox>
</s:decorate>
</rich:panel>
This content has been marked as final.
Show 0 replies
Actions
Related Issues
Retrieving data ...
More Like This
Retrieving data ...