I created a table with wicket (1.2.1) using a
DataTable (DefaultDataTable) and a DataProvider
(SortableDataProvider).
My table has one column like PropertyColumn(new
Model("name'), name, name).

Is it possible to have a linkable name instead of a
plain name?

Here's the code:

   List<IColumn> projectColumns = new
ArrayList<IColumn>();
   projectColumns.add(new PropertyColumn(new
Model("name"), "name", "name"));
   ProjectDataProvider projectDataProvider =
getDataProvider();
   DataTable projectDataTable = new
DefaultDataTable("projects", projectColumns,
projectDataProvider, 10);
   add(projectDataTable);

Here's my HTML:

<wicket:extend>
        <table wicket:id="projects" cellspacing="0"
cellpadding="2"
                class="grid"></table>
</wicket:extend>

Thanks,
Decebal


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to