Both can be easily solved.
1. The name for label can be some constant, you must only make sure it is
accessible (final method getLabelName())


that wouldn't solve anything. That just confuses people that they have to
have a specific span tag with a wicket id inside the link.


2. You can then add it as one of constructors for Link and
AjaxFallBackLink and any other link you have in mind ...



But this is just where some are against. That it doesn't belong in the base
class of link

johan

Reply via email to