Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-23 Thread ZedroS Schwart
I'm using the 1.3.0 (after asking the mailing list and updating the wiki !). I'll give the 1.3.0 jar another try tonight to see if the behavior persists. Cheers ZedroS (aka Joseph) On 4/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > are you sure you are using 1.3.0-incubating and not the 1.3-

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-20 Thread Igor Vaynberg
are you sure you are using 1.3.0-incubating and not the 1.3-incubating? -igor On 4/20/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Hi I finally found how to solve this issue : the wicket jar from http://wicketstuff.org/maven/repository/org/apache/wicket/ seems to be broken. Indeed, when I

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-20 Thread ZedroS Schwart
Hi I finally found how to solve this issue : the wicket jar from http://wicketstuff.org/maven/repository/org/apache/wicket/ seems to be broken. Indeed, when I download the source jar, unzip it and add it to my project (with a few extra jar and minus the wicket one, as well as a source path) it wo

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-19 Thread Igor Vaynberg
well, i dont know what to tell you i dropped this into quickstart FeedbackPanel fp = new FeedbackPanel("fp"); fp.setEscapeModelStrings(false); add(fp); fp.info("hello there"); and it did not escape the tags, so it appears to be working correctly -igor On 4/19/07,

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-19 Thread ZedroS Schwart
I agree but when I try not to escape it I don't manage... For memory, the code is the following : public class LabelIssueDemoPage extends BasePage { public LabelIssueDemoPage(){ super(); FeedbackPanel feedback = new FeedbackPanel("feedback"); fee

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-19 Thread Igor Vaynberg
wicket:message messages come from property files, you control completely. messages in feedbackpanel can include user-entered text, so it is the safest to escape by default. -igor On 4/19/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Hi igor I've advanced on this issue. I'm putting my messag

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-19 Thread ZedroS Schwart
Hi igor I've advanced on this issue. I'm putting my message to be escaped in a feedbackpanel, which apparently escapes html by default. When searching for a solution, I found this : http://www.nabble.com/-Wicket-user--how-to-unescape-markup-of-the-feedbackpanel%27s-model-tf3198807.html#a8881144

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-12 Thread Igor Vaynberg
strange. when i look at the code i see WicketMessageResolver:93 creates an instance of MyLabel to show the text WicketMessageResolver$MyLabel:131: calls setEscapeModelStrings(false) on the label so from the glance it should work. is that what your wicketmessageresolver looks like as well? -igo

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-12 Thread ZedroS
Hi igor I've moved to wicket 1.3 and I still have my visible in my html page instead of being a line break... Do I miss something ? I'm starting to wonder if something is wrong in my 1.3 snapshot ! ++ ZedroS igor.vaynberg wrote: > > ah, 1.2.5. i was talking about 1.3. i dont know if we sup

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-05 Thread Igor Vaynberg
ah, 1.2.5. i was talking about 1.3. i dont know if we support this in 1.2.5 -igor On 4/5/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Hum, I'm quite surprised since I've inserted some html (mainly ) code in my properties files and it weren't rendered properly... I just had some appearing in

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-05 Thread ZedroS Schwart
Hum, I'm quite surprised since I've inserted some html (mainly ) code in my properties files and it weren't rendered properly... I just had some appearing in my page (using wicket 1.2.5). What do I do wrong ? Thanks in advance ZedroS On 4/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > it is

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-05 Thread Igor Vaynberg
it is deactivated by default On 4/5/07, ZedroS <[EMAIL PROTECTED]> wrote: Hi Regarind the html escaping in message tag, can we now desactivate it ? If so, could you tell me how please ? Thanks in advance ZedroS igor.vaynberg wrote: > > done in branches-1.x and trunk > > -igor > > > On 1/19

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-05 Thread ZedroS
Hi Regarind the html escaping in message tag, can we now desactivate it ? If so, could you tell me how please ? Thanks in advance ZedroS igor.vaynberg wrote: > > done in branches-1.x and trunk > > -igor > > > On 1/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> >> Ok, I guess just no

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
done in branches-1.x and trunk -igor On 1/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Ok, I guess just not escaping would be fine is most if not all cases. Eelco On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i dont know if we need yet another setting/attribute > > lets go the

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Eelco Hillenius
Ok, I guess just not escaping would be fine is most if not all cases. Eelco On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i dont know if we need yet another setting/attribute > > lets go the simple route and have them always not escaped first, then if > someone wants it thats fine. do we

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
i dont know if we need yet another setting/attribute lets go the simple route and have them always not escaped first, then if someone wants it thats fine. do we need to have a vote on this? -1 on a setting for sure, if i design a component to work in one setting and you drop it into a project th

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Eelco Hillenius
Yeah. It would probably be a better default. It would be best if you could at least override this default with an attribute on the wicket:message tag, and maybe as a global setting as well. What about wicket:message attributes though (actually, I didn't know they were working yet): those should pro

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
i guess maybe we should allow markup in wicket:message since it comes from .property files so no security threat. what do others think? -igor On 1/19/07, Peter Thomas <[EMAIL PROTECTED]> wrote: Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be "globally" set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: if you want to upgrade

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas <[EMAIL PROTECTED]> wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through "getResourceSettings().addStringResourceLoader" Thanks, Peter. On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: what ver

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
what version of wicket are you using? -igor On 1/19/07, Peter Thomas <[EMAIL PROTECTED]> wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hel

[Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=HelloWorld! But now when using wicket appears to be html escaping the value of the localized string re