You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Gustavo Hexsel <gh...@gmail.com> on 2008/02/26 20:45:59 UTC
Multiple wicket:message attributes?
Hi all!
in one of these "let's check what's happening around" I resolved to
check back on Wicket and see what's going on. So I was playing around
with the functionality I hadn't used before (as usual by translating a
page or two of my current project, to try to convince management we
should migrate :), and I found an odd limitation:
- is one supposed to be able to add multiple tags to the
wicket:message attributes?
I tried it, but this is what I got:
<img title:calendar.alt.hastransactions=""
alt:calendar.alt.hastransactions="" test="Transaction(s) on this day"
wicket:message="title:calendar.alt.hasTransactions
alt:calendar.alt.hasTransactions test:calendar.alt.hasTransactions"
name="hasTransactionsLegend" class="hbn-calendar-marker-size"
src="img/cal_transaction.gif">
Is there any way to add an internationalized text to multiple
attributes other than by code?
[]s Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Multiple wicket:message attributes?
Posted by Igor Vaynberg <ig...@gmail.com>.
i think the format is attr1:value1,attr2:value2 (separated by commas not spaces)
-igor
On Tue, Feb 26, 2008 at 11:45 AM, Gustavo Hexsel <gh...@gmail.com> wrote:
> Hi all!
>
> in one of these "let's check what's happening around" I resolved to
> check back on Wicket and see what's going on. So I was playing around
> with the functionality I hadn't used before (as usual by translating a
> page or two of my current project, to try to convince management we
> should migrate :), and I found an odd limitation:
>
> - is one supposed to be able to add multiple tags to the
> wicket:message attributes?
>
> I tried it, but this is what I got:
>
> <img title:calendar.alt.hastransactions=""
> alt:calendar.alt.hastransactions="" test="Transaction(s) on this day"
> wicket:message="title:calendar.alt.hasTransactions
> alt:calendar.alt.hasTransactions test:calendar.alt.hasTransactions"
> name="hasTransactionsLegend" class="hbn-calendar-marker-size"
> src="img/cal_transaction.gif">
>
> Is there any way to add an internationalized text to multiple
> attributes other than by code?
>
>
> []s Gus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org