I'd either: (a) Not render it as a text field, but rather as plain text, or (b) Include a hidden field if the user can't edit it.
There are probably other options too. Dave On Fri, Nov 11, 2011 at 5:00 PM, Marco Schwarz <[email protected]> wrote: > Hi, > > that's I understand... but I disable fields because a user doesn't > have right to change the value... and after submit the entity is > incomplete. > > It's there a better method to do that? > > Thanks > Marco > > > On Fri, Nov 11, 2011 at 10:53 PM, Dave Newton <[email protected]> wrote: >> Oh, I misunderstood; I thought you meant the rendered HTML. >> >> Chris is correct; disabled field values aren't sent by the browser. >> >> Sorry! >> >> On Fri, Nov 11, 2011 at 4:47 PM, Dave Newton <[email protected]> wrote: >>> Probably because it doesn't need to. >>> >>> Dave >>> >>> On Fri, Nov 11, 2011 at 4:43 PM, Marco Schwarz >>> <[email protected]> wrote: >>>> Hi, >>>> >>>> I'm new in this mailinglist. >>>> >>>> I have a guestion (simple) Why a textfield disabled="true" doesn't set >>>> his value to my object? When I set disabled="false" it works fine. >>>> >>>> Thanks >>>> Marco >>>> >>>> --------------------------------------------------------------------- >>>> 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] >> >> > > --------------------------------------------------------------------- > 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]

