i have an implementation but it is unique to this app. basically each page takes a back page in the constructor and then i iterate over the chain and create the breadcrumbs. this might be overkill for you if you are only interested in bookmarkable urls - not saving the actual state of previous pages.

but same idea might apply, you can pass the breadcrumbs object into the page constructor - that will avoid the session problem Johan mentioned.

-Igor


On 9/9/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
it should be very simple. Just store the breadcrumb in the session object.
There is only one big problem.. That is the back button. How are you going to rollback the session data?
Wicket currenty doesn't have support for that only for page versions not session versions...

johan



On 9/9/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
Yeah, although the breadcrumbs core implementation (package
wicket.extensions.breadcrumb)  does not make the assumption you have
to work with panels, the only default implementation
(wicket.extensions.breadcrumb.panel ) does so. It's possible to adopt
this model to a page based one, but as I never actually tried it, I'm
not sure how easy or difficult this will be.

It's probably easier to roll something of your own, maybe reusing some
of the ideas of the bread crumb panel we have.

I know that Martijn created a page-based bread crumb component for one
of his projects... maybe he's got some ideas to share?

Eelco


On 9/9/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> it is definetenly possible and shouldnt be too hard. maybe the current
> implementation of the breadcrumbs doesnt support it as the usecase was
> panels, but it doesnt mean you cant roll your own.
>
> -Igor
>
>
>
>  On 9/9/06, aaime74 < [EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > would it be possible (and advisable) to have bread crumbs that work on
> pages
> > rather than panels?
> >
> > My UI is basically a big tree of configuration pages (such as the ones for
> > an IDE)
> > and I'd like to make them bookmarkable and with nice urls... with
> > BreadcrumbBar
> > and BreadcrumbPanel this does not seem to be possible, ain't it?
> >
> > Cheers
> > Andrea Aime
> > --
> > View this message in context:
> http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855
> > Sent from the Wicket - User forum at Nabble.com.
> >
> >
> >
> -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to