myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Schneider (JIRA)" <>
Subject [jira] Created: (MYFACES-998) default values for convertNumber and convertDateTime
Date Tue, 03 Jan 2006 21:48:01 GMT
default values for convertNumber and convertDateTime

         Key: MYFACES-998
     Project: MyFaces
        Type: New Feature
  Components: Tomahawk  
    Reporter: Bill Schneider

Would like to be able to do something like this:

<h:outputText value="#{bean.dateField}">
  <t:convertDateTime pattern="yyyy-MM-dd" default="not provided"/>

or alternately, <h:outputText value="#{bean.anyField}" default="(print this if value is

same for numbers.

It would seem cleaner to keep this in the view/JSP layer rather than pushing default-if-null
logic into the controller/bean.  

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message