Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-13 Thread David Glick
On 11/13/11 8:14 PM, Karl Johan Kleist wrote: David Glick-3 wrote: That is also an option, but doesn't quite meet the use case that was described (if the user lacks the write permission and the form is in input mode, then the field will not show up at all, rather than showing up disabled). Als

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-13 Thread Karl Johan Kleist
David Glick-3 wrote: > > That is also an option, but doesn't quite meet the use case that was > described (if the user lacks the write permission and the form is in > input mode, then the field will not show up at all, rather than showing > up disabled). > Also if the user has read permission

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-13 Thread David Glick
On 11/12/11 2:49 PM, Asko Soukka wrote: T. Kim Nguyen wrote: Hi David - we've had that particular use case a few times here: we want to populate a student ID field but don't want the student to be able to change it, while a staff member filling out the object on behalf of the student might nee

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-12 Thread Asko Soukka
T. Kim Nguyen wrote: Hi David - we've had that particular use case a few times here: we want to populate a student ID field but don't want the student to be able to change it, while a staff member filling out the object on behalf of the student might need to change it. Hi, can't this be ach

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-12 Thread thomas desvenain
I agree that's not a so uncommon usecase. Often, some fields in 'edit' forms can't be modified once 'add' for has been submited, and many users prefer display them as 'disabled' than in 'display' or 'hidden' Sometimes you need to see exactly what you can't set because of the context (your roles, th

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-11 Thread T. Kim Nguyen
Hi David - we've had that particular use case a few times here: we want to populate a student ID field but don't want the student to be able to change it, while a staff member filling out the object on behalf of the student might need to change it. Kim On Nov 11, 2011, at 11:25 PM, Dav

Re: [Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-11 Thread David Glick
On 11/9/11 1:16 AM, gnafou wrote: Hello, 1/Developping my first dexterity product, i've been trying to 'disable' a field widget .. but could not find how ( i have default values that should be visible but must not be changed ) maybe i should do that with a specific css style ?? I don't think

[Product-Developers] dexterity [newbie] : how to disable a Field widget

2011-11-09 Thread gnafou
Hello, 1/Developping my first dexterity product, i've been trying to 'disable' a field widget .. but could not find how  ( i have default values that should be visible but must not be changed )  maybe i should do that with a specific css style ?? 2/ I was wondering if it s possible to add an h