Yes, and then it is important that you implement onPassivate(Long id)
{ ... } in the EditPage

2007/10/30, Nick Westgate <[EMAIL PROTECTED]>:
> The subject for this thread was wrong.
>
> @Inject EditPage editPage;
>
> Object onActionFromEdit(Long id)
>      {
>         editPage.setId(id);
>         return editPage;
>      }
>
> Cheers,
> Nick.
>
>
> Angelo Chen wrote:
> > Hi,
> >
> > I redirect to another page in my ActionLink using following code:
> > Class onActionFromEdit(Long id)
> >     {
> >        return EditPage.class;
> >     }
> >
> > this works, now I'd like to pass the id as well to the EditPage so that its
> > OnActivate(Long id) will be called, how to do this? thanks.
> > A.C.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
/ted

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

Reply via email to