Re: Q : Could not find a coercion from type java.lang.String to type java.util.Date

2009-03-15 Thread dwi ardi irawan
It works, Thnx you -- http://www.dwiardiirawan.com "cos everyone could be extraordinary...lighten up !"

Re: Q : Could not find a coercion from type java.lang.String to type java.util.Date

2009-03-15 Thread Fernando Padilla
Though I agree that String<->Date by default is a no-go. I think tapestry could have a Long<->Date coercion. :) Howard Lewis Ship wrote: Converting between strings and dates is too finicky for Tapestry to handle automatically (without screwing it up for some people). Instead of including the

Re: Q : Could not find a coercion from type java.lang.String to type java.util.Date

2009-03-15 Thread Howard Lewis Ship
Converting between strings and dates is too finicky for Tapestry to handle automatically (without screwing it up for some people). Instead of including the Dates as event context values,, try converting them to long values (seconds since "the epoch") and then convert them back to usable Dates insi

Q : Could not find a coercion from type java.lang.String to type java.util.Date

2009-03-15 Thread dwi ardi irawan
hi, could anyone help me here's my code @Persist("flash") @Property private Date twawal, twakhir; . public Link getDailyChart(){ System.out.println(twawal); // OK System.out.println(twakhir); // OK return _resources.createEventLink("chart", new Object[]{"400"