Yes it works !

Matt Raible a écrit :
This sounds like a reasonable approach. Have you been using it with success?

Matt

On 3/1/07, Benoit Moraillon <[EMAIL PROTECTED]> wrote:
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]





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

Reply via email to