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="[EMAIL PROTECTED]">
<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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]