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, <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] >
