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.  Portlet Include woes

    Posted Tue July 16, 2013 02:23 PM

    Hi all

    Including a portlet seems quite hard to get right. For example: I have a portlet that works perfectly, with a button that calls a web service as the very first thing it does.

    When I Portlet Include that into another portlet, the button now does nothing. It’s included from another portlet in the same project, so the ws- properties are all the same.

    Any ideas? Any other pitfalls to watch out for and other tips when including portlets?

    Thanks!


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


  • 2.  RE: Portlet Include woes

    Posted Tue July 16, 2013 02:30 PM

    That sounds like a classic case of nested tags in the rendered html.

    Nested forms are not allowed in html, so if the included portlet renders an html form, make sure the parent portlet does not include that portlet inside of another form.

    To prevent nested forms, either move the ‘portlet include’ control outside of any other form controls, or change the outer form control in your parent portlet to use a ‘Disjoint Form’ control instead of a ‘Form’ control.


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


  • 3.  RE: Portlet Include woes

    Posted Wed July 17, 2013 04:28 AM

    Oh thank goodness! Yes, that was it.

    Sorry for such a rookie problem; my only defence is due to visa and other woes, I haven’t done much webMethods in anger in 5 months.

    Cheers :slight_smile:


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