2010/3/18 Jeremy Thomerson <jer...@wickettraining.com>:
> Wicket is "just java, just html".  Just add the JS to your HTML file.  Don't
> add an AjaxEventBehavior in java - because you don't want Ajax, and you
> don't need to do it in the java.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>

Thanks...
I did that in that way:

                WebMarkupContainer container = new 
WebMarkupContainer("container"){
                        @Override
                        protected void onComponentTag(ComponentTag tag) {
                                super.onComponentTag(tag);
                                
                                // prototype'owo hide and show
                                tag.put("onmouseover", "$('"+ 
buttons.getMarkupId() +"').show()");
                                tag.put("onmouseout", "$('"+ 
buttons.getMarkupId() +"').hide()");
                        }                       
                };

-- 
Greetings,
marioosh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to