on 6/28/01 6:46 AM, "Scott Eade" <[EMAIL PROTECTED]> wrote:

> I have worked up an interim solution whereby I add a pair of
> wrapper methods around the date in the peer class thus:

How about improving this class to do what you need:

jakarta-turbine/src/java/org/apache/turbine/util/DateSelector.java

That way, all you need to do is make it available in the Context as a
PullTool and it will generate all the HTML (and Intake stuff) for what you
need.

Or, if you don't like that, write a VelocityMacro that does essentially the
same thing...

thanks,

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


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

Reply via email to