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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

expression binding - string concatenation

  • 1.  expression binding - string concatenation

    Posted Mon April 28, 2008 04:35 PM

    Hi,

    I was wondering if a can do a concatenation between to string inside a expression binding.

    Ex. #{User.firstName} + “


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


  • 2.  RE: expression binding - string concatenation

    Posted Mon April 28, 2008 05:03 PM

    Yes you can:

    #{user.firstName + " " + user.lastName}

    Please look for JSF binding expression language reference. For example:

    http://developers.sun.com/docs/jscreator/help/jsp-jsfel/jsf_expression_language_intro.html

    Alex


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


  • 3.  RE: expression binding - string concatenation

    Posted Thu May 01, 2008 06:48 AM

    Hi,

    It didn’t work with the plus sign. So I write the following in the data Binding value and worked perfectly.

    #{User.firstName} #{User.lastName}


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