You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by AshleyAbraham <ab...@gmail.com> on 2007/12/14 00:22:36 UTC
Question about wicket:message
I am trying to use wicket:message inside a tag in the following format
wicket:message="attribute:resource_identifier"
My question is the attribute which I am using is a custom attribute
"ric:title" (without quotes) and it also has a colon in it. How can I tell
wicket to ignore the colon in the attribute name...?
Currently, I have <div wicket:message="ric:title:page.title" />, the problem
is wicket takes the first colon which is part of my attribute name and takes
the rest as the resource property name and looks for it in the property file
and then throws an error.
So, how can I tell wicket to ignore or somehow escape the colon in the
attribute name...and still process it?
I tried using slash in front of it and it didn't work...any suggestions,
please help.
Thanks
--
View this message in context: http://www.nabble.com/Question-about-wicket%3Amessage-tp14326982p14326982.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Question about wicket:message
Posted by AshleyAbraham <ab...@gmail.com>.
Igor,
Thanks for your reply!
as you suggested I tried the ascii html entity for colon ":" and it
didnt work, it just used the characters as part of the attribute name and
didn't convert it into colon : .
I will add a rfe in the jira
Anymore suggestions...
Thanks
Ashley
igor.vaynberg wrote:
>
> have you tried encoding the column's : char into &whatever; ? if that
> doesnt work then add an rfe into our jira
>
> -igor
>
>
> On Dec 13, 2007 3:22 PM, AshleyAbraham <ab...@gmail.com> wrote:
>>
>> I am trying to use wicket:message inside a tag in the following format
>> wicket:message="attribute:resource_identifier"
>>
>> My question is the attribute which I am using is a custom attribute
>> "ric:title" (without quotes) and it also has a colon in it. How can I
>> tell
>> wicket to ignore the colon in the attribute name...?
>>
>> Currently, I have <div wicket:message="ric:title:page.title" />, the
>> problem
>> is wicket takes the first colon which is part of my attribute name and
>> takes
>> the rest as the resource property name and looks for it in the property
>> file
>> and then throws an error.
>>
>> So, how can I tell wicket to ignore or somehow escape the colon in the
>> attribute name...and still process it?
>>
>> I tried using slash in front of it and it didn't work...any suggestions,
>> please help.
>>
>> Thanks
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Question-about-wicket%3Amessage-tp14326982p14326982.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://www.nabble.com/Question-about-wicket%3Amessage-tp14326982p14339686.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Question about wicket:message
Posted by AshleyAbraham <ab...@gmail.com>.
Igor,
Thanks for your reply!
as you suggested I tried the ascii html entity for colon ":" and it
didnt work, it just used the characters as part of the attribute name and
didn't convert it into colon : .
I will add a rfe in the jira
Anymore suggestions...
Thanks
Ashley
igor.vaynberg wrote:
>
> have you tried encoding the column's : char into &whatever; ? if that
> doesnt work then add an rfe into our jira
>
> -igor
>
>
> On Dec 13, 2007 3:22 PM, AshleyAbraham <ab...@gmail.com> wrote:
>>
>> I am trying to use wicket:message inside a tag in the following format
>> wicket:message="attribute:resource_identifier"
>>
>> My question is the attribute which I am using is a custom attribute
>> "ric:title" (without quotes) and it also has a colon in it. How can I
>> tell
>> wicket to ignore the colon in the attribute name...?
>>
>> Currently, I have <div wicket:message="ric:title:page.title" />, the
>> problem
>> is wicket takes the first colon which is part of my attribute name and
>> takes
>> the rest as the resource property name and looks for it in the property
>> file
>> and then throws an error.
>>
>> So, how can I tell wicket to ignore or somehow escape the colon in the
>> attribute name...and still process it?
>>
>> I tried using slash in front of it and it didn't work...any suggestions,
>> please help.
>>
>> Thanks
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Question-about-wicket%3Amessage-tp14326982p14326982.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://www.nabble.com/Question-about-wicket%3Amessage-tp14326982p14339686.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Question about wicket:message
Posted by Igor Vaynberg <ig...@gmail.com>.
have you tried encoding the column's : char into &whatever; ? if that
doesnt work then add an rfe into our jira
-igor
On Dec 13, 2007 3:22 PM, AshleyAbraham <ab...@gmail.com> wrote:
>
> I am trying to use wicket:message inside a tag in the following format
> wicket:message="attribute:resource_identifier"
>
> My question is the attribute which I am using is a custom attribute
> "ric:title" (without quotes) and it also has a colon in it. How can I tell
> wicket to ignore the colon in the attribute name...?
>
> Currently, I have <div wicket:message="ric:title:page.title" />, the problem
> is wicket takes the first colon which is part of my attribute name and takes
> the rest as the resource property name and looks for it in the property file
> and then throws an error.
>
> So, how can I tell wicket to ignore or somehow escape the colon in the
> attribute name...and still process it?
>
> I tried using slash in front of it and it didn't work...any suggestions,
> please help.
>
> Thanks
>
> --
> View this message in context: http://www.nabble.com/Question-about-wicket%3Amessage-tp14326982p14326982.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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