You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ta...@jakarta.apache.org on 2004/10/18 12:38:51 UTC
[jira] Created: (TAPESTRY-217) jwc file for RenoderBlock example in Component Ref is wrong
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/TAPESTRY-217
Here is an overview of the issue:
---------------------------------------------------------------------
Key: TAPESTRY-217
Summary: jwc file for RenoderBlock example in Component Ref is wrong
Type: Bug
Status: Unassigned
Priority: Major
Project: Tapestry
Components:
Documentation
Examples
Versions:
3.0
Assignee:
Reporter: Saqib Rasul
Created: Mon, 18 Oct 2004 3:36 AM
Updated: Mon, 18 Oct 2004 3:36 AM
Description:
The component Specification file for the RenderBlock Example in the Component Reference is wrong and is not validated by the XML parser.
Seems that the property-specification tags must come after the parameter tags. The specification that works for me is:
<component-specification class="yoyo.TabPanel" allow-body="no" allow-informal-parameters="yes">
<description>add a description</description>
<parameter name="blockNames" direction="in" type="java.util.List" required="yes"/>
<parameter name="borderColor" direction="in" type="java.lang.String" required="yes"/>
<parameter name="selectColor" direction="in" type="java.lang.String" required="no"/>
<parameter name="unSelectColor" direction="in" type="java.lang.String" required="no"/>
<property-specification name="selectedBlock" type="java.lang.String"/>
<property-specification name="currentBlock" type="java.lang.String"/>
<component id="link" type="DirectLink">
<binding name="listener" expression="listeners.selectBlock"/>
<binding name="parameters" expression="components.foreach.value"/>
<binding name="disabled" expression="currentBlock == selectedBlock"/>
<binding name="stateful" expression="false"/>
</component>
</component-specification>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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
[jira] Closed: (TAPESTRY-217) jwc file for RenoderBlock example in Component Ref is wrong
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-217?page=all ]
Howard M. Lewis Ship closed TAPESTRY-217:
-----------------------------------------
Fix Version: 4.0
Resolution: Fixed
This appears to have been fixed during the translate/rewrite of the Block and RenderBlock component reference pages.
> jwc file for RenoderBlock example in Component Ref is wrong
> -----------------------------------------------------------
>
> Key: TAPESTRY-217
> URL: http://issues.apache.org/jira/browse/TAPESTRY-217
> Project: Tapestry
> Type: Bug
> Components: Documentation, Examples
> Versions: 3.0
> Reporter: Saqib Rasul
> Fix For: 4.0
>
> The component Specification file for the RenderBlock Example in the Component Reference is wrong and is not validated by the XML parser.
> Seems that the property-specification tags must come after the parameter tags. The specification that works for me is:
> <component-specification class="yoyo.TabPanel" allow-body="no" allow-informal-parameters="yes">
>
> <description>add a description</description>
>
> <parameter name="blockNames" direction="in" type="java.util.List" required="yes"/>
> <parameter name="borderColor" direction="in" type="java.lang.String" required="yes"/>
> <parameter name="selectColor" direction="in" type="java.lang.String" required="no"/>
> <parameter name="unSelectColor" direction="in" type="java.lang.String" required="no"/>
> <property-specification name="selectedBlock" type="java.lang.String"/>
> <property-specification name="currentBlock" type="java.lang.String"/>
> <component id="link" type="DirectLink">
> <binding name="listener" expression="listeners.selectBlock"/>
> <binding name="parameters" expression="components.foreach.value"/>
> <binding name="disabled" expression="currentBlock == selectedBlock"/>
> <binding name="stateful" expression="false"/>
> </component>
>
> </component-specification>
--
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