The output of onPassivate becomes the input of onActivate. It goes out to the 
URL and in from the URL. They should match.

http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/onactivateandonpassivate/3

Cheers,

Geoff

On 21/05/2013, at 4:04 AM, Ken in Nashua wrote:

> I tried the context specified below but clazz during activation always comes 
> in as null.
> 
> is this a tapestry bug ?    
> 
> @OnEvent(EventConstants.ACTIVATE)
>    Object onActivate(Class clazz) {
>        if (clazz == null)
>            return Utils.new404(messages);
>        this.beanType = clazz;
>        return null;
>    }
> 
>    @OnEvent(EventConstants.PASSIVATE)
>    Object[] passivate() {
>        return new Object[] { team, team.getId(), this };
>    }                                    


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to