From: Fabrice P. <fa...@ea...> - 2007-07-31 07:43:47
|
Aaaaah ! Stupid me ! My question seemed stupid because it was actually. I just had missed the fact that the array that I passed as a binding the first time IS the array in the AjaxGrid, not a copy. Therefore if I do not reassign it (which I did) everything works fine. Sorry! But thanks again ! Fabrice Pipart On Jul 30, 2007, at 6:47 PM, Chuck Hill wrote: > > On Jul 30, 2007, at 6:01 AM, Fabrice Pipart wrote: > >> Hi ! >> >> Looking at the source code of AjaxGrid, I see (if I understand >> properly) that AjaxGrid only gets the value of its selectedObjects >> binding the first time. > > It is a mutable array, I did not see a need to get it again. > > >> And it never sets the binding back to its parent. > > It changes the contents of the array with Ajax calls. > > >> It makes it impossible for example to select all rows from a >> parent component (or there's a way to do it?). > > I am not clear on what you mean / what you want to do that you > can't do. > > >> Has it been done on purpose? >> Or I should fill a feature request on Jira? > > The design is definitely on purpose. > > > Chuck > > -- > > Practical WebObjects - for developers who want to increase their > overall knowledge of WebObjects or who are trying to solve specific > problems. > http://www.global-village.net/products/practical_webobjects > > > > > www.easyshadow.com EasyMediaOnline Digital Signage Software Easyshadow Palais de la Scala 1 avenue Henri Dunant Suite 1155 MC - 98000 Monaco Skype: fabrice.pipart Tel. +377 97 98 21 04 (direct) Fax. +377 97 70 88 07 |