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 PROTECTED]> wrote: > > 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"> > </table] > > Where would this markup go? Do I then also need to add [td] elements (for > PropertyColumns) and then place the [a] tag in question inside a particular > [td]? > > thanks > -nikita > > > > > igor.vaynberg wrote: >> >> you need to do [a wicket:id="link"] rather then [span wicket:id="link"] >> >> wicket does not mutate your markup >> >> > > > ----- > ---------------- > 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-tp18841070p18841190.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]
