Hi Marcus,
Example: both Home.html and Other.html has a link to Member, when the link
is clicked, Member.class' onActivate will be called, if I return null, it
displays Member.html, but I'd like to display Home or Other if there is
validation error, possible?
If not possible, is there a way to pass the name of calling class to Member?
the link is like this:
<t:loop source="bulletin" value="RowBltn">
< a t:type="pagelink" page="Member" context="rowBltn.id">${RowBltn.name}</
a>
</t:loop>
Marcus Schmidke-2 wrote:
>
> Just return null.
>
> On 9/19/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>>
>> Hi Josh,
>>
>> Thanks, it works, a related question, how to redirect the page to the one
>> calling? sometimes we don't know which one is "calling page", so we can't
>> use page class/name to redirect, any idea? Thanks.
>> A.C.
>>
>>
>
--
View this message in context:
http://www.nabble.com/T5%3A-redirecting-page-under-onActivate-tf4479292.html#a12774165
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]