in markup:

<t:output format="testFormat" value="${currentDate}"/>

in page class:

    private Format testFormat = DateFormat.getInstance();

    private Date currentDate = new Date();

    public Format getTestFormat() {
        return testFormat;
    }

    public Date getCurrentDate() {
        return currentDate;
    }

result:

org.apache.tapestry.internal.services.RenderQueueException
Render queue error in BeginRender[test/Page:output]: Cannot format given
Object as a Date

Can you, please, tell me if this is a bug, or it's me doing something wrong
? Maybe there is a workaround ?
-- 
View this message in context: 
http://www.nabble.com/T5.0.11-t%3Aoutput-doesn%27t-work-for-DateFormat-tp17760525p17760525.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to