you need to do [a wicket:id="link"] rather then [span wicket:id="link"]
wicket does not mutate your markup
-igor
On Tue, Aug 5, 2008 at 3:20 PM, dukehoops <[EMAIL PROTECTED]> wrote:
>
> This code:
> ExternalLink profileLink = new ExternalLink(componentId,
> profileURL, dto.getUserName());
> profileLink.setPopupSettings(new PopupSettings());
>
> Produces this markup:
> NOTE: '<,>' replaced with '[,]'
>
> [span onclick="var w =
> window.open('http://localhost:8080/app/profile/user/TESTHETJNFCB/', '',
> 'scrollbars=no,location=no,menuBar=no,resizable=no,status=no,toolbar=no');
> if(w.blur) w.focus(); return false;">TESTHETJNFCB</span]
>
> Javadocs for 1.3.4. say ExternalLink produces a regular [a href=...] That is
> what I want. What should I change in my code to get an ?
>
> thanks
> -nikita
>
> -----
> ----------------
> Nikita Tovstoles
> vside.com
> ----------------
>
> --
> View this message in context:
> http://www.nabble.com/why-does-ExternalLink-generate-%3Cspan%3E-instead-of-a-simple-%3Ca%3E-tp18841070p18841070.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]