What is the data type of autoridade.orgao.codObjeto and
autoridade.cargo.codObjeto?

On 6/7/07, Rafael Dittberner <[EMAIL PROTECTED]> wrote:

This is my code:

<s:select name="autoridade.orgao.codObjeto" list="orgaos"
listKey="codObjeto" listValue="nome" label="Orgão"
value="%{autoridade.orgao.codObjeto.toString()}" />

<s:select name="autoridade.cargo.codObjeto" list="cargos"
listKey="codObjeto" listValue="nome" label="Cargo"
value="%{autoridade.cargo.codObjeto}" />

Someone please explain to me why in the first one i had to use
toString() to make it work, but the second one works perfectly as is?

--
Rafael Dittberner
Brasília (DF) - Brasil

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


Reply via email to