Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

shong
2009-08-11 15:57:35

Hello
What's the java error message?

Can you show us your source file?

Best regards

          shong

Mani
2009-08-11 14:34:43

The above solutions leads to Java error.
Please let me know if any other ways to handle the special charecters.

Thanks and Regards,
Mani.

shong
2009-08-11 08:41:50

Hello guy
try

Code:

row1.T_amount.equals("\"\"")? "0" : row1.T_amount    //for ""

Code:

row1.T_amount.equals("\'\'")? "0" : row1.T_amount    //for ''

Code:

row1.T_amount.equals("\'")? "0" : row1.T_amount    //for '

Best regards

         shong

Mani
2009-08-10 16:33:45

Hi,

I have used a input field (String) and wants to validate the field
in Tmap component -  (Java project)

How to validate and replace the value 0 if null or “” or ‘’ or ‘ values comes for that particular field in input.

Please let me know your pointers and updates.

Using the below expression i can able to check the null condition alone but not the
“” or ‘’ or ‘ values in input

row1.T_amount  == null? "0" : row1.T_amount;

Thanks and regards,
Manikandan.R

Board footer

Powered by FluxBB