[JIRA] Commented: (STS-71) The hidden input fields inside form break HTML validation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-71) The hidden input fields inside form break HTML validation

JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970#comment-12970 ]

Darian Bridge commented on STS-71:
----------------------------------

Hello Tim and Ben, great work on a fantastic framework. After much searching I found this fixed defect.

I'd like an option of being able to disable the automatic creation of the div tags around the hidden fields in a form. Granted that I'd be producing invalid HTML, but I actually use Stripes to produce XML that is not actually HTML, which I then apply an XSLT transform over. So the div tags are somewhat of an annoyance to me.

Thanks.

> The hidden input fields inside form break HTML validation
> ---------------------------------------------------------
>
>                 Key: STS-71
>                 URL: http://www.stripesframework.org/jira/browse/STS-71
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.0, Release 1.0.1
>            Reporter: Jordan Reed
>            Assignee: Tim Fennell
>            Priority: Minor
>             Fix For: Release 1.1
>
>
> When the <stripes:form> generates HTML, it creates hidden input fields directly inside.
> According to HTML 4.0/XHTML spec, the FORM tag can only have block-level elements inside it:
> http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.3
> So you will need to wrap these in some sort of block-level element.  Maybe a div tab that has been styled to take up no space.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development