tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sigbjørn Tvedt <sigbjo...@gmail.com>
Subject Translating the cancel button on BeanEditForm
Date Wed, 21 Sep 2011 13:23:38 GMT
Hi.
I tried to translate the cancel button on a BeanEditForm by supplying the
translation "cancel-label=Avbryt" in my app.properties, but this does not
seem to work.
I had a look at the source tml for the BeanEditForm, and I see that the
cancel button are written as
     <t:submit t:id="cancel" mode="cancel" value="message:cancel-label"/>

Are the value supposed to be "message:cancel-label"? Would not
${message:cancel-label} be the correct way of referencing the message
catalog in a component? (Palette.tml uses this for the alt messages)

Regards

Sigbjørn Tvedy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message