I don't remember the syntax very well, but wouldn't
you need to do:

<field name="packetID" type="text" length="20"
i18n:attr="description"/>

and in you messages.xml:

<message key="description">packet ID</message>

Cheers,
-Alex

--- Maria Bauer <[EMAIL PROTECTED]> wrote:
> hi all,
> hope that you can help me, i've got the following
> problem:
> 
> i've got a xsp-file, in which i defined the form
> field
> 
> <field name="packetID" type="text" length="20"
> description="packet_ID"
> i18n:attr="description"/>
> 
> and
> <message key="packet_ID">packet ID</message>
> 
> in "messages_en.xml".
> The problem is that this attribute won't be
> translated (the default text
> "packet_ID" is showed).
> in a tutorial i found that i18n:attr isn't part of
> the i18:n namespace.
> perhaps this could be the solution. but: which
> namespace it is part of????
> 
> thousand thanks!!!!
> 
> 
> 
> 
>
---------------------------------------------------------------------
> 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