Maybe, but to migrate a codebase wouldn't be that harder. People will only have to replace <wicket:link> with <span wicket:id="myid"> and add the Java component. And if the codebase has a good test coverage, Wicket will point out automatically places where the component should be added.
Another solution to do a smooth migration, is to simply continue to interpret <wicket:link> during the first release of (temporary name) AutoLinkMarkupContainer, but still requiring to add the component. This way, only Java code would need to sufer from changes. Then, on a future release, definitely drop the support of <wicket:link> I say +1 []'s Bruno Borges -----Mensagem original----- De: James Carman [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 17 de novembro de 2008 17:07 Para: [email protected] Assunto: Re: Drop wicket:link I'd say -1. This would be a nightmare on existing codebases. 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." > *************************************************************************************************** > > *************************************************************************************************** "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." ***************************************************************************************************
