Josh, Yes each link is reloading a different page, and the list of the links is not rebuilt. Only the contents part of the page. What would your css alternative solution be ? How can I get the clicked link disabled and assing it a class, excluding the rest of the links, without breaking the ajax functionality for the AjaxLink ?
On Mon Mar 28,2011 07:51 am, Josh Kamau wrote: > hi. > > Have you tried something like > > myLink.add(new AttributeAppender(...)); > > or > > myLink.add(new AttributeModifier(...)) > > this methods can add/modify a css class in a markup element. > > Please check the javadocs for method details if this is what you want. > > However, if i were in your situation, i would use css only to archieve this > , that is , if each link reloads a different page. > > > Josh. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org