thanks my bad...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/datefiled-and-null-value-2-tp5716109p5716129.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-ma
It's "expense*?*.date" *not* "expense.date*?*"
DateField already handles formatting null values
// org.apache.tapestry5.corelib.components.DateField.formatCurrentValue()
private String formatCurrentValue()
> {
> if (value == null)
> return "";
> return format.format(value);
> }
Hi Muhammad, thanks for quick ans but I try it before but I got the next
exp...
Exception assembling root component of page expenses/Expenses: Could not
convert 'expense.date?' into a component parameter binding: Error parsing
property expression 'expense.date?': Unable to parse input at characte
Check this page: http://tapestry.apache.org/property-expressions.html
Search for: Property Chain
On Fri, Sep 7, 2012 at 1:15 AM, arterzatij wrote:
> Hi all,
>
>There is a way to display an empty datefiled avoiding the NPE, I have
> the
> next code on my tml file
>
>
>
>
> but if the dat