You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Finn Kennedy (JIRA)" <de...@tapestry.apache.org> on 2008/10/02 01:42:44 UTC
[jira] Created: (TAPESTRY-2699) Select component does not generate
valid select with closing
Select component does not generate valid select with closing </option>
----------------------------------------------------------------------
Key: TAPESTRY-2699
URL: https://issues.apache.org/jira/browse/TAPESTRY-2699
Project: Tapestry
Issue Type: Bug
Components: Core Components
Affects Versions: 5.0.15
Environment: Blackberry browser
Reporter: Finn Kennedy
Select component when rendering does not output a closing </option> which mean for the Blackberry and other mobile browsers that the select is interpreted as a single option in the drop down.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Commented: (TAPESTRY-2699) Select component does not
generate valid select with closing
Posted by "Francois Armand (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636297#action_12636297 ]
Francois Armand commented on TAPESTRY-2699:
-------------------------------------------
That's something that has been dealt with several time in the ml, see for example : http://markmail.org/search/?q=list%3Aorg.apache.tapestry.users+Tapestry+5+-+doesn%27t+generate+valid+XHTML#query:list%3Aorg.apache.tapestry.users%20Tapestry%205%20-%20doesn%27t%20generate%20valid%20XHTML+page:1+mid:e7s6luenjtiap6ef+state:results
Summary : the HTML compliance of generated markup depends on both your pages doctype and their content type.
So, to have valid XHTML (not closing the option tag is valid HTML 4), you have to add the XHTML doctype and set the content type to "application/xhtml+xml".
BUT. There is a bug in IE, well known by IE dev (who doesn't really care to correct it - it's still in IE 7), that make this browser don't understand this content-type.
So, you may want to look to this how-to, which bring a solution (T5 is so extendable that there is always a simple solution :) : http://wiki.apache.org/tapestry/Tapestry5HowToXhtml
---
To T5 developers : as this error come again and again, and as the huge majority of us want to produce valid XHTML (understandable by IE) by default, it would be great to find a solution, even if the real problem is an IE bug.
> Select component does not generate valid select with closing </option>
> ----------------------------------------------------------------------
>
> Key: TAPESTRY-2699
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2699
> Project: Tapestry
> Issue Type: Bug
> Components: Core Components
> Affects Versions: 5.0.15
> Environment: Blackberry browser
> Reporter: Finn Kennedy
>
> Select component when rendering does not output a closing </option> which mean for the Blackberry and other mobile browsers that the select is interpreted as a single option in the drop down.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Closed: (TAP5-270) Select component does not generate valid
select with closing
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-270.
-------------------------------------
Resolution: Invalid
Assignee: Howard M. Lewis Ship
If you want to generate XHTML there's a proper approach (in the wiki).
> Select component does not generate valid select with closing </option>
> ----------------------------------------------------------------------
>
> Key: TAP5-270
> URL: https://issues.apache.org/jira/browse/TAP5-270
> Project: Tapestry 5
> Issue Type: Bug
> Environment: Blackberry browser
> Reporter: Finn Kennedy
> Assignee: Howard M. Lewis Ship
>
> Select component when rendering does not output a closing </option> which mean for the Blackberry and other mobile browsers that the select is interpreted as a single option in the drop down.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Commented: (TAPESTRY-2699) Select component does not
generate valid select with closing
Posted by "Finn Kennedy (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636367#action_12636367 ]
Finn Kennedy commented on TAPESTRY-2699:
----------------------------------------
The doc type was xhtml mobile:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
> Select component does not generate valid select with closing </option>
> ----------------------------------------------------------------------
>
> Key: TAPESTRY-2699
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2699
> Project: Tapestry
> Issue Type: Bug
> Components: Core Components
> Affects Versions: 5.0.15
> Environment: Blackberry browser
> Reporter: Finn Kennedy
>
> Select component when rendering does not output a closing </option> which mean for the Blackberry and other mobile browsers that the select is interpreted as a single option in the drop down.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org