igor, you imagined the exact situation I have regarding the link types. I did 
not say many details such as this in my original post because I was not sure 
whether that is useful, but you figured it perfectly. 

thanks!!!


--- On Mon, 5/17/10, Igor Vaynberg <igor.vaynb...@gmail.com> wrote:

> From: Igor Vaynberg <igor.vaynb...@gmail.com>
> Subject: Re: When is AbstractBehavior#bind not called?
> To: users@wicket.apache.org
> Date: Monday, May 17, 2010, 11:27 AM
> the first link is a bookmarkable
> link, it recreates the page instance.
> bind is only called when the behavior is *added* to the
> component.
> 
> link 2 is not a bookmarkable link, it doesnt recreate the
> page
> instance so the behavior is not added because a page
> instance where
> the behavior has already been added is used, thus no bind
> call
> 
> -igor
> 
> On Mon, May 17, 2010 at 6:22 AM, David Chang <david_q_zh...@yahoo.com>
> wrote:
> > I have a top page which has two panel-based
> components.
> >
> > Component 1 implements AbstractBehavior's bind
> method.
> >
> > Component 2 has a wicket Link pointing to a child
> page.
> >
> > When I am at the top page, refresh always gets #bind
> called.
> >
> > When I click the Link in Component 2, the bind method
> in Component 1 does not get called.
> >
> > Can anybody tell why this happened?
> >
> > I am quite puzzled. I am kind of new in wicket. I am
> using wicket 1.4.8 on tomcat.
> >
> > Regards.
> >
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 


      

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

Reply via email to