I'm likely misunderstanding it's usage. It now seems as though the value of
the component becomes an instance of the Entity, for example:
<h:selectOneMenu id="regionSelect" value="#{contentAdmin.selectedRegion}"
styleClass="formElement">
| <s:selectItems var="region" value="#{regions.resultList}"
label="#{region.regionCode}" noSelectionLabel="Please select a region..."/>
| <f:converter converterId="entityConverter" />
| </h:selectOneMenu>
public Region getSelectedRegion() {
| return selectedRegion;
| }
| public void setSelectedRegion(Region selectedRegion) {
| this.selectedRegion = selectedRegion;
| }
Is this true? I was attempting to use the PK of the entity (a String).
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125253#4125253
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125253
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user