Hi, How about readonly="true" ???
http://struts.apache.org/2.1.8/docs/textfield.html HTH, Damo On 11 November 2011 22:16, Marco Schwarz <marco.schw...@cioppino.net> wrote: > Hi, > > hidden tags and plain text solve my problem ... > > I find, when I disable components via jquery, client side I'm sure to > find the same problem :-( > > Thanks > Marco > > On Fri, Nov 11, 2011 at 11:06 PM, Dave Newton <davelnew...@gmail.com> > wrote: > > 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 > > <marco.schw...@cioppino.net> 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 <davelnew...@gmail.com> > 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 <davelnew...@gmail.com> > wrote: > >>>> Probably because it doesn't need to. > >>>> > >>>> Dave > >>>> > >>>> On Fri, Nov 11, 2011 at 4:43 PM, Marco Schwarz > >>>> <marco.schw...@cioppino.net> 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: user-unsubscr...@struts.apache.org > >>>>> For additional commands, e-mail: user-h...@struts.apache.org > >>>>> > >>>>> > >>>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>> For additional commands, e-mail: user-h...@struts.apache.org > >>> > >>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >