You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Carsten Stiller (JIRA)" <de...@myfaces.apache.org> on 2006/01/03 08:55:01 UTC

[jira] Created: (MYFACES-995) Some components do not render valid html

Some components do not render valid html
----------------------------------------

         Key: MYFACES-995
         URL: http://issues.apache.org/jira/browse/MYFACES-995
     Project: MyFaces
        Type: Bug
  Components: Tomahawk, Implementation  
    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 'multiple="multiple"'

rendered code: 
<select id="..." name="..." multiple="true">
...
</select>

w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".


<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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (MYFACES-995) Some components do not render valid html

Posted by Martin Marinschek <ma...@gmail.com>.
sounds good!

thanks for the info.

regards,

Martin

On 2/7/06, Alin Dosoniu (JIRA) <de...@myfaces.apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/MYFACES-995?page=comments#action_12365408 ]
>
> Alin Dosoniu commented on MYFACES-995:
> --------------------------------------
>
> Martin,
> I did not used Facelets or ADF faces in my code. I only use Tiles.
> I can confirm that with jars from 07.feb.2006 (I build them locally on my computer) the warning "content occurs after end of body" does NOT appears anymore. In fact, all pages from my project are clean (o errors, o warnings in Mozilla Firefox).
>
> Alin.
>
> > Some components do not render valid html
> > ----------------------------------------
> >
> >          Key: MYFACES-995
> >          URL: http://issues.apache.org/jira/browse/MYFACES-995
> >      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
> >     Assignee: Martin Marinschek
> >     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 'multiple="multiple"'
> > rendered code:
> > <select id="..." name="..." multiple="true">
> > ...
> > </select>
> > w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> > <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:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

[jira] Commented: (TOMAHAWK-127) Some components do not render valid html

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-127?page=comments#action_12375837 ] 

Martin Marinschek commented on TOMAHAWK-127:
--------------------------------------------

Hi Carsten,

I just fixed the multiple=true problem. What suggestion do you have for the other bugs - I don't see anything we can do about this...

For fixing the first warning, you can always use a t:div tag, but for fixing the last one, I have no idea.

regards,

Martin

> Some components do not render valid html
> ----------------------------------------
>
>          Key: TOMAHAWK-127
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-127
>      Project: MyFaces Tomahawk
>         Type: Bug

>  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
>     Assignee: Martin Marinschek
>     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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TOMAHAWK-127) Some components do not render valid html

Posted by "Petr Bouska (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-127?page=all ]

Petr Bouska updated TOMAHAWK-127:
---------------------------------

    Status: Patch Available  (was: Open)

> Some components do not render valid html
> ----------------------------------------
>
>          Key: TOMAHAWK-127
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-127
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Panel Navigation2
>  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
>     Assignee: Martin Marinschek
>     Priority: Minor
>  Attachments: HtmlNavigationMenuRendererUtils.java.diff
>
> 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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-127) Some components do not render valid html

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485327 ] 

Mike Kienenberger commented on TOMAHAWK-127:
--------------------------------------------

Cancelling patch since it hasn't been valid for 6 months.


> Some components do not render valid html
> ----------------------------------------
>
>                 Key: TOMAHAWK-127
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-127
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Panel Navigation2
>         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
>         Assigned To: Martin Marinschek
>            Priority: Minor
>         Attachments: HtmlNavigationMenuRendererUtils.java.diff
>
>
> 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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-995) Some components do not render valid html

Posted by "Alin Dosoniu (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-995?page=comments#action_12361788 ] 

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: http://issues.apache.org/jira/browse/MYFACES-995
>      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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-995) Some components do not render valid html

Posted by "Alin Dosoniu (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-995?page=comments#action_12365408 ] 

Alin Dosoniu commented on MYFACES-995:
--------------------------------------

Martin,
I did not used Facelets or ADF faces in my code. I only use Tiles.
I can confirm that with jars from 07.feb.2006 (I build them locally on my computer) the warning "content occurs after end of body" does NOT appears anymore. In fact, all pages from my project are clean (o errors, o warnings in Mozilla Firefox).

Alin.

> Some components do not render valid html
> ----------------------------------------
>
>          Key: MYFACES-995
>          URL: http://issues.apache.org/jira/browse/MYFACES-995
>      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
>     Assignee: Martin Marinschek
>     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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-127) Some components do not render valid html

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-127?page=comments#action_12436670 ] 
            
Martin Marinschek commented on TOMAHAWK-127:
--------------------------------------------

The patch is not valid anymore, and can't be applied automatically (it's in a strange format). I'm not sure about the correct position where to apply the changes manually. Can you do this patch again?

thanks,

regards,

Martin

> Some components do not render valid html
> ----------------------------------------
>
>                 Key: TOMAHAWK-127
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-127
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Panel Navigation2
>         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
>         Assigned To: Martin Marinschek
>            Priority: Minor
>         Attachments: HtmlNavigationMenuRendererUtils.java.diff
>
>
> 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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MYFACES-995) Some components do not render valid html

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-995?page=comments#action_12365293 ] 

Martin Marinschek commented on MYFACES-995:
-------------------------------------------

Alin,

your problem was due to an incompatibility with Facelets and ADF faces - should already have been solved in the current nightly build.

regards,

Martin

> Some components do not render valid html
> ----------------------------------------
>
>          Key: MYFACES-995
>          URL: http://issues.apache.org/jira/browse/MYFACES-995
>      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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TOMAHAWK-127) Some components do not render valid html

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Kienenberger updated TOMAHAWK-127:
---------------------------------------

    Status: Open  (was: Patch Available)

> Some components do not render valid html
> ----------------------------------------
>
>                 Key: TOMAHAWK-127
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-127
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Panel Navigation2
>         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
>         Assigned To: Martin Marinschek
>            Priority: Minor
>         Attachments: HtmlNavigationMenuRendererUtils.java.diff
>
>
> 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 'multiple="multiple"'
> rendered code: 
> <select id="..." name="..." multiple="true">
> ...
> </select>
> w3c-validator message: value of attribute "MULTIPLE" cannot be "TRUE"; must be one of "MULTIPLE".
> <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.
-
You can reply to this email to add a comment to the issue online.