Breadcrumbs should not list the history, but the hierarchy of the pages. See
http://www.useit.com/alertbox/breadcrumbs.html
Tom
Eelco Hillenius wrote:
Hello Alan,
yes, I know that example. But as I wrote I'm not using Panels but Pages. And
I don't understand that example very well anyway. Maybe a simpler example
would help.
It depends on what you think are breadcrumbs. The breadcrumbs
component in wicket-extensions (which is used in that example) works
for panels and pages, but is optimized for panels. If you only need it
for pages, you can follow an easier approach. Probably like: keep a
stack of current breadcrumbs (which are links) in your session, and
let pages add their breadcrumb to it when they are created. Those
breadcrumb links have a special parameter that is interpreted by those
pages so that if it is provided, the page rolls back to where it is in
the stack.
user clicks | bread crumbs
ListPage -> [list page]
CreatePage -> [list page, create page]
EditPage -> [list page, create page, edit page]
ListPage (via breadcrumb link) -> [list page] (tail is deleted)
Something like that. I'd say be creative and have fun :-)
Eelco
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]