yeah, page.onattach will not be called, only the components that are added to the target.

page.ondetach gets called at the end of any request cycle, i dont think its a problem because unless the page has been attached it should be a noop, and its a good safety net.

-Igor


On 3/29/06, Arto Arffman <[EMAIL PROTECTED]> wrote:
I think it's mistake. I was relying on Page's onAttach(). I suppose its only those components that get rendered, am I rigth?
 
Funny though, Page.onDetach() is called, but Page.onAttach() is not.

 
2006/3/29, Arto Arffman <[EMAIL PROTECTED]>:
hmm, i'm using svnroot/wicket/trunk/wicket, if that's what you mean

2006/3/29, Arto Arffman <[EMAIL PROTECTED]>:
OK, I'll check if it's my mistake or is there really a bug.
 
(latest head, don't know what "off trunk" means)

 
2006/3/29, Igor Vaynberg <[EMAIL PROTECTED]>:
it should and i thought i recently fixed it, are you working off trunk?
 

-Igor



On 3/28/06, Arto Arffman < [EMAIL PROTECTED] > wrote:
Should onAttach() be called when ajax is used? (using latest head)
 
If so I'll dig deeper...
 
/arto


 

 


Reply via email to