myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alin Dosoniu (JIRA)" <>
Subject [jira] Commented: (MYFACES-995) Some components do not render valid html
Date Wed, 04 Jan 2006 21:06:02 GMT
    [ ] 

Alin Dosoniu commented on MYFACES-995:

I don't know if this is related to a wrong use of tiles but...
so I get the function getScrolling after the </html> so the Tidy validator from Mozilla
Firefox says that this is an warning:
Warning: content occurs after end of body

> Some components do not render valid html
> ----------------------------------------
>          Key: MYFACES-995
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation, Tomahawk
>     Versions: 1.1.1, Nightly
>  Environment: tested on jboss4.0.3/sun jdk 1.5.0_r05/linux with myFaces 1.1.1 and nightly
build 20051230
>     Reporter: Carsten Stiller
>     Priority: Minor

> Some components do not render valid html (checked with w3c-validator against HTML4.01strict
and XHTML1.0)
> <h:form />: The hidden <input />-Tag has to be inside a block-element (a
 <div /> or whatever)
> rendered code:
> <form>
> ...
>   <input name="form_SUBMIT" value="1" type="hidden" />
> </form>
> w3c-validator message: document type does not allow element "INPUT" here; missing one
of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
> <h:selectManyListbox />: Attribute is rendered as 'multiple="true"'  instead of
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of
> <t:panelNavigation2 />: When layout="list" is selected and nested menus  are used,
non-active parts of the menu-trees include empty <ul />-tags.  (At least one <li
/> is required inside of <ul></ul>).
> jsf-code:
> <t:panelNavigation2 id="..." layout="...">
> 	<t:commandNavigation2 id="..." action="..." value="...">
> 		<t:commandNavigation2 id="..." value="..." action="..." />
> 		<t:commandNavigation2 id="..." value="..." action="..." />		
> 	</t:commandNavigation2>	
> 	<t:commandNavigation2 id="..." action="..." value="..." />
> </t:panelNavigation2>
> rendered code, when menu-tree is closed:
> <ul>
> <li><a href="..." id="...">... </a><ul></ul></li>
> <li><a href="..." id="...">...</a></li>
> </ul>
> w3c-validator message: end tag for "UL" which is not finished.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message