Hello, I was already trying this. But it didn't works. Here is HTML: <a wicket:id="faultLink">ESB Fehler</a> | <a wicket:id="protokollierungLink">Protokollierung</a> | <a wicket:id="userManagementLink">Benutzerverwaltung</a> | <a wicket:id="changePasswordLink">Passwort ändern</a>
And here the Java: Link faultLink = new Link("faultLink") { @Override public void onClick() { setResponsePage(Fault.class); } }; faultLink.setAutoEnable(true); These links are in my parent page. The FaultPage extends of my parent page. Could that be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax: +49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -----Ursprüngliche Nachricht----- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Montag, 11. November 2013 11:32 An: users@wicket.apache.org Betreff: Re: Link Hi, See org.apache.wicket.markup.html.link.Link#setAutoEnable(true). This will automatically render "disabled" link for links which link to the current page. On Mon, Nov 11, 2013 at 12:23 PM, <christoph.ma...@t-systems.com> wrote: > Hello, > > there are 4 links at the top of my page. > Every link should forward to another page. But the User couldn’t see > on which page he is. I want to change the color of the links depending > on the page which the user has chosen. How can I realize this? I > implemented the links like this: > > Link faultLink = new Link("faultLink") { > @Override > public void onClick() { > setResponsePage(Fault.class); > } > }; > > Christoph > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >