Hi,

I'm new to this list and I hope this hasn't been discussed before - I've searched in the mailinglists archive but couldn't find an answer to this:

Is there any good way to render <h:form>s that pass html-validation? Currently the form is rendered in this way (with org.apache.myfaces.ALLOW_JAVASCRIPT=false):

<form id="form" name="form" method="post" action="something.faces" enctype="application/x-www-form-urlencoded">
<!-- form-Inputs and Labels, that can be properly embedded in i.e.
<div />-tags -->
<input name="form_SUBMIT" value="1" type="hidden">
</form>


The <input>-tag of the hidden dummyForm needs to be in <div> tags or something like this to pass XHTML1.0 or HTML4.01 validation.


Another problem occurs when I'm using <h:selectManyListbox>-Elements. The rendered <select> tag has an attribute multiple="true" which should be multiple="multiple" according to (X)HTML specifications.


Thanks for your help,

Carsten

Reply via email to