-1, too:
I use it just the way Igor describes. I usually set up a mock html
page, then <wicket:link> the css and javascript. So I can easily test
the page in preview mode and in wicket, too.
Once the application evolves I tend to remove <wicket:link> again and
replace it with ResourceReference inside the pages and base pages.
Let it there, it's really useful. If people tend to be stupid no
framework on earth will stop them from doing so.
Cheers
Peter
Am 17.11.2008 um 21:06 schrieb Igor Vaynberg:
-1.
this stuff is very useful for linking to css/js/image files. if people
want to abuse it, it is their problem. people will find a way to abuse
anything though.
-igor
2008/11/17 Bruno Cesar Borges <[EMAIL PROTECTED]>:
This might sound crazy, but what about dropping the support for the
tag <wicket:link> ? :-)
People are starting to use it frequently, and because of that,
features will be requested. And then we might end with a tag
library. But, to not freak everybody out, I suggest develop a
markup container to do that.
Example:
# Java
AutoLinkMarkupContainer autolinks = new
AutoLinkMarkupContainer("menus");
# HTML
<ul wicket:id="menus">
<li><a href="Users.html">Users</a></li>
<li><a href="Departments.html">Departments</a></li>
</ul>
What do you guys think?
Cheers,
Bruno
***************************************************************************************************
"Atenção: Esta mensagem foi enviada para uso exclusivo do(s)
destinatários(s) acima identificado(s),
podendo conter informações e/ou documentos confidencias/
privilegiados e seu sigilo é protegido por
lei. Caso você tenha recebido por engano, por favor, informe o
remetente e apague-a de seu sistema.
Notificamos que é proibido por lei a sua retenção, disseminação,
distribuição, cópia ou uso sem
expressa autorização do remetente. Opiniões pessoais do remetente
não refletem, necessariamente,
o ponto de vista da CETIP, o qual é divulgado somente por pessoas
autorizadas."
"Warning: This message was sent for exclusive use of the addressees
above identified, possibly
containing information and or privileged/confidential documents
whose content is protected by law.
In case you have mistakenly received it, please notify the sender
and delete it from your system.
Be noticed that the law forbids the retention, dissemination,
distribution, copy or use without
express authorization from the sender. Personal opinions of the
sender do not necessarily reflect
CETIP's point of view, which is only divulged by authorized
personnel."
***************************************************************************************************