portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Davis" <steve.da...@digitalevergreen.com>
Subject PATCH: template.tld
Date Fri, 06 Jul 2001 16:16:42 GMT
Here is a patch for the template.tld file that will allow 
scripting variables to be used as the name attribute values 
for the pane and portlet tags.  I.E. for

   <% String pane = "some_pane_name"; %>
   <jetspeed:pane name="<%= pane %>" />

The "<%= pane %>" value will now be interpreted by the jsp parser
and turned into the string "some_pane_name" before being passed
to the JetspeedPaneTag code. Currently it passes the literal
string "<%= pane %>" to the JetspeedPaneTag code.

################# Begin Patch ##############################

Index: template.tld
===================================================================
RCS file:
/home/cvspublic/jakarta-jetspeed/webapp/WEB-INF/templates/jsp/tld/templa
te.tld,v
retrieving revision 1.8
diff -u -r1.8 template.tld
--- template.tld	2001/06/07 22:01:27	1.8
+++ template.tld	2001/07/06 16:00:43
@@ -18,6 +18,7 @@
     <attribute>
       <name>name</name>
       <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>
   <tag>   
@@ -27,6 +28,7 @@
     <attribute>
       <name>name</name>
       <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>
   <tag>   

################# End Patch ##################################

Steven F. Davis
Application Architect
steve.davis@digitalevergreen.com
Digital Evergreen Interactive

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


Mime
View raw message