Hi,Kent,
  Thanks for your help! The page can display normally now after changing 
getBlockNames to getBlockIDs,but the component(id="link") nested in tabPanel 
does not work,it does not render <a> tag at all.I don't know why it is,can you 
give me a hint?
 
Thanks and Regards,
Karl.

Kent Tong <[EMAIL PROTECTED]> wrote:
Ke Deng yahoo.com> writes:

> There is a example for RenderBlock component which
> nested contain another component named TabPanel
> component.When i try this example,i encounter a
> problem for TabPanel component.There is no definition
> for "getBlockNames()" in codes for TabPanel.java.

It's a bug in the example. It should be getBlockIds(). Please
file a bug report at 
http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10573

> 1.In TabPanel.jwc,TabPanel component is defined for
> not allow informal-parameters and there is no
> parameter "blockNames",but why use it in TabTest.html?
> 2.If may use blockNames,how to define getBlockNames()
> in TabPanel.java?

As said above, it should be blockIds.

> 3.Why TabPanel is not an implicit component for
> Tapestry?

No idea about this one.

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to