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
  • 1.  My portlet does nothing - Exercise Accordion Controls(version9.8)

    Posted Tue May 19, 2015 04:33 PM

    Hello guys,

    I have to make one exercise that content one accordion of controls hideables. For this I´m use the controls “One Way Toggle Link”, “Hideable Panel” and “Script Block” whit the next properties:

    One Way Toggle Link : “Property FOR” - ContentOne and “Property ID” - For Identification of control

    Hideable Panel: “Property ID” - Content-One (Note: In this part the property “ID” is the same at control "One way toggle link - Property FOR ")

    Script Block: “Property Value” - The next Java Script Code

    Event.observe($(‘#{activePageBean.clientIds[‘toggle-one’]}’), “click”, function() {
    CAF.model(‘#{activePageBean.clientIds[‘content-two’]}’).hide();
    CAF.model(‘#{activePageBean.clientIds[‘content-three’]}’).hide();
    });

    Note: I am currently using version9.8
    I have three One Way Toggle Link, three Hideable’s Panel and one Script Block.

    ***But After doing all this my portlet does nothing. This is the page where you guide me

    http://communities.softwareag.com/ecosystem/commun...rdion_Description.html#1099960

    Can you help me please ASAP.


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


  • 2.  RE: My portlet does nothing - Exercise Accordion Controls(version9.8)

    Posted Tue May 19, 2015 05:35 PM

    Hello Chaudhary,

    Please try the below script code on property Value in script block"

    Event.observe($(‘#{activePageBean.clientIds[‘toggle-one’]}’), “click”, function() {
    CAF.model(‘#{activePageBean.clientIds[‘content-two’]}’).hide();
    CAF.model(‘#{activePageBean.clientIds[‘content-three’]}’).hide();

    });

    Event.observe($(‘#{activePageBean.clientIds[‘toggle-two’]}’), “click”, function() {
    CAF.model(‘#{activePageBean.clientIds[‘content-one’]}’).hide();
    CAF.model(‘#{activePageBean.clientIds[‘content-three’]}’).hide();
    });

    Event.observe($(‘#{activePageBean.clientIds[‘toggle-three’]}’), “click”, function() {
    CAF.model(‘#{activePageBean.clientIds[‘content-two’]}’).hide();
    CAF.model(‘#{activePageBean.clientIds[‘content-one’]}’).hide();
    });

    Thanks & Regards,
    Prem Sai.


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


  • 3.  RE: My portlet does nothing - Exercise Accordion Controls(version9.8)

    Posted Tue May 19, 2015 06:14 PM

    Hello Prem,
    Already i have used this script value but its not working.
    otherway to resolved this issue? ASAP

    thanks for reply


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


  • 4.  RE: My portlet does nothing - Exercise Accordion Controls(version9.8)

    Posted Tue May 19, 2015 06:31 PM

    Hello Chaudhary,

    Please give the correct values for one way toggle link and hideable panel control in your portlet.
    one way toggle link : Id-toggle-one,for -content-one, value - sample1
    Id-toggle-two,for -content-two, value - sample2
    Id-toggle-three,for -content-three value - sample3

    hideable panel : Id-content-one, label -sample1Details
    Id-content-two, label -sample2Details
    Id-content-three, label -sample3Details

    Thanks,
    Prem Sai


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


  • 5.  RE: My portlet does nothing - Exercise Accordion Controls(version9.8)

    Posted Tue May 19, 2015 06:55 PM

    Hello Prem,
    I have used these values for panels but not working yet.
    Anyway?

    Thanks for reply


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