Hi everybody,

1) i'm using jsf converter in order to create a many-to-one relationship from
<h:selectOneMenu and it works great but i have to create one converter
for a lot of my pojo... Have you got an other solution ? (Generic Converter ?)


2) Is it correct to group my getAvailableXXX in one JSF SelectStore.java
wich can be called from <h:selectOneMenu in differents JSF forms ?

Exemple in userForm.xhtml :
<f:selectItems value="#{userForm.availableRoles}"/>

will be replaced by :

<f:selectItems value="#{selectStore.availableRoles}"/>

i think it's more reusable.

What is your opinion about this ?


Thanks,
Ben.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to