You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Vignesh Palanisamy <vi...@mcruncher.com> on 2013/08/14 06:57:07 UTC

Breadcrumbs in TabbedPanel

Hi all,

 Right now we are implementing Breadcrumbs in our project. And it works
very fine in all panels without any issue. But ,while using the panel as
TabbedPanel breadCrumbs didn't works. i don't know how to implement
breadcrumbs in tabbedPanel. can anyone please help us.


Thanks
Vignesh Palanisamy

RE: Breadcrumbs in TabbedPanel

Posted by Paul Bors <pa...@bors.ws>.
Well, if you got foo / bar / foo and you don't like the default behavior,
extend the class and override it and then use your implementation J

 

~ Thank you,

   Paul Bors

 

From: Vignesh Palanisamy [mailto:vignesh@mcruncher.com] 
Sent: Wednesday, August 14, 2013 11:26 PM
To: users@wicket.apache.org
Subject: Re: Breadcrumbs in TabbedPanel

 

Thanks Paul,

Yes i had followed that Wicket Library example.

and as per you suggestion i had set the active participant to the model.

but for me BreadCrumbLink appending multiple times.

for example i had two panel in a tabbedPanel foo, bar 

while i click foo tab

BreadCrumbLink was like:

foo

then i click bar tab

BreadCrumbLink was like:

foo / bar


then again while i click foo tab

 

BreadCrumbLink was like:

foo / bar / foo

likewise. it was appending.



For more clarity i had attach a quick start project with it  please extract
and run in jetty 



Thanks

Vignesh Palanisamy.

 

 

 

On Thu, Aug 15, 2013 at 12:31 AM, Paul Bors <pa...@bors.ws> wrote:

I suppose you're using the breadcrumbs from the wicket-extensions as per
this Wicket Library example:
http://www.wicket-library.com/wicket-examples/breadcrumb

Then see the API for the getActive() method of the IBreadCrumbModel:
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensi
<http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extens
i%0Aons/breadcrumb/IBreadCrumbModel.html#getActive%28%29> 
ons/breadcrumb/IBreadCrumbModel.html#getActive()

Try getting a hold to an IBreadCrumbModel reference and from your individual
tab panel set the active participant.

~ Thank you,
  Paul Bors


-----Original Message-----
From: Vignesh Palanisamy [mailto:vignesh@mcruncher.com]
Sent: Wednesday, August 14, 2013 12:57 AM
To: users@wicket.apache.org
Subject: Breadcrumbs in TabbedPanel

Hi all,

 Right now we are implementing Breadcrumbs in our project. And it works very
fine in all panels without any issue. But ,while using the panel as
TabbedPanel breadCrumbs didn't works. i don't know how to implement
breadcrumbs in tabbedPanel. can anyone please help us.


Thanks
Vignesh Palanisamy



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

 


Re: Breadcrumbs in TabbedPanel

Posted by Vignesh Palanisamy <vi...@mcruncher.com>.
Thanks Paul,

Yes i had followed that Wicket Library example.

and as per you suggestion i had set the active participant to the model.

but for me BreadCrumbLink appending multiple times.

for example i had two panel in a tabbedPanel foo, bar

while i click foo tab

BreadCrumbLink was like:

foo

then i click bar tab

BreadCrumbLink was like:

foo / bar

then again while i click foo tab

BreadCrumbLink was like:

foo / bar / foo

likewise. it was appending.


For more clarity i had attach a quick start project with it  please extract
and run in jetty


Thanks
Vignesh Palanisamy.




On Thu, Aug 15, 2013 at 12:31 AM, Paul Bors <pa...@bors.ws> wrote:

> I suppose you're using the breadcrumbs from the wicket-extensions as per
> this Wicket Library example:
> http://www.wicket-library.com/wicket-examples/breadcrumb
>
> Then see the API for the getActive() method of the IBreadCrumbModel:
>
> http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensi
> ons/breadcrumb/IBreadCrumbModel.html#getActive()
>
> Try getting a hold to an IBreadCrumbModel reference and from your
> individual
> tab panel set the active participant.
>
> ~ Thank you,
>   Paul Bors
>
> -----Original Message-----
> From: Vignesh Palanisamy [mailto:vignesh@mcruncher.com]
> Sent: Wednesday, August 14, 2013 12:57 AM
> To: users@wicket.apache.org
> Subject: Breadcrumbs in TabbedPanel
>
> Hi all,
>
>  Right now we are implementing Breadcrumbs in our project. And it works
> very
> fine in all panels without any issue. But ,while using the panel as
> TabbedPanel breadCrumbs didn't works. i don't know how to implement
> breadcrumbs in tabbedPanel. can anyone please help us.
>
>
> Thanks
> Vignesh Palanisamy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

RE: Breadcrumbs in TabbedPanel

Posted by Paul Bors <pa...@bors.ws>.
I suppose you're using the breadcrumbs from the wicket-extensions as per
this Wicket Library example:
http://www.wicket-library.com/wicket-examples/breadcrumb

Then see the API for the getActive() method of the IBreadCrumbModel:
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensi
ons/breadcrumb/IBreadCrumbModel.html#getActive()

Try getting a hold to an IBreadCrumbModel reference and from your individual
tab panel set the active participant.

~ Thank you,
  Paul Bors

-----Original Message-----
From: Vignesh Palanisamy [mailto:vignesh@mcruncher.com] 
Sent: Wednesday, August 14, 2013 12:57 AM
To: users@wicket.apache.org
Subject: Breadcrumbs in TabbedPanel

Hi all,

 Right now we are implementing Breadcrumbs in our project. And it works very
fine in all panels without any issue. But ,while using the panel as
TabbedPanel breadCrumbs didn't works. i don't know how to implement
breadcrumbs in tabbedPanel. can anyone please help us.


Thanks
Vignesh Palanisamy


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