Igor Vaynberg <igor.vaynberg <at> gmail.com> writes:

> 
> 
> you can use the label component to inject any kind of markup you want.
> just be sure to call setRenderBodyOnly(true) on it so that it doesnt
> render its <span> tags.
> ie
> function check(x, y, z){
>    ......   alert(  '<span wicket:id="jsmessage"></span>'  );
>    ......
> }
> 
> and in java
> add(new Label("jsmessage", "my javascript message").setRenderBodyOnly(true));
> -Igor
> 
Hi Igor,

This is what I wanted to know. Thank you very much.

Regards,
James





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to