wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerolf Seitz" <gerolf.se...@gmail.com>
Subject SmartLinkLabel - why final?
Date Fri, 06 Jul 2007 19:37:36 GMT
since juergen donnerstag is the author of this class, this question is
probably directed towards him, but all opinions are welcome, as always.

i wanted to provide an encrypted version of the SmartLinkLabel but since
it's marked as final i would have to copy/paste the existing code and modify
it accordingly.
what's a bit strange too is the static method smartLink, which does the
actual text processing.

is it possible to remove the final and allow the smartLink method to be
overwritten?
for better reuse of the actual text processing (currently also used in
MultiLineSmartLinkLabel), maybe some kind of factory/strategy/whatever could
help...

it would probably be better too, if the default implementation renders an
encrypted link (using html entities like &#65;..).

gerolf

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message