You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ke Deng <la...@yahoo.com> on 2005/11/02 05:07:54 UTC

RenderBlock Example debug summary

Hi,all:
  I have studied the RenderBlock example on the
Tapestry homepage from a few days ago.When i tried the
example,I was confused by the bugs in the
documents,now, I think i have already found all the
bugs in the documents,so i post this summary and wish
this to be useful for the tapestry new comer .

Bugs:
1.blockNames in the TabTest.html. TabPanel is not
allowed informal parameter,and blockNames is not
present in its component specification ,so blockNames
will result in error,it should be changed to blockIds.
2.getBlockNames() method should be changed to
getBlockId().the reason is assoicated with bug 1.
3.Absent property declaration for selectedBlock and
tabSelected.Add the following to TabPanel.jwc file:
    <property name="selectedBlock" persist="session"/>
    <property name="tabSelected" persist="session"/>

  If there are errors in the above ,please let me
know.By the way,I don't know why not let the tabPanel
component be the implicit one for the Tapestry?
Thanks and Regards,
Karl.


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: RenderBlock Example debug summary

Posted by Ke Deng <la...@yahoo.com>.
<property name="selectedBlock" persist="session"/>
 <property name="tabSelected" persist="session"/>

selectedBlock and tabSelected are declared in page java file , and not neccessary to be declared in this.
 
disabled in component link should be false , or <a></a> tag will not be produced.

Ke Deng <la...@yahoo.com> wrote:
Hi,all:
I have studied the RenderBlock example on the
Tapestry homepage from a few days ago.When i tried the
example,I was confused by the bugs in the
documents,now, I think i have already found all the
bugs in the documents,so i post this summary and wish
this to be useful for the tapestry new comer .

Bugs:
1.blockNames in the TabTest.html. TabPanel is not
allowed informal parameter,and blockNames is not
present in its component specification ,so blockNames
will result in error,it should be changed to blockIds.
2.getBlockNames() method should be changed to
getBlockId().the reason is assoicated with bug 1.
3.Absent property declaration for selectedBlock and
tabSelected.Add the following to TabPanel.jwc file:







If there are errors in the above ,please let me
know.By the way,I don't know why not let the tabPanel
component be the implicit one for the Tapestry?
Thanks and Regards,
Karl.




__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.