Hi all,

I have a navigation like the following:

> Parent 1
> - Child 1
> - Child 2
> Parent 2
> - Child 1
> - Child 2
> Parent 3
> - Child 1
> - Child 2

The important thing is that all the "Parent X" levels are no links,
just wicket:message, simply because there's no valuable content to
provide, but all the "Child X" are links.

What I would like to achieve is automatically adding a headline on
each requested page like the following:

> Parent 1: Child 1

If Parent 1/Child 1 was requested.

> Parent 1: Child 2

If Parent 1/Child 2 was requested and so on. Currently I do this
manually for each page using "wicket:message" and I'm looking for a
solution to automate this, because the navigation levels are already
translated and all the words should be the same anway.

I already had a look at BreadCrumbBar and IBreadCrumbParticipant, but
am not sure how to approach from there. The links are Wicket
components and I can do things with them, e.g. get their translated
texts and such, all that Wicket currently does as well. So those
should be usable as "IBreadCrumbParticipant" somehow.

But how would I access their parents, which are only wicket:message?
Whatever my "IBreadCrumbParticipant" looks like, it would need the
translation of "Parent X" as well, but there's no available component
to work with right now.

Do you have any ideas for me? Thanks!

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: [email protected]
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to