to get you started I can give you a hint, ... no time to try it out my self :)
make your own simple component to wrap value look at org.apache.tapestry.corelib.base.AbstractField it uses @Environmental private PageRenderSupport _pageRenderSupport; to generate unique id final void setup() { // By default, use the component id as the (base) client id. If the clientid // parameter is bound, then that is the value to use. String id = _clientId; // Often, these controlName and _clientId will end up as the same value. There are many // exceptions, including a form that renders inside a loop, or a form inside a component // that is used multiple times. _assignedClientId = _pageRenderSupport.allocateClientId(id); ..... On Feb 19, 2008 10:12 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: > Hi (Sven), > > I just tried to use your InPlaceEditorComponent for data in a grid. > But since the cells are generated automatically, they all get the same > id (inplaceeditor). This confuses the javascript that cannot > differentiate between the cells it should enhance and will put 20 text > fields and submit & cancel buttons inside the first span it finds. > Is there some known workaround to this? Any other way to use > InPlaceEditor inside a Grid? > > Thanks > > Moritz > > --------------------------------------------------------------------- > 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]