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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  run an action !

    Posted 11/06/02 11:08 AM

    X-Application Version: 3.1.3
    Tamino Version : 3.1.1
    Platform : Win2k
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1
    HI
    Is there a way to run a tag when a special event happens?for example have a query on tamino when we choos an item from a combobox

    LOVE


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: run an action !

    Posted 11/06/02 03:56 PM

    Jsp tags are evaluated on the server when the page is requested. The jsp source is compiled into a servlet and this is executed. The output is sent to the client browser. So if an event now happens on the browser (like selection from a list) it’s too late to start resolving or executing jsp tags.

    So there are a few different ways you can address this:

    1) You could script your query using the Tamino JScript API, and trigger the script using the “onChange()” event on the selected control. This all happens client-side, so it doesn’t allow you to use the xapp jsp tags.

    2) You could completely resubmit your form using a similar script, to make the browser reload the page. This in turn would cause all the jsp tags to be re-evaluated. You could pass the user-selected value in a hidden form field, and use that field to control this second evaluation.

    HTH


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: run an action !

    Posted 11/19/02 07:51 AM

    I developed an application with X-application and I want to have the following functionality :
    I have a list box that shows some ids and when I select an item from this list I want that the information about this selected id are displayed in the form below this list in this page :
    my list ===> ,

    id
    name
    pass
    ,

    Is there any available application to implement such case ?

    LOVE


    #API-Management
    #webMethods
    #Tamino


  • 4.  RE: run an action !

    Posted 11/19/02 09:28 AM

    Hello,

    I don’t have an example for you. I can just give a scetch for two possible solutions:

    A) The selection works on client side. Then, you have to create a JSP that creates a Javascript record which contains all information. The select event could use the record to fill the content of the HTML page. A request to the server would not be necessary.

    B) You could work with two frames. Within the first, the selection sents a form (request) to the server for getting the selected document. The content of the requested document is displayed within the second frame.

    Bye,
    Christian.


    #API-Management
    #Tamino
    #webMethods