I could change Form to pass along a boolean indicating whether it was
for render or for submit. Please add an issue to JIRA.
On 6/22/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
Hi.
Does anyone see a way to differentiate these prepare events?
I'm using an ugly hack because I can't find another way.
boolean rendering;
void setupRender()
{
rendering = true;
}
public void onPrepareFromHistoryItemForm(int index)
{
if (rendering)
{
...
}
}
Cheers,
Nick.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]