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

Text input - Auto Numeric Format

  • 1.  Text input - Auto Numeric Format

    Posted Fri February 20, 2015 10:42 AM

    Hi,

    Is it possible to format a value in text input automatically? For example: If i set 1000 on text input, shows 10.00 or input 123456 shows 1,234.56

    Thanks!


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


  • 2.  RE: Text input - Auto Numeric Format

    Posted Sat February 21, 2015 12:53 AM

    Hi,
    Here you can use converter to convert to numeric or integer according to your requirement.

    Thanks


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


  • 3.  RE: Text input - Auto Numeric Format

    Posted Sat February 21, 2015 05:33 AM

    It looks simple and we can achieve. You have to add the decimal point after the two decimal places from LSB. Did you try for a core java service or you can also implement using the BIS in WmPublic.

    Share what is your approach and solution to this.


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


  • 4.  RE: Text input - Auto Numeric Format

    Posted Mon February 23, 2015 08:05 AM

    @M@he$h,

    I’d like to know if CAF supports this, cause I need to do this in real time, not calling a service.

    @Baharul

    Could you please give me an example using converter?

    Thanks!


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


  • 5.  RE: Text input - Auto Numeric Format

    Posted Tue February 24, 2015 01:30 AM

    Hi,
    Please find one POC in attachment. Hopes this will help you.
    Here I have used decimal converter. I think Converter works only on server side. When we submit the page we can see the changed value of converter.

    Thanks

    converterExample.zip (13.5 KB)


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


  • 6.  RE: Text input - Auto Numeric Format

    Posted Tue February 24, 2015 08:39 AM

    Well, I can’t open this project. =S

    erro caf.png


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


  • 7.  RE: Text input - Auto Numeric Format

    Posted Tue February 24, 2015 11:40 AM

    Seems to be project is not imported correctly.

    Please import the project as…

    UI prospect->Project explorer->Import->existing CAF workspace ->select archive option and browse for the file.

    Which version of designer you are using. I have built this on version 9.7.
    Please let me know for any problem.

    Thanks


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


  • 8.  RE: Text input - Auto Numeric Format

    Posted Tue February 24, 2015 11:50 AM

    I tried on 8.0 and 9.5.1, got the same error.


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


  • 9.  RE: Text input - Auto Numeric Format

    Posted Wed February 25, 2015 05:30 AM

    Hi,
    I am able to import it again.
    Can you please flow the screen to make the design in your code level.

    Thanks


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


  • 10.  RE: Text input - Auto Numeric Format

    Posted Thu February 26, 2015 11:07 AM

    Thank you Baharul!!!
    Is there a manual that describes each component of converter?


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