struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <>
Subject [jira] Updated: (WW-3322) Option to handle NULL values with <s:text> tag
Date Mon, 09 Nov 2009 23:27:13 GMT


Musachy Barroso updated WW-3322:

    Fix Version/s: 2.2.0

now I just remember, there was a ticket related to this, to print the key passed if a translation
was not found, which could have caused this problem

> Option to handle NULL values with <s:text> tag
> ----------------------------------------------
>                 Key: WW-3322
>                 URL:
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: Burton Rhodes
>            Priority: Minor
>             Fix For: 2.2.0
> <s:text> tag currently diaplays "null" if passed a NULL parameter value.  Would
be better to display an empty string (or allow user to specify a "default" value  as the <property>
tag allows).  The following code will print "null" in the UI if "itemPrice" is null.
> jsp file:
> <s:text name=""><s:param value="#itemPrice"/></s:text>
> file:
> = {0,number,\u00A4###,##0}

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message