Re: images in AjaxDefaultdatable

2010-01-04 Thread chinedu efoagui
k thanks On Mon, Jan 4, 2010 at 3:07 PM, Ernesto Reinaldo Barreiro wrote: > You are right Just create a panel and place the image there > > Try this > > import org.apache.wicket.ResourceReference; > import > org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator; > imp

Re: images in AjaxDefaultdatable

2010-01-04 Thread Ernesto Reinaldo Barreiro
You are right Just create a panel and place the image there Try this import org.apache.wicket.ResourceReference; import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator; import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; import or

Re: images in AjaxDefaultdatable

2010-01-04 Thread chinedu efoagui
I applied you class with a few modifications it gave me this error. I think it is expecting an img tag somewhere [code] WicketMessage: Component cell must be applied to a tag of type 'img', not '' (line 0, column 0) [markup = file:/C:/Users/bond/.netbeans/6.8/apache-tomcat-6.0.20_base/work/Catali

Re: images in AjaxDefaultdatable

2010-01-04 Thread chinedu efoagui
thank i will try it and give u feed back On Mon, Jan 4, 2010 at 2:02 PM, Ernesto Reinaldo Barreiro wrote: > I haven't tried it but this might work > > public class BooleanImageColumn extends PropertyColumn { > >    private static final long serialVersionUID = 1L; > > >    private static final Res

Re: images in AjaxDefaultdatable

2010-01-04 Thread Ernesto Reinaldo Barreiro
I haven't tried it but this might work public class BooleanImageColumn extends PropertyColumn { private static final long serialVersionUID = 1L; private static final ResourceReference TRUE_IMG = new ResourceReference(BooleanImageColumn.class, "true.gif"); private static final Resour