Thanks, I didn't notice the prefix (displayNewToDay.TEST_NEW_DOWNLOADS_IN_CATEGORY) in the tutorial. This fixed most of the problems I was having. However, I am still having problems with the nesting. Here is a snipit of the template:
| <!-- BEGIN displayDetails --> | | ... | | <!-- BEGIN noRegisteredUsers --> | <font class="pn-normal">{noRegisteredUsers.TEXT_NO_REGISTERED_USER_VOTES}</font> | <!-- END noRegisteredUsers --> | <!-- BEGIN mainRegisteredStatBox --> | <table border="1" width="200"> | <tr> | <td valign="top" align="center" colspan="10" bgcolor="#FFFFFF">{mainRegisteredStatBox.TEXT_BREAKDOWN_OF_RATINGS_BY_VALUE} | </td> | </tr> | <tr> | <!-- BEGIN registeredStatBox --> | <td bgcolor="#e7e7e7" valign="bottom"> | <img border="0" alt="{registeredStatBox.STAT_ALT}" src="modules/Downloads/images/blackpixel.gif" width="15" height="{registeredStatBox.STAT_HEIGHT}"> | </td> | <!-- END registeredStatBox --> | </tr> | <tr> | <td colspan="10" bgcolor="#FFFFFF"> | <table cellspacing="0" cellpadding="0" border="0" width="205"> | <tr> | <td width="10%" valign="bottom" align="center">1 | </td> | <td width="10%" valign="bottom" align="center">2 | </td> | <td width="10%" valign="bottom" align="center">3 | </td> | <td width="10%" valign="bottom" align="center">4 | </td> | <td width="10%" valign="bottom" align="center">5 | </td> | <td width="10%" valign="bottom" align="center">6 | </td> | <td width="10%" valign="bottom" align="center">7 | </td> | <td width="10%" valign="bottom" align="center">8 | </td> | <td width="10%" valign="bottom" align="center">9 | </td> | <td width="10%" valign="bottom" align="center">10 | </td> | </tr> | </table> | </td> | </tr> | </table> | <!-- END mainRegisteredStatBox --> | | ... | | <!-- END displayDetails --> | And the code using the template: | displayDownloadDetailContext.put("TEXT_IS_THIS_YOUR_DOWNLOAD", ""); | displayDownloadDetailContext.put("TEXT_ALLOW_OTHER_USERS_TO_RATE", ""); | | if (numberOfRegisteredVotes == 0) | { | DelegateContext noRegisteredUsersContext = displayDownloadDetailContext.next("noRegisteredUsers"); | noRegisteredUsersContext.put("TEXT_NO_REGISTERED_USER_VOTES", ""); | } | else | { | DelegateContext mainRegisteredStatBoxContext = displayDownloadDetailContext.next("mainRegisteredStatBox"); | mainRegisteredStatBoxContext.put("TEXT_BREAKDOWN_OF_RATINGS_BY_VALUE", ""); | for (int i = 0; i < 10; i++) | { | DelegateContext registeredStatBoxContext = mainRegisteredStatBoxContext.next("registeredStatBox"); | registeredStatBoxContext.put("STAT_ALT", Integer.toString(registeredVoteList[ i ]) + " (" + registeredPercentPerRating[ i ] + "% )"); | registeredStatBoxContext.put("STAT_HEIGHT", Integer.toString((int)registeredChartHeight)); | } | } | I am not getting any of the Context text in the registeredStatBox part of the template which is a nested template inside a nested template. The first two levels work fine. Any Ideas? Thanks, Dennis Przybyla View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823370#3823370 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823370 ------------------------------------------------------- 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