You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2007/02/22 19:31:05 UTC
[jira] Created: (TAPESTRY-1290) Nested components using
don't render correctly
Nested components using <t:body> don't render correctly
-------------------------------------------------------
Key: TAPESTRY-1290
URL: https://issues.apache.org/jira/browse/TAPESTRY-1290
Project: Tapestry
Issue Type: Bug
Components: Core
Affects Versions: 5.0
Reporter: Howard M. Lewis Ship
Assigned To: Howard M. Lewis Ship
Priority: Blocker
This was reported on the mailing list:
I have a fieldset component that looks like this.
<fieldset t:type="Any"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<span t:type="If" test="title">
<legend>${title}</legend>
</span>
<t:body />
</fieldset>
I expect that the content of the body would render inside the
<fieldset> but it doesnt.
what I get is this,
<fieldset>
<legend>This is a fieldset</title>
</fieldset>
Here goes the body of the fieldset component?!
I was able to reproduce this easily.
--
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: (TAPESTRY-1290) Nested components using
don't render correctly
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-1290.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0
Found the problem; a minor bug inside PageLoaderProcessor where it was always adding the RenderBody element to the loading component's template, when it should have been adding it to the active element's body.
> Nested components using <t:body> don't render correctly
> -------------------------------------------------------
>
> Key: TAPESTRY-1290
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1290
> Project: Tapestry
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.0
> Reporter: Howard M. Lewis Ship
> Assigned To: Howard M. Lewis Ship
> Priority: Blocker
> Fix For: 5.0
>
>
> This was reported on the mailing list:
> I have a fieldset component that looks like this.
> <fieldset t:type="Any"
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
> <span t:type="If" test="title">
> <legend>${title}</legend>
> </span>
> <t:body />
> </fieldset>
> I expect that the content of the body would render inside the
> <fieldset> but it doesnt.
> what I get is this,
> <fieldset>
> <legend>This is a fieldset</title>
> </fieldset>
> Here goes the body of the fieldset component?!
> I was able to reproduce this easily.
--
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