[ http://issues.apache.org/jira/browse/TAPESTRY-521?page=all ]

Paul Ferraro reassigned TAPESTRY-521:
-------------------------------------

    Assign To: Paul Ferraro

> Button component creates invalid element (doesn't close tag properly)
> ---------------------------------------------------------------------
>
>          Key: TAPESTRY-521
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-521
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Dave Syer
>     Assignee: Paul Ferraro

>
> Button component creates invalid element (doesn't close tag properly).  E.g. 
> this
> <input jwcid="[EMAIL PROTECTED]" class="button" label="submit" 
> onClick="document.form.submit()"/>
> produces this in the generated HTML:
> <button type="button" name="Start" id="Start" 
> onClick="document.form.submit()" class="button"/>submit>
> (Note the extraneous ">" and the fact that the intended label is actually 
> outside the button element.)
> The fix is probably easy.  I have tried just changing the renderer to use 
> writer.begin() and writer.end() instead of writer.beginEmpty() and 
> writer.closeTag().  This seems to work.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to