[jboss-user] [JBoss Portal] - Re: Show/hide widgets programmatically

Leo K do-not-reply at jboss.com
Thu Sep 23 16:18:02 EDT 2010


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&containerType=14&container=2011]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100923/cc82bb98/attachment.html 


More information about the jboss-user mailing list