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

a..Z Text - Raw property

  • 1.  a..Z Text - Raw property

    Posted Mon December 05, 2011 03:59 AM

    Hi,
    I’ve a problem getting the value through CAF.model().getValue() method for a…Z Text control when the raw property is set to ‘true’.
    The same doesnt happen when i set the property to ‘false’.

    Can some one throw light on what is the significance of this property ?

    Thanks,
    Sravan


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


  • 2.  RE: a..Z Text - Raw property

    Posted Tue December 06, 2011 11:42 AM

    Hi Sravan,

    This is expected. When the ‘raw’ property of the output text control is set to true, then there is no client side model available for that control. This was done for a performance optimization as it was discovered that with large pages that contain lots of output text controls on the page, the overhead of running all the javascript needed to prepare the client-side model had a large impact on the performance of the page loading (especially in Internet Explorer).

    Since the client-side model of output text controls was rarely used, we made the default value of the ‘raw’ property true since that was the most common usage pattern.

    If you need client-side script access to an output text control, the correct remedy is to set the raw property to ‘false’.

    Regards,
    Eric


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