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.  mixing scriptlets and jsp tags

    Posted Fri August 16, 2002 03:41 PM

    X-Application Version: 3.1.2, 3.1.1
    Tamino Version : 3.1.1
    Platform : Win2k
    WebContainer : Tomcat 3.3.1
    JDK Version : 1.3.1

    Hello,
    How can we use the variable in scriptlets inside xapplication jsp tags.

    for example i want to use a variable inside an “if” tag like

    <bdm:if condition=“notequal” select=(my scriptlet variable) value=“5”)

    I tried this but it didn’t work
    <bdm:if condition=“notequal” select=“<% out.print(iCount); %>” value=“5”)

    if the above condition is false i will hide the “ADD” button.

    Are there any ways to do like this?
    can we mix up javascript or java with jsp tags?if possible how?


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: mixing scriptlets and jsp tags

    Posted Fri August 16, 2002 04:10 PM

    Hello,

    as I know, it is not possible to set the attribute value of a JSP tag dynamically. My propose: Why not using a normal scriptlet if expression?

    <BR><% <BR>  if (iCount!=5) {<BR>%><BR><BR>  ... Add HTML and JSP tags - they are evaluated only if iCount != 5.<BR><BR><%<BR>  }<BR>%><BR>



    Bye,
    Christian.


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: mixing scriptlets and jsp tags

    Posted Tue August 20, 2002 04:49 AM

    yeah its working fine.Thanks.

    If we are working with multiple schemas and if the apllication uses jsp pages with data from instances of multiple schemas is it better to do it thru xapplication or should we use Tamino API for java.

    Any suggestions…

    regards
    jag


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: mixing scriptlets and jsp tags

    Posted Tue August 20, 2002 09:05 AM

    Hello,

    I would use X-Application tags before using Scriptlets. If there is a special functionality not supported by the existing tags, I would try to write a plugin. For implementing the plugin I would program against the X-Application Java API.

    X-Application can work with multiple schema. I have written a proposal how to implement the pages. I posted it to your request

    Querying Multiple Schemas

    If I have time enough I could provide an example for the next week. But, I can not promise it.

    Bye,
    Christian.


    #Tamino
    #webMethods
    #API-Management