igor.vaynberg wrote:
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
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
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
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
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...
johanOn 9/9/06, Eelco
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
Another thing is that you don't always want to create a (or just one)
breadcrumb for every action. The bread crumbs component in
wicket-extensions has a seperate model etc to allow more flexibility
in designating what exactly the path is. But if you need just the
simple exact path of navigation,