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.  Dsp page

    Posted Thu October 12, 2017 10:14 AM

    Hi All,

    I have a dsp page in which i am calling a service to populate one drop down and
    after selecting value from the 1st drop-down i want to pass the value to the 2nd and 3rd drop-down which is internally invoking some service.

    please help as i am unable to do so and also let me know if i am following a correct coding standard.

    —script START–

    —script END—

    —HTML START—

    PackageList ServicesList TriggerList
    	%invoke Revue.services:getPackages%
    <select id ='packageName' name='package' onChange='onPackageNameChange()'>
    %loop packages%
    
    %ifvar name matches('Wm*')%
    %else%
    <option id='%value name%' name='%value name%'>%value name%</option>
    %end%
    
    %endloop%	
    %end invoke%
    
    </td>
    
    <td><!-- <input type="hidden" name="package" id="packages" /> --></td>
    
    <!-- services list -->
    %invoke Revue.services:getServices%
    <select id ='ServiceName' name='ServiceName' >
    %loop services%
    <option id='%value services%' name='%value services%'>%value services%</option>
    %endloop%
    %end invoke%
    
    <!-- Triggers list -->
    %invoke Revue.services:getTriggers%
    <select id ='TriggerName' name='TriggerName' >
    %loop trigger%
    <option id='%value trigger%' name='%value trigger%'>%value trigger%</option>
    %endloop%
    %end invoke%
    
    ------------HTML END-----

    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Dsp page

    Posted Wed October 18, 2017 05:41 PM

    I don’t think you can refresh the content of the DSP page after the selection.

    you may need to create another DSP, so you will call it after the selection and refreshed the whole page with the 2nd and 3rd dropdowns.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB