I suspected you meant this. You'll have to persist the "caller" somehow.
If you're using a base page class you could store it in an ASO there.

Cheers,
Nick.


Angelo Chen wrote:
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.




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

Reply via email to