Beginner question

2011-11-11 Thread Marco Schwarz
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...@

Re: Beginner question

2011-11-11 Thread Marco Schwarz
ood; 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 wrote: >> Probably because it doesn't need to. >> >> Dave >> >> O

Re: Beginner question

2011-11-11 Thread Marco Schwarz
ather 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 > wrote: >> Hi, >> >> that's I understand... but I disable field

Re: Beginner question

2011-11-12 Thread Marco Schwarz
You are right, but the user must see the fields and I need the object with all properties for call (JPA) persist method. what's the best practice for this use case I have one object and many roles any role can change a different field ... Do I create a class for any roles? Idea? Thanks Mar

Re: Beginner question

2011-11-14 Thread Marco Schwarz
d always store it in the session and read it from there. > >> -Original Message----- >> From: Marco Schwarz [mailto:marco.schw...@cioppino.net] >> Sent: Saturday, November 12, 2011 1:57 PM >> To: Struts Users Mailing List; jlm...@gmail.com >> Subject: Re: Begin