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-
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
23 matches
Mail list logo