field disabled

UI Components for JSF
Post Reply
caioatiladf
Posts: 39
Joined: 21 Jun 2011, 18:41

29 Jul 2011, 14:40

I noticed that if I put a field with disable = "true" any value that contains within it is not passed to the bean. Is this normal or is it a failure?

I have application with a way to disable image in a field, save the bean when I send my clean this field if it is disable. Of course it has dozens of ways to treat it but wanted to know if this is normal behavior or a failure.

Att ..

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Jul 2011, 14:50

Normal, see JSF spec if you need a reference.

User avatar
kwintesencja
Posts: 316
Joined: 08 Feb 2010, 20:33
Location: Brazil

29 Jul 2011, 23:01

readonly=true does not solve your case?
Att,

--

Rafael Mauricio Pestano


Primefaces 5.x + JavaEE7(Glassfish 4.x and Wildfly 8)
Conventions Framework
Blog
@realpestano

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests