Hello,
i wrote a type converter in order to use an s:select with a plain objet
instead of manage id...
and it works when i add my object but when i want to edit, the converter is
not called
and my list is not rightly selected. i foud a workaround by using the value
attribute :
value="article.famille.id"
like this
<s:select key="article.type" headerKey="-1"
headerValue="Selectionner un type" list="types"
listKey="id" listValue="nom" required="true" theme="xhtml"
value="article.type.id"/>
Do you know how to use type converter in order to manage pojo in select tag
instead of using id ?
Thanks,
BenoƮt.
--
View this message in context:
http://www.nabble.com/struts-2-s%3Aselect-and-converter-tf3376212.html#a9396118
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]