You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bw...@apache.org on 2006/04/25 23:34:52 UTC
svn commit: r396987 -
/tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/RenderBlock.xml
Author: bwallace
Date: Tue Apr 25 14:34:48 2006
New Revision: 396987
URL: http://svn.apache.org/viewcvs?rev=396987&view=rev
Log:
[TAPESTRY-927] Fixed example documentation
Modified:
tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/RenderBlock.xml
Modified: tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/RenderBlock.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/RenderBlock.xml?rev=396987&r1=396986&r2=396987&view=diff
==============================================================================
--- tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/RenderBlock.xml (original)
+++ tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/RenderBlock.xml Tue Apr 25 14:34:48 2006
@@ -108,7 +108,7 @@
<source><![CDATA[
<html jwcid="@Shell" title="TabPanel Test">
<body>
- <span jwcid="@TabPanel" blockNames="ognl:{'berlin', 'rome', 'tokyo'}" selectColor="#FFFF00" unSelectColor="#CCFFFF" borderColor="#00CC33"/>
+ <span jwcid="@TabPanel" blockIds="ognl:{'berlin', 'rome', 'tokyo'}" selectColor="#FFFF00" unSelectColor="#CCFFFF" borderColor="#00CC33"/>
<span jwcid="berlin@Block">
<h1>Berlin</h1>
@@ -270,7 +270,7 @@
String selectedId = getSelectedBlockId();
if (selectedId == null)
- selectedId = (String) getBlockNames().get(0);
+ selectedId = (String) getBlockIds().get(0);
return (Block) getContainer().getComponent(selectedId);
}
@@ -280,7 +280,7 @@
String selectedId = getSelectedBlockId();
if (selectedId == null)
- selectedId = (String) getBlockNames().get(0);
+ selectedId = (String) getBlockIds().get(0);
return getBlockId().equals(selectedId);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org