value « validation « JSF Q&A





1. values lost after validation error in JSF    stackoverflow.com

I have two pages. Search page is the first page that takes user inputs. Second page shows the result set in datatable. Second page has 3 panel for resultset, update and ...

2. JSF validation error, lost value    stackoverflow.com

I have a update form, with composite keys All composite keys are displayed in outputbox as I have hidden field for each composite keys. These outputbox values are empty after validation ...

3. How to get old value from JSF/ADF validator?    stackoverflow.com

I have a requirement to validate an JSF/ADF input field only if the value of that field changed by users. If the value on the page is the same as the ...

4. JSF: Validate value provided in both fields or none of them    stackoverflow.com

I have two fields representing data range ("from" and "to"). I need to check if either both fields are filled on none of them, so only moment there should be validation ...

5. how to Validate double values with regular expression in jsf?    stackoverflow.com

it should allow upto 30 digits before decimal and atleast 1 , atmost 2 digits after decimal

6. Validating int value    stackoverflow.com

I am having difficulties doing a simple validation of a text field that has as a value - an int variable. I need the following;

  • permit only digits
  • don't allow a value of 0 ...

7. Validation problem for ensuring that entered value contains alphabet only    stackoverflow.com

How can i make sure at conversion and validation phase during the JSF lifecycle that entered value in <h:inputText> contains alphabets only? Thanks in advance.

8. Shouldn't the validation be skipped when there is no value specified?    stackoverflow.com

I'm using JSF2 on GlassFish 3. I have a form that accepts and optional phone number. I have this custom phone number validator (below), and I have the field set to ...

9. JSF validateLongRange value update    stackoverflow.com

I have the following tag: <ice:selectInputText value="#{....}"partialSubmit="true" immediate="true" > <f:validateLongRange minimum="0" maximum="#{bean.maxIncrease}"/> </ice:selectInputText> the getMaxIncrease() method only gets called when the page loads, is there a way to make it call whenever ...





12. JSF keeps displaying old values after Validation Phase fails (ignoring actionListeners settings)    coderanch.com

Hi all, I would like to ask some help in understanding a particular behaviour that JSF shows when Validation Phase fails. I'm using: - Tomcat 7.0.2 - JSF 1.2_12 - RichFaces 3.3.3 Problem description. I wrote a form with 4 input fields: an inputText and 3 selectOneMenu. The inputText is required while the selectOneMenus don't require any validation. Attached to the ...