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

Conditional display of controls in task

  • 1.  Conditional display of controls in task

    Posted Sun August 19, 2007 05:35 AM

    Hi,

    I am using Fabric 7.

    I want to display certain text boxes depending on the value of a certain variable.

    There are Logic-If , Else controls which allow us to display the display the children if the value of a certain variable is “True” or “false”. How can i check for any other value, for example i want to display certain part of the UI only if the value of a variable is “No”.

    Please help

    Regards
    Rita


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


  • 2.  RE: Conditional display of controls in task

    Posted Mon August 20, 2007 09:32 AM

    To achieve this you still use If-Else controls or Rendered property of any other standalone control, if latter is set to false then given control is not rendered to HTML page

    You need to express boolean using binding expression. For example:

    #{YourPageBean.yourTask.taskData.yourObject.yourProperty != “testValue”}

    There are plenty resources on the Web about syntax for JSF binding expressions, for example:

    http://developers.sun.com/docs/jscreator/help/2update1/jsp-jsfel/jsf_expression_language_intro.html#syntax


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


  • 3.  RE: Conditional display of controls in task

    Posted Tue August 21, 2007 03:43 AM