The Link component has two methods setBeforeDisabledLink and
setAfterDisabledLink , you can use those to configure the markup per link
bases. If you want a global approach the applicationsettings object has
setDefaultBeforeDisabledLink and setDefaultAfterDisabledLink.

-Igor


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Dariusz Wojtas
> Sent: Thursday, August 11, 2005 11:19 AM
> To: [email protected]
> Subject: [Wicket-user] Extending the Navomatic example
> 
> The Navomatic example shows how to create a set of links and 
> how it automatically knows when a link should be disabled 
> (span only) or enabled.
> Disabled link text is surrounded with 'span' and 'i' 
> elements, example:
>   <span><i>Page2</i></span>
> 
> How can I control styling both enabled and disabled links, 
> using this approach?
> Is there any other easy way to do it?
> 
> Darek
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & 
> EXPO September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices Agile & Plan-Driven Development * 
> Managing Projects & Teams * Testing & QA Security * Process 
> Improvement & Measurement * http://www.sqe.com/bsce5sf 
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to