webMethods

webMethods

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.  HashMap in Portlet

    Posted Wed January 05, 2011 10:25 AM

    Hi all,

    Can anyone suggest me how to display a hashMap in a portlet page?

    Do we need to create a hashmap in the bindings view along with the corresponding keys?

    Thanks
    tmv


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


  • 2.  RE: HashMap in Portlet

    Posted Wed January 05, 2011 06:54 PM

    It depends on how you want to display the data. If you want to display them in a dropdown list (or any other control that takes a series of options) I’d recommend looking at the Core Controls Sample (http://communities.softwareag.com/ecosystem/communities/public/Developer/webmethods/tutorials/CAF/CAF_Samples_for_webMethods_7.1.1/MywebM_Samples_index.html). There is a view dedicated to different uses of the drop down control including an example that binds a map to an option group.

    If you know the keys in advance, then you can manually add a key to the map (in the bindings view) and drop the ‘key’ onto the canvas. That will result in a binding expression that will display the current value of the key as well.

    Regards,
    –mark


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


  • 3.  RE: HashMap in Portlet

    Posted Thu January 06, 2011 05:18 AM

    Mimel! Thank You…That was a very useful reply


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