Hello Carl-Eric,

It's working now. Thank you so much for your kind reply.
--------------------
Not working code is :
--------------------
Label msgLabel = new Label("msg", messageModel);                
add(msgLabel);

----------------
Working Code is:
----------------
Label msgLabel = new Label("msg", messageModel);          
msgLabel.setEscapeModelStrings(false);                 // Newly added Line      
add(msgLabel);

Regards,
Edi


Carl-Eric Menzel-4 wrote:
> 
> I think (didn't test it) that should work when you call
> setEscapeModelStrings(false) on the label.
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] on behalf of Edi
> Sent: Wed 6/13/2007 14:43
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] How to create Dynamic Label?
> 
> 
> 
> 
> Initially I have assigned one text in textbox like <applet></applet>
> But I have checked in view page source html, it looks like &lt;applet&gt;
> &lt;/applet&gt;
> 
> I need to display <applet></applet>.
> 
> Please explain.
> 
> 
> Carl-Eric Menzel-4 wrote:
>>
>> Simply give them both the same Model instance. To have it updated while
>> typing, give the textfield an ajax updating behavior and repaint the
>> label.
>> 
>> Carl-Eric
>>
>> ________________________________
>>
>> From: [EMAIL PROTECTED] on behalf of Edi
>> Sent: Wed 6/13/2007 09:05
>> To: wicket-user@lists.sourceforge.net
>> Subject: [Wicket-user] How to create Dynamic Label?
>>
>>
>>
>>
>> Hello Experts,
>>
>> I have one Label, and Text Box. If I enter any text in textbox, then it
>> should be displayed in Label. How?
>>
>> Please explain. (I am newbie.)
>>
>> Thanking You.
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
> 
> --
> View this message in context:
> http://www.nabble.com/How-to-create-Dynamic-Label--tf3912921.html#a11098554
> Sent from the Wicket - User mailing list archive at Nabble.com.
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-Dynamic-Label--tf3912921.html#a11114100
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to