Posted by jimmyau <ji...@privasia.com>.
Session bean not work is because the inputText will be change in client side
by javascript.
----- Original Message -----
From: "Richard Yee" <ry...@cruzio.com>
To: "MyFaces Discussion" <us...@myfaces.apache.org>
Sent: Monday, January 07, 2008 10:51 AM
Subject: Re: <t:inputText reaonly=True does not send...
> Why can't you just store your bean in session scope in order to save your
> state? There isn't way to customize the inputText to return values when it
> is read-only or disabled.
>
> -Richard
>
>
>
> jimmyau wrote:
>> Do you have a custom inputText that will submit and store the data to
>> backing bean no matter readonly or disable?
>>
>> ----- Original Message ----- From: "Volker Weber" <v....@inexso.de>
>> To: "MyFaces Discussion" <us...@myfaces.apache.org>
>> Sent: Thursday, January 03, 2008 10:04 PM
>> Subject: Re: <t:inputText reaonly=True does not send...
>>
>>
>>> Hi,
>>>
>>> yes i mixed them up now :-(, but was right in my first mail in this
>>> thread.
>>>
>>>
>>> Regards,
>>> Volker
>>>
>>> 2008/1/3, Gerhard Petracek <ge...@gmail.com>:
>>>> hello,
>>>>
>>>> concerning html:
>>>> http://www.w3.org/TR/html4/interact/forms.html#disabled
>>>> http://www.w3.org/TR/html4/interact/forms.html#read-only
>>>> and:
>>>> http://www.w3.org/TR/html4/interact/forms.html#successful-controls
>>>>
>>>> -> values of disabled fields don't get submitted
>>>>
>>>> concerning jsf:
>>>> although values of read-only fields are submitted they don't get
>>>> decoded.
>>>> -> you have to look up such values within the RequestParameterMap - you
>>>> get
>>>> the map via:
>>>> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap()
>>>>
>>>> additional information: trinidad doesn't behave the same way!
>>>>
>>>> regards,
>>>> gerhard
>>>>
>>>>
>>>>
>>>> 2008/1/3, Volker Weber <v....@inexso.de>:
>>>> > afaik disabled html components are send to the server by the browser
>>>> > (readonly are not), but not processed by jsf. If you need them you
>>>> can
>>>> > read them yourself from the request parameters.
>>>> >
>>>> > 2008/1/3, jimmyau < jimmyau@privasia.com>:
>>>> > > 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" <an...@gmail.com>
>>>> > > 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 < jimmyau@privasia.com> 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.
>>>> > >
>>>> > >
>>>> >
>>>> >
>>>> > --
>>>> > inexso - information exchange solutions GmbH
>>>> > Bismarckstraße 13 | 26122 Oldenburg
>>>> > Tel.: +49 441 4082 356 |
>>>> > FAX: +49 441 4082 355 | www.inexso.de
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> http://www.irian.at
>>>>
>>>> Your JSF powerhouse -
>>>> JSF Consulting, Development and
>>>> Courses in English and German
>>>>
>>>> Professional Support for Apache MyFaces
>>>
>>>
>>> --
>>> inexso - information exchange solutions GmbH
>>> Bismarckstraße 13 | 26122 Oldenburg
>>> Tel.: +49 441 4082 356 |
>>> FAX: +49 441 4082 355 | www.inexso.de
>>>
>>> --
>>> 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.
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
> 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Re:
Posted by Richard Yee <ry...@cruzio.com>.
Why can't you just store your bean in session scope in order to save
your state? There isn't way to customize the inputText to return values
when it is read-only or disabled.
-Richard
jimmyau wrote:
> Do you have a custom inputText that will submit and store the data to
> backing bean no matter readonly or disable?
>
> ----- Original Message ----- From: "Volker Weber" <v....@inexso.de>
> To: "MyFaces Discussion" <us...@myfaces.apache.org>
> Sent: Thursday, January 03, 2008 10:04 PM
> Subject: Re: <t:inputText reaonly=True does not send...
>
>
>> Hi,
>>
>> yes i mixed them up now :-(, but was right in my first mail in this
>> thread.
>>
>>
>> Regards,
>> Volker
>>
>> 2008/1/3, Gerhard Petracek <ge...@gmail.com>:
>>> hello,
>>>
>>> concerning html:
>>> http://www.w3.org/TR/html4/interact/forms.html#disabled
>>> http://www.w3.org/TR/html4/interact/forms.html#read-only
>>> and:
>>> http://www.w3.org/TR/html4/interact/forms.html#successful-controls
>>>
>>> -> values of disabled fields don't get submitted
>>>
>>> concerning jsf:
>>> although values of read-only fields are submitted they don't get
>>> decoded.
>>> -> you have to look up such values within the RequestParameterMap -
>>> you get
>>> the map via:
>>> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap()
>>>
>>>
>>> additional information: trinidad doesn't behave the same way!
>>>
>>> regards,
>>> gerhard
>>>
>>>
>>>
>>> 2008/1/3, Volker Weber <v....@inexso.de>:
>>> > afaik disabled html components are send to the server by the browser
>>> > (readonly are not), but not processed by jsf. If you need them you
>>> can
>>> > read them yourself from the request parameters.
>>> >
>>> > 2008/1/3, jimmyau < jimmyau@privasia.com>:
>>> > > 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" <an...@gmail.com>
>>> > > 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 < jimmyau@privasia.com> 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.
>>> > >
>>> > >
>>> >
>>> >
>>> > --
>>> > inexso - information exchange solutions GmbH
>>> > Bismarckstraße 13 | 26122 Oldenburg
>>> > Tel.: +49 441 4082 356 |
>>> > FAX: +49 441 4082 355 | www.inexso.de
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> http://www.irian.at
>>>
>>> Your JSF powerhouse -
>>> JSF Consulting, Development and
>>> Courses in English and German
>>>
>>> Professional Support for Apache MyFaces
>>
>>
>> --
>> inexso - information exchange solutions GmbH
>> Bismarckstraße 13 | 26122 Oldenburg
>> Tel.: +49 441 4082 356 |
>> FAX: +49 441 4082 355 | www.inexso.de
>>
>> --
>> 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
>>
>>
>
>
Re:
Posted by jimmyau <ji...@privasia.com>.
Do you have a custom inputText that will submit and store the data to
backing bean no matter readonly or disable?
----- Original Message -----
From: "Volker Weber" <v....@inexso.de>
To: "MyFaces Discussion" <us...@myfaces.apache.org>
Sent: Thursday, January 03, 2008 10:04 PM
Subject: Re: <t:inputText reaonly=True does not send...
> Hi,
>
> yes i mixed them up now :-(, but was right in my first mail in this
> thread.
>
>
> Regards,
> Volker
>
> 2008/1/3, Gerhard Petracek <ge...@gmail.com>:
>> hello,
>>
>> concerning html:
>> http://www.w3.org/TR/html4/interact/forms.html#disabled
>> http://www.w3.org/TR/html4/interact/forms.html#read-only
>> and:
>> http://www.w3.org/TR/html4/interact/forms.html#successful-controls
>>
>> -> values of disabled fields don't get submitted
>>
>> concerning jsf:
>> although values of read-only fields are submitted they don't get decoded.
>> -> you have to look up such values within the RequestParameterMap - you
>> get
>> the map via:
>> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap()
>>
>> additional information: trinidad doesn't behave the same way!
>>
>> regards,
>> gerhard
>>
>>
>>
>> 2008/1/3, Volker Weber <v....@inexso.de>:
>> > afaik disabled html components are send to the server by the browser
>> > (readonly are not), but not processed by jsf. If you need them you can
>> > read them yourself from the request parameters.
>> >
>> > 2008/1/3, jimmyau < jimmyau@privasia.com>:
>> > > 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" <an...@gmail.com>
>> > > 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 < jimmyau@privasia.com> 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.
>> > >
>> > >
>> >
>> >
>> > --
>> > inexso - information exchange solutions GmbH
>> > Bismarckstraße 13 | 26122 Oldenburg
>> > Tel.: +49 441 4082 356 |
>> > FAX: +49 441 4082 355 | www.inexso.de
>> >
>>
>>
>>
>> --
>>
>> http://www.irian.at
>>
>> Your JSF powerhouse -
>> JSF Consulting, Development and
>> Courses in English and German
>>
>> Professional Support for Apache MyFaces
>
>
> --
> inexso - information exchange solutions GmbH
> Bismarckstraße 13 | 26122 Oldenburg
> Tel.: +49 441 4082 356 |
> FAX: +49 441 4082 355 | www.inexso.de
>
> --
> 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.
Re:
Posted by Volker Weber <v....@inexso.de>.
Hi,
yes i mixed them up now :-(, but was right in my first mail in this thread.
Regards,
Volker
2008/1/3, Gerhard Petracek <ge...@gmail.com>:
> hello,
>
> concerning html:
> http://www.w3.org/TR/html4/interact/forms.html#disabled
> http://www.w3.org/TR/html4/interact/forms.html#read-only
> and:
> http://www.w3.org/TR/html4/interact/forms.html#successful-controls
>
> -> values of disabled fields don't get submitted
>
> concerning jsf:
> although values of read-only fields are submitted they don't get decoded.
> -> you have to look up such values within the RequestParameterMap - you get
> the map via:
> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap()
>
> additional information: trinidad doesn't behave the same way!
>
> regards,
> gerhard
>
>
>
> 2008/1/3, Volker Weber <v....@inexso.de>:
> > afaik disabled html components are send to the server by the browser
> > (readonly are not), but not processed by jsf. If you need them you can
> > read them yourself from the request parameters.
> >
> > 2008/1/3, jimmyau < jimmyau@privasia.com>:
> > > 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" <an...@gmail.com>
> > > 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 < jimmyau@privasia.com> 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.
> > >
> > >
> >
> >
> > --
> > inexso - information exchange solutions GmbH
> > Bismarckstraße 13 | 26122 Oldenburg
> > Tel.: +49 441 4082 356 |
> > FAX: +49 441 4082 355 | www.inexso.de
> >
>
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
--
inexso - information exchange solutions GmbH
Bismarckstraße 13 | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX: +49 441 4082 355 | www.inexso.de
Re:
Posted by Gerhard Petracek <ge...@gmail.com>.
hello,
concerning html:
http://www.w3.org/TR/html4/interact/forms.html#disabled
http://www.w3.org/TR/html4/interact/forms.html#read-only
and:
http://www.w3.org/TR/html4/interact/forms.html#successful-controls
-> values of disabled fields don't get submitted
concerning jsf:
although values of read-only fields are submitted they don't get decoded.
-> you have to look up such values within the RequestParameterMap - you get
the map via:
FacesContext.getCurrentInstance
().getExternalContext().getRequestParameterMap()
additional information: trinidad doesn't behave the same way!
regards,
gerhard
2008/1/3, Volker Weber <v....@inexso.de>:
>
> afaik disabled html components are send to the server by the browser
> (readonly are not), but not processed by jsf. If you need them you can
> read them yourself from the request parameters.
>
> 2008/1/3, jimmyau <ji...@privasia.com>:
> > 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" <an...@gmail.com>
> > To: "MyFaces Discussion" <us...@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 <ji...@privasia.com> 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.
> >
> >
>
>
> --
> inexso - information exchange solutions GmbH
> Bismarckstraße 13 | 26122 Oldenburg
> Tel.: +49 441 4082 356 |
> FAX: +49 441 4082 355 | www.inexso.de
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re:
Posted by Volker Weber <v....@inexso.de>.
afaik disabled html components are send to the server by the browser
(readonly are not), but not processed by jsf. If you need them you can
read them yourself from the request parameters.
2008/1/3, jimmyau <ji...@privasia.com>:
> 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" <an...@gmail.com>
> To: "MyFaces Discussion" <us...@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 <ji...@privasia.com> 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.
>
>
--
inexso - information exchange solutions GmbH
Bismarckstraße 13 | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX: +49 441 4082 355 | www.inexso.de
Re:
Posted by jimmyau <ji...@privasia.com>.
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" <an...@gmail.com>
To: "MyFaces Discussion" <us...@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 <ji...@privasia.com> 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.
Re:
Posted by Andrew Robinson <an...@gmail.com>.
On Jan 1, 2008 7:44 PM, jimmyau <ji...@privasia.com> 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?