when nesting, you need to prefix the template variable name w/ the same string that 
you pass into the "next" method. 

ie: TEST_NEW_DOWNLOADS_IN_CATEGORY" should really be: 

displayNewToDay.TEST_NEW_DOWNLOADS_IN_CATEGORY

and if you don't invoke next, the template won't render the data (that's from the wiki 
faq).

be careful using the &lt-- BEGIN tags b/c that will cause the template to look for 
something to nest/loop over. 

if you want to know where one template starts, and another begins, i recommend just 
putting just the template name at the start and end of the template's html block.

i added javadoc to the Context and DelegateContext to try and help w/ some of this, so 
do an update of those classes to pull the docs. also check the wiki entry that kevin 
posted. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823340#3823340

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823340


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to