Hi folks,
I've got a page with a selectOneMenu on it. The validation h:message just displays the
message right next to it. This approach works for all of the text fields correctly, but
for some reason it doesn't work with this selectOneMenu.
Instead the message gets displayed in the area of the page normally reserved for top level
messages.
rms:enumListConverter is an enum converter.
| <h:outputLabel for="selectedPriority" value="Priority:"/>
| <h:selectOneMenu
| id="selectedPriority"
| value="#{inspectionSearchForm.selectedPriority}"
| required="false"
| disabled="false">
| <s:selectItems
| value="#{inspectionSearchForm.priorities}"
| var="priorityEnum"
| label="#{priorityEnum.description}"/>
| <rms:enumListConverter/>
| </h:selectOneMenu>
| <h:message for="selectedPriority" styleClass="error" />
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060165#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...