Hi,
I encountered a problem using client side validation in IE 6 & 7.
When using the <t:selectOneMenu> tag and configuring it as required i am getting i gibberish value selected as default.
If i am removing the required value, the gibberish massage is not displayed.
i am using the "onDemand" and the q_validateById function.
here is my code:
<t:selectOneMenu id="genBirthCountry"
styleClass="input_210"
required="#"
value="#{ivController.data.genBirthCountry}">
<f:selectItem itemValue="" itemLabel="[Select a country]" />
<t:selectItems value="#{ivController.countryList}" var="country"
itemLabel="#{country.countryDesc}"
itemValue="#{country.countryCode}" />
</t:selectOneMenu>
please view the screen snap to see what is presented inside the select box.
thanks in advanced,
Shai
Hello Shai,
This issue is already fixed and will be available in QuipuKit 1.2.
However, there is a workaround. Are you using Ajax4jsf framework? If so, please set the filter's "forceparser" parameter to false. As a result, the filter will look like this:
<filter>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<init-param>
<param-name>forceparser</param-name>
<param-value>false</param-value>
</init-param>
</filter>
It should fix this problem.
Regards,
Tatyana
Hi,
Thanks for your reply, unfortunately your solution does not work for me.
any other suggestions?
Shai
Shai,
Can you please describe your environment, so we can reproduce your problem:
- JSF implementation and version
- Application server
- Sate saving method (client or server)
- Are you using Facelets? What version?
- Are you using Ajax4jsf? What version?
- Any other specific configurations
Regards,
Tatyana