Leo K [
http://community.jboss.org/people/shikida] created the discussion
"Re: Show/hide widgets programmatically"
To view the discussion, visit:
http://community.jboss.org/message/563424#563424
--------------------------------------------------------------
try
HtmlJQuery jq = (HtmlJQuery)application.createComponent(HtmlJQuery.COMPONENT_TYPE);
jq.setSelector("#widget1,#widget2");
jq.setId("hideme");
jq.setName("hide2");
jq.setTiming("onJScall");
jq.setQuery("hide()");
with
<h:graphicImage width="80" id="jap4"
value="someimage.png" onmouseover="hide2()" />
(or the equivalent generated code)
Best regards
Leo
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/563424#563424]
Start a new discussion in JBoss Portal at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]