Hi Martin,

           We are using BreadCrumbLink from the package
*org.apache.wicket.extensions.breadcrumb. *

We cannot refresh the page with BreadCrumbLink. Because BreadCrumbLink doesn't
have a AjaxEventBehavior. So we need some other option to refresh the
BreadCrumbLink
in our page.

Now, is it clear for you?.

On Thu, Nov 27, 2014 at 4:22 PM, Martin Grigorov <[email protected]>
wrote:

> Hi,
>
> It is not very clear what you do and what is failing from your description.
>
> You can make any Link behave like Ajax one by adding
> AjaxEventBehavior("click") to it.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Nov 27, 2014 at 10:15 AM, Seenivasan Sankaran <
> [email protected]> wrote:
>
> > Hi,
> >
> > Can you tell the BreadCrumbBarLink supports the AjaxRequestTarget?
> >
> > Because, We are using wicket event to replace the wicket Panel component
> > using replaceWith(). It's works fine but We use a BreadCrumbBarLink in
> that
> > panel. So we tried to replace the BreadCrumbBarLink.
> >
> > *But the following exception is occurred:*
> >
> > *"Last cause: This method can only be called on a component that has
> > > already been added to its parent."*
> >
> >
> > Because,BreadCrumbBarLink doesn't have a AjaxRequestTarget.
> >
> > Suppose, If BreadCrumbBarLink doesn't supports AjaxRequestTarget, then is
> > there any other way to replacing the BreadCrumbBarLink?
> >
> > --
> >
> > *Best Regards,Seenivasan Sankaran*
> >
> > *Analyst Programmer*
> >
> >
> > *mCruncher R&D SDN BHD*
> >
> > *(016-3482636)*
> >
>



-- 

*Best Regards,Seenivasan Sankaran*

*Analyst Programmer*


*mCruncher R&D SDN BHD*

*(016-3482636)*

Reply via email to