Re: inmethod grid & converter/formatter?
that would certainly work, but I'd lose the editor column I'm using ;) All i really need is to be able to add a display formatter so i can truncate the content with an ellipsis. Even a method i could override when its outputting the label content would work. If there is such a method, I'm unsure where it is. I constantly need to reformat some content into something the user can see. but with a inmethod grid, you actually need a display formatter and an editor formatter. - Brill Pappin On 7-May-09, at 4:21 PM, Ryan McKinley wrote: what about just implementing AbstractLightWeightColumn#newCell? this lets you write text directly to the output... On May 7, 2009, at 4:15 PM, Brill Pappin wrote: I'm spiking on the inmethod grid components from wicketstuff (1.4- SNAPSHOT) I need to be able to format the data in columns and or modify it for view only columns. the specific case is a description field that sometime needs and ellipsis. I can't see any way to add converters or formatters to the column models.. have anyone else tried this or come up with a solution? So far the only solution i have is to wrap my Pojo's in another pojo and provide read-only access to one of the fields. - Brill Pappin smime.p7s Description: S/MIME cryptographic signature
Re: inmethod grid & converter/formatter?
what about just implementing AbstractLightWeightColumn#newCell? this lets you write text directly to the output... On May 7, 2009, at 4:15 PM, Brill Pappin wrote: I'm spiking on the inmethod grid components from wicketstuff (1.4- SNAPSHOT) I need to be able to format the data in columns and or modify it for view only columns. the specific case is a description field that sometime needs and ellipsis. I can't see any way to add converters or formatters to the column models.. have anyone else tried this or come up with a solution? So far the only solution i have is to wrap my Pojo's in another pojo and provide read-only access to one of the fields. - Brill Pappin
inmethod grid & converter/formatter?
I'm spiking on the inmethod grid components from wicketstuff (1.4- SNAPSHOT) I need to be able to format the data in columns and or modify it for view only columns. the specific case is a description field that sometime needs and ellipsis. I can't see any way to add converters or formatters to the column models.. have anyone else tried this or come up with a solution? So far the only solution i have is to wrap my Pojo's in another pojo and provide read-only access to one of the fields. - Brill Pappin smime.p7s Description: S/MIME cryptographic signature