Re: [xwiki-users] Hidden input after select, radio or checkbox, why ?

2008-09-25 Thread Sergiu Dumitriu
Denis Gervalle wrote: > Sergiu, > > Do you means that this trick is used because the save action of XWiki > is unaware of the list of field shown to the user by the preceding > inline action, and you do not know if a field should be updated or > left unchanged when it is not sent back ? >

Re: [xwiki-users] Hidden input after select, radio or checkbox, why ?

2008-09-25 Thread Sergiu Dumitriu
Denis Gervalle wrote: > Sergiu, > > Do you means that this trick is used because the save action of XWiki > is unaware of the list of field shown to the user by the preceding > inline action, and you do not know if a field should be updated or > left unchanged when it is not sent back ? Exa

Re: [xwiki-users] Hidden input after select, radio or checkbox, why ?

2008-09-25 Thread Denis Gervalle
Sergiu, Do you means that this trick is used because the save action of XWiki is unaware of the list of field shown to the user by the preceding inline action, and you do not know if a field should be updated or left unchanged when it is not sent back ? Denis On 23 sept. 08, at 18:54, Serg

Re: [xwiki-users] Hidden input after select, radio or checkbox, why ?

2008-09-23 Thread Sergiu Dumitriu
Denis Gervalle wrote: > Hi all, > > Does anyone here knows why displayEdit of ListClass fields with a > display type of checkbox, radiobutton or select is always followed > with a hidden input tag, having the same name than the visible control ? > > Here is an excerpt of the source code that

[xwiki-users] Hidden input after select, radio or checkbox, why ?

2008-09-18 Thread Denis Gervalle
Hi all, Does anyone here knows why displayEdit of ListClass fields with a display type of checkbox, radiobutton or select is always followed with a hidden input tag, having the same name than the visible control ? Here is an excerpt of the source code that cause this : if (!getDispla