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

Change the image in an Image control in a portlet

  • 1.  Change the image in an Image control in a portlet

    Posted Fri November 05, 2010 03:38 AM

    Hi,
    How can I change the URL of an image control in a portlet and show the image.
    I’m trying to get a digitalized document according with the user typed in an InputText, with a button I’m going to get the URL string of the image file from a DataBase, but don’t know how to set that URL to the Image control and show that image.

    Thank’s in advance.


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


  • 2.  RE: Change the image in an Image control in a portlet

    Posted Fri November 05, 2010 10:27 AM

    Hi Mauro,
    pretty simple… bind the URL property to a variable in your portlet. Then, whenever you change the value of that variable, refresh (via Async Hidden Command or using the javascript APIs) the image.

    best regards,
    Javier


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


  • 3.  RE: Change the image in an Image control in a portlet

    Posted Fri November 05, 2010 09:07 PM

    Thank’s a lot Javier

    I’m starting in this tool so don’t know if there is an example in the documentation that i haven’t found or in another place to search.

    Regards,
    Mauro.


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