RE: onActivate not being triggered

2014-11-02 Thread nhhockeyplayer nashua
I got the event handlers triggering now... not that I am comfortable with what thr runtime is doing under the hood I wanted to restate my issue During EDIT with this EDIT Page on OK or CANCEL my browser URL looks like http://localhost:8080/psi/metatag/1 but strangely what is on the browsers d

RE: onActivate not being triggered

2014-11-01 Thread nhhockeyplayer nashua
package org.tynamo.examples.psi.pages.edit; import org.apache.shiro.authz.annotation.RequiresAuthentication; import org.apache.shiro.authz.annotation.RequiresUser; import org.apache.tapestry5.EventConstants; import org.apache.tapestry5.Link; import org.apache.tapestry5.annotations.CleanupRender; i

RE: onActivate not being triggered

2014-11-01 Thread nhhockeyplayer nashua
Hi Thiago, I changed passivate to onPassivate... and no change I did notice that activate gets called once passivate gets called 5 times cleanup gets called once passivate gets called 6 times activate gets called once and thats the end... in that order and my URL is http://localhost:8080/psi/

RE: onActivate not being triggered

2014-11-01 Thread nhhockeyplayer nashua
Thanks Thiago for your help Ok List.JAVA is located under the pages directory https://github.com/tynamo/tapestry-model/blob/master/tapestry-model-example/src/main/java/org/tynamo/examples/simple/pages/List.java This is one typical sample app that uses it. Its identical to the one I use. If your

Re: onActivate not being triggered

2014-11-01 Thread Thiago H de Paula Figueiredo
On Sat, 01 Nov 2014 09:07:10 -0200, nhhockeyplayer nashua wrote: the tynamo guys had a List.java module Link to it please? I have no idea what you're talking about. Any ideas ? I fixed the activate being triggered... but the EventContext object is not delivering for me. EventContext wi

Re: onActivate not being triggered

2014-11-01 Thread Thiago H de Paula Figueiredo
On Sat, 01 Nov 2014 08:20:20 -0200, nhhockeyplayer nashua wrote: This is whats inside eventcontext Have you tried its getCount() and get(Class, int) methods? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

RE: onActivate not being triggered

2014-11-01 Thread nhhockeyplayer nashua
I had to say... I got breakpoints on both passivate and activate ONLY activate is being triggered And I am not receiving what I need in my eventcontext object Not sure what to think at this point the tynamo guys had a List.java module that is used and replicated as a page. At one point I was

RE: onActivate not being triggered

2014-11-01 Thread nhhockeyplayer nashua
Chris, Thanks I put what you stated... and triggered finally my breakpoint. This is whats inside eventcontext Now what ?

Re: onActivate not being triggered

2014-10-31 Thread Thiago H de Paula Figueiredo
On Fri, 31 Oct 2014 13:31:54 -0200, Lance Java wrote: Tapestry seems magic at times but it can't read your mind unfortunately. Tapestry is magic, not psychic! (tm) :D How on earth would tapestry know what to instantiate for Object? Impossible, unless, of course, your contribute a ValueE

Re: onActivate not being triggered

2014-10-31 Thread Lance Java
Tapestry seems magic at times but it can't read your mind unfortunately. How on earth would tapestry know what to instantiate for Object?

Re: onActivate not being triggered

2014-10-31 Thread Thiago H de Paula Figueiredo
On Fri, 31 Oct 2014 12:29:16 -0200, Chris Poulsen wrote: If the actual arguments does not fit the signature the handler will be skipped (the rules can be found in the docs). Try: Object onActivate( EventContext ec ) to see what is acutally getting passed as context. Actually, I'd consider

Re: onActivate not being triggered

2014-10-31 Thread Chris Poulsen
If the actual arguments does not fit the signature the handler will be skipped (the rules can be found in the docs). Try: Object onActivate( EventContext ec ) to see what is acutally getting passed as context. On Fri, Oct 31, 2014 at 3:21 PM, nhhockeyplayer nashua < nhhockeypla...@hotmail.com>

onActivate not being triggered

2014-10-31 Thread nhhockeyplayer nashua
Hi Folks, I have this code... @InjectPage private MetaTagEdit metaTagEditPage; @OnEvent(EventConstants.ACTIVATE) //void onActivate(Class clazz, long id) //void activate(Class clazz, long id) //Object activate(Class clazz, long id) //Object activate(Class c