Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-qtags/src/main/java/org/xdoclet/plugin/qtags/impl
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30066/plugin-qtags/src/main/java/org/xdoclet/plugin/qtags/impl

Modified Files:
        QTagImplPlugin.vm 
Log Message:
fix for XDP-77



Index: QTagImplPlugin.vm
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-qtags/src/main/java/org/xdoclet/plugin/qtags/impl/QTagImplPlugin.vm,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** QTagImplPlugin.vm   21 Aug 2005 13:44:30 -0000      1.15
--- QTagImplPlugin.vm   3 May 2006 19:18:37 -0000       1.16
***************
*** 126,129 ****
--- 126,130 ----
          // check uniqueness
  #if ( $class.getTagByName('qtags.once') )
+         // deprecated here. check validateModel
                if(getContext().getTagsByName(NAME).length > 1) {
                        bomb("is allowed only once");
***************
*** 156,158 ****
--- 157,168 ----
  #end
      }
+ 
+     public void validateModel() {
+         // check uniqueness
+ #if ( $class.getTagByName('qtags.once') )
+         if(getContext().getTagsByName(NAME).length > 1) {
+             bomb("is allowed only once");
+         }
+ #end
+     }
  }
\ No newline at end of file



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to