IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Using javascript to show/hide elements of another portlet

  • 1.  Using javascript to show/hide elements of another portlet

    Posted Tue March 03, 2009 05:23 PM

    Hello All!

    Does anyone knows how to refer to elements that are part of another portlet using javascript?

    The thing is that I want to hide/show an element that belogs to another portlet…

    Thans a lot!
    Pedro Cardoso


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 2.  RE: Using javascript to show/hide elements of another portlet

    Posted Wed March 04, 2009 02:42 PM

    Hello again.

    I’ve found a way of doing it…

    In the portlet where the element you want to refer to exists, create a javascript block that registers a global hash where you register your element ID (afeter generation).

    In the other portlet, just read from the hash the element id and do what ever you like with it.

    Have fun!
    Pedro


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods