It would be nice if we were able to add a not existent property to Grid and BeanEditForm without having to declare the model explicitly in the class... that's what i thought the first time i saw the "add" parameter in these components, but it just works this way inside the class.
José, did you fired a JIRA? 2008/6/10 zack1403 <[EMAIL PROTECTED]>: > > On #tapestry, TobiasW suggested to add the columns through beanmodel instead > of in my tml which turned out to work just fine. Definitely looks like a > bug to me. My bean model code might help anyone else with this issue and > doesnt know how to do it from the page class: > > @Inject > private ComponentResources resources; > > private BeanModel<MyBean> model; > > @Inject > private BeanModelSource beanSource; > > public List<MyBean> getMyBeans() { > if (this.model == null) { > this.model = this.beanSource.create(MyBean.class, > true, resources); > this.model.add("myNewColumn", null); > } > //return your beans > } > > Thanks TobiasW! > > > José Paumard wrote: >> >> My grid is not in a form fragment, so I would say no, but I'm not sure. >> I really dont see why the volatile=true attribute could fix that. >> Anyway, I'm openning a JIRA on this. It smells like a sneaky bug. >> José >> >> zack1403 a écrit : >>> On #tapestry, y informed me to try volatile="true", but this didnt fix >>> the >>> issue for me. Jose, maybe that might work for you? >>> Does it matter that my grid is within a formfragment? >>> >>> Zack >>> >>> >>> zack1403 wrote: >>> >>>> Anyone have any ideas on this? I am stuck on this exact same issue and >>>> have not been able to find a workaround. >>>> >>>> Zack >>>> >>>> >>>> >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Exception-when-using-a-grid-in-a-form-tp17693554p17767933.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Atenciosamente, Marcelo Lotif --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]