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.  client side id

    Posted Tue February 05, 2013 11:59 AM

    Hi,

    how can I obtain the client side id of a control that’s inside another (included) portlet?

    thanks
    Bruno


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


  • 2.  RE: client side id

    Posted Tue February 05, 2013 12:51 PM

    Please see the “External Portlet References” section of the CAF Development Help.

    This information is available in the Designer help or online @ http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/Designer/8-2-SP1_CAF_Development_Help.pdf


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


  • 3.  RE: client side id

    Posted Tue February 05, 2013 02:29 PM

    Nice :slight_smile:

    I would like to avoid to go to MWS and define manually the alias.
    How can I add an alias to the portlet while in designer so that it goes included in the project?

    thanks
    Bruno


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


  • 4.  RE: client side id

    Posted Tue February 05, 2013 02:50 PM

    How are you creating the page that contains the portlets? Are you using an xmlImport.xml file that is included in your application?

    If so, you can set the alias in there via the ‘alias’ attribute of the portlet element. For example:

    <CONFIG>
    <CONTEXT alias="folder.public">
    <folder name="MyPage">
    <page>
    <row attributes="top,one">
    <column attributes="thin,left,one"
    width="100%">
    <mycustomapp___SearchBar
    name="SearchBar" alias="my.custom.searchbar" />
    
    <mycustomapp___SearchResult
    name="SearchResult">
    <wiring name="queryString"
    portlet="my.custom.searchbar" property="lastSearchState" />
    </mycustomapp___SearchResult>
    </column>
    </row>
    </page>
    </folder>
    </CONTEXT>
    </CONFIG>

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