use a label, call setoutputmodelstrings(false) on it -igor
On Tue, Feb 9, 2010 at 12:16 AM, Ashika Umanga Umagiliya <[email protected]> wrote: > Greetings all, > > I want to write direct HTML content in DataTable cells. > Something like like : > > public abstract class AbstractWidthChangableColumn<E> extends > AbstractColumn<E>{ > public void populateItem(Item<ICellPopulator<E>> cellitem, > String id, IModel<E> model) > { > .. > .. > .. > String htmlSnippet="<a href='somehere'>somehere</a>"; > cellitem.writeSomeHTML(htmlSnippet); > } > } > > where 'htmlSnippet' is dynamic ? > > Any tips? > > --------------------------------------------------------------------- > 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]
