dev@jsftemplating.java.net

regarding <!include> tag

From: Irfan Ahmed <irfan_at_sun.com>
Date: Thu, 20 Dec 2007 19:20:10 +0530

Hi Ken,

I am noticing a problem with the <!include> tag. It seems that if you
have two <!include> tags in a JSF page, then only the first one is
included.

I tried to include two properties through <!include> tag in the
configuration/configuration.jsf and it always shows the first property.

I have attached the files and the diffs with this mail.

Rgds
Irfan.
-- 
Irfan Ahmed
9180-66927726, Sun Microsystems Inc., Bangalore, India.

$page{configName}); compare(obj1="$pageSession{configName}" obj2="server-config" objEqual=>$attribute{isServerConfig}); setPageSessionAttribute(key="showIt" value="$boolean{false}"); if ($session{supportCluster} & !${isServerConfig}){ setPageSessionAttribute(key="showIt" value="$boolean{true}"); } /> #include "shared/restart.inc" #include treeBreadcrumbs.inc
Index: configuration.jsf
===================================================================
RCS file: /cvs/glassfish/admin-gui/src/docroot/configuration/configuration.jsf,v
retrieving revision 1.5
diff -u -w -r1.5 configuration.jsf
--- configuration.jsf 5 May 2007 05:27:08 -0000 1.5
+++ configuration.jsf 20 Dec 2007 13:49:01 -0000
@@ -96,9 +96,8 @@
                                 <sun:image url="/resource/images/container.gif" />
                                 <sun:staticText text="$resource{i18n.tree.ejbContainer}" />
                             </sun:hyperlink>
-
-
                         </sun:property>
+ <!include src="/sip/includes/sipContainerConfigLink.inc" required="false"/>
                         <sun:property>
                         <sun:hyperlink
                                 toolTip="$resource{i18n.tree.javaMessageService.tooltip}"
@@ -147,6 +146,7 @@
                             </sun:hyperlink>
                           
                         </sun:property>
+ <!include src="/sip/includes/sipServiceConfigLink.inc" required="false"/>
                         <sun:property>
                         
                         <sun:hyperlink