On Wed, 15 Feb 2012 20:43:42 -0200, zeewolf <[email protected]> wrote:

Yep, the project at work is Tapestry 4 based. I've only worked with Wicket and JSPs in the past, so I'm still getting my head around Tapestry.

Ah, ok. :) Tapestry, specially version 4, has many similarities with Wicket.

It should be easy enough to do this, I'm just unsure of how to go about it,
the old school approach would be to use a JSP scriptlet to create a date
object and assign the millisec result to a javascript int and the rest would be a piece of cake.

Scriptlets suck. Code should be in Java classes than just get the value from the page or component class and write it to HTML using @Insert (http://tapestry.apache.org/tapestry4.1/components/Insert.html).

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to