It is because i need the field submit back to the server without having to
add hidden field. I know it cause security purpose but it save my time.
----- Original Message -----
From: "Andrew Robinson" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <users@myfaces.apache.org>
Sent: Wednesday, January 02, 2008 11:42 PM
Subject: Re: <t:inputText reaonly=True does not send...
On Jan 1, 2008 7:44 PM, jimmyau <[EMAIL PROTECTED]> wrote:
disabled and readonly work in the same way which will not submit value to
backend. this way also make me headache.
Why would this give you a headache? What is the point in sending a
read-only value to the server. Everything on the client is by
definition changeable (users can change the DOM easily). So the server
would never decode a read-only or disabled control. If you are never
going to decode it, why waste the resources to post it back to the
server?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1207 - Release Date: 1/2/2008
11:29 AM
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.