tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Updated: (TAP5-385) Tapestry 5 often renders empty elements incorrectly
Date Thu, 19 Feb 2009 22:46:01 GMT

     [ https://issues.apache.org/jira/browse/TAP5-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship updated TAP5-385:
--------------------------------------

    Summary: Tapestry 5 often renders empty elements incorrectly  (was: Tapestry 5 renders
an HTML output often renders empty elements incorrect)

> Tapestry 5 often renders empty elements incorrectly
> ---------------------------------------------------
>
>                 Key: TAP5-385
>                 URL: https://issues.apache.org/jira/browse/TAP5-385
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.16
>            Reporter: Peter Stavrinides
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.1.0.0
>
>
> The Tapestry markup renderer renders an empty XHTML <label />  incorrectly, it
encloses subsequent elements instead of closing immediately, example:
> This line of code:
> <label class="formLabel" /><t:textfield t:id="address2" value="site.address2"
/><br/>
> Is rendering as:
> <label class="formLabel">
>    <input id="address2" type="text" name="address2"/>
>    <img id="address2:icon" class="t-error-icon" src="../../assets/5.0.16-SNAPSHOT/tapestry/spacer.gif"
alt="" style="display: none;"/>
>    <br/>
> </label>
> instead of:
> <label class="formLabel inlineBlock"/>
> <input id="address2" type="text" name="address2"/>
> <img id="address2:icon" class="t-error-icon" src="../../assets/5.0.16-SNAPSHOT/tapestry/spacer.gif"
alt="" style="display: none;"/>
> <br/> 
> It appears an empty tag or whitespace is not dealt with.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message