You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Paul Ferraro (JIRA)" <ta...@jakarta.apache.org> on 2005/08/02 18:49:35 UTC

[jira] Assigned: (TAPESTRY-521) Button component creates invalid element (doesn't close tag properly)

     [ 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="Start@Button" 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org