Update of 
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3212/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb

Modified Files:
        WebSphereTagsHandler.java 
Log Message:
XDT-1208: Applied patch3.diff

Index: WebSphereTagsHandler.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/WebSphereTagsHandler.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** WebSphereTagsHandler.java   3 Jan 2005 09:35:15 -0000       1.1
--- WebSphereTagsHandler.java   4 Jan 2005 09:36:03 -0000       1.2
***************
*** 28,35 ****
       * @throws XDocletException  if something goes wrong
       * @doc.tag                  type="block"
       */
      public void forAllResourceRefs(String template, Properties attributes) 
throws XDocletException
      {
!         String resRefName = 
getCurrentClassTag().getAttributeValue("res-ref-name");
  
          Collection tags = 
getCurrentClass().getDoc().getTags("websphere:resource-ref", true);
--- 28,39 ----
       * @throws XDocletException  if something goes wrong
       * @doc.tag                  type="block"
+      * @doc.param                name="nameParam" optional="true" 
default="res-ref-name" description="The name of the
+      *      current tag's parameter which contains the name of the resource 
reference. The value of this parameter is
+      *      used for finding the corresponding [EMAIL PROTECTED] tag"
       */
      public void forAllResourceRefs(String template, Properties attributes) 
throws XDocletException
      {
!         String nameParam = attributes.getProperty("nameParam", 
"res-ref-name");
!         String resRefName = getCurrentClassTag().getAttributeValue(nameParam);
  
          Collection tags = 
getCurrentClass().getDoc().getTags("websphere:resource-ref", true);



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to