I believe you can do this using decorating your FeedbackPanel with a behavior
(see IBehavior, AbstractBehavior).

Sri

mraible wrote:
> 
> 
> Yes it does - thanks!
> 
> FeedbackPanel feedback = (FeedbackPanel) backPage.get("feedback");
> feedback.setVisible(true);
> feedback.setEscapeModelStrings(true);
> 
> Is there anyway to make "escapeModelStrings" on by default?
> 
> Thanks,
> 
> Matt
> 
> 
> igor.vaynberg wrote:
>> 
>> does feedbackpanel.setescapemodelstrings(true) do it?
>> 
>> -igor
>> 
>> 
>> On Wed, Mar 12, 2008 at 10:34 AM, mraible <[EMAIL PROTECTED]> wrote:
>>>
>>>  &lt;span wicket:id="feedback" class="message"></span&gt;
>>>
>>>
>>>
>>>
>>>  igor.vaynberg wrote:
>>>  >
>>>  > what ever was after "I have the following in a page:" got
>>> stripped....
>>>  >
>>>  > -igor
>>>  >
>>>  >
>>>  > On Wed, Mar 12, 2008 at 9:56 AM, mraible <[EMAIL PROTECTED]>
>>> wrote:
>>>  >>
>>>  >>  I have the following in a page:
>>>  >>
>>>  >>
>>>  >>
>>>  >>  If the feedback message contains XML, it doesn't get escaped. Is
>>> there
>>>  >> any
>>>  >>  way to turn on HTML escaping?
>>>  >>
>>>  >>  Thanks,
>>>  >>
>>>  >>  Matt
>>>  >>  --
>>>  >>  View this message in context:
>>>  >>
>>> http://www.nabble.com/Is-it-possible-to-escape-HTML-in-a-feedback-message--tp16008403p16008403.html
>>>  >>  Sent from the Wicket - User mailing list archive at Nabble.com.
>>>  >>
>>>  >>
>>>  >> 
>>> ---------------------------------------------------------------------
>>>  >>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>  >>  For additional commands, e-mail: [EMAIL PROTECTED]
>>>  >>
>>>  >>
>>>  >
>>>  > ---------------------------------------------------------------------
>>>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>  > For additional commands, e-mail: [EMAIL PROTECTED]
>>>  >
>>>  >
>>>  >
>>>
>>>  --
>>>  View this message in context:
>>> http://www.nabble.com/Is-it-possible-to-escape-HTML-in-a-feedback-message--tp16008403p16009950.html
>>>
>>>
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>>  ---------------------------------------------------------------------
>>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Is-it-possible-to-escape-HTML-in-a-feedback-message--tp16008403p16012617.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Is-it-possible-to-escape-HTML-in-a-feedback-message--tp16008403p16033884.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to