what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.

see how PropertyColumn works...but instead of a label you add your panel that contains the image

-Igor


On 10/18/06, Manuel Alejandro de Brito Fontes <[EMAIL PROTECTED]> wrote:
Hi, Im trying to  create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect, modify the data and the table updates the table content.
My problem is that the column in question display a text "cell" and i want to display an image. I don't find any example of this, so i try to do it. 
So extend the AjaxLink and add an Image instance, but the cell only contains a MarkupFragment 
[<td wicket:id="cells">, , [<span wicket:id="cell">, [cell], </span>], , </td>]
obviously the html that i create in the component that extends AjaxLink is useless.
Sorry if I'm complicating the things, I'm a newbie :)

Thanks in advice.

PS: Sorry for my bad english too.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to