Re: why does ExternalLink generate span instead of a simple a

2008-08-07 Thread Ladislav Thon
I see, but in this case I didn't provide any markup. ExternalLink is being added in a PropertyColumn.populateItem method to a (cell) Item of PropertyColumn of a DataTable. So see the markup of DataTable -- you are gonna see those spans there :-) As Igor said, the easiest way is to use a

Re: why does ExternalLink generate span instead of a simple a

2008-08-07 Thread dukehoops
igor.vaynberg wrote: you can add the link to a fragment, and then add the fragment to the column. I did the above and it worked like a charm. Thanks and -again - nice job on the framework! - Nikita Tovstoles vside.com -- View this message in

why does ExternalLink generate span instead of a simple a

2008-08-05 Thread dukehoops
This code: ExternalLink profileLink = new ExternalLink(componentId, profileURL, dto.getUserName()); profileLink.setPopupSettings(new PopupSettings()); Produces this markup: NOTE: ',' replaced with '[,]' [span onclick=var w =

Re: why does ExternalLink generate span instead of a simple a

2008-08-05 Thread Igor Vaynberg
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());

Re: why does ExternalLink generate span instead of a simple a

2008-08-05 Thread dukehoops
I see, but in this case I didn't provide any markup. ExternalLink is being added in a PropertyColumn.populateItem method to a (cell) Item of PropertyColumn of a DataTable. The markup is solely this: [table wicket:id=filter-data cellspacing=0 cellpadding=2 class=grid

Re: why does ExternalLink generate span instead of a simple a

2008-08-05 Thread Igor Vaynberg
you can add the link to a fragment, and then add the fragment to the column. eg [wicket:fragment wicket:id=frag][a wicket:id=link]link[/a][/wicket:fragment] there is an example of this in wicket-phonebook example in wicket-stuff -igor On Tue, Aug 5, 2008 at 3:31 PM, dukehoops [EMAIL