> Cant we set the link to invisible by checking the locale by overriding
> isVisible( )? do you want to externalize this?

Not exactly sure what you mean, but I'll check this out.

My understanding is that even if we set "isVisible()" to false, the
component must still be rendered.


> This is modelled as ExternalLink i guess that accepts a model for
> href. So cant we fetch the link from page.properties using Locallizer
> class in Model.getObject( )

This for sure is one possiblility, but IMHO not the ideal solution.

I am assuming that a given link may occur several times in a website. Given
the principle of "once and only once", rather than having the target written
in several properties files across the application, I somehow feel that it
would be better to have a centralised location. Also, the link provider
should be an abstraction of the actual link service (so, a simple class, a
DB, a SOAP service... whatever).

What about having an ILinkProvider or something?


In any case, from the other suggestions that were given, I have a lot I need
to check out first.


Thanks for the suggestions!!




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to