[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib TransitionTag.java

JCorporate Ltd jcorp at jcorp2.servlets.net
Fri Jun 4 13:15:57 PDT 2004


Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib
In directory jcorp2.servlets.net:/tmp/cvs-serv28523/expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib

Modified Files:
	TransitionTag.java 
Log Message:
commit change to support SRC attribute by 'daniel.kibler at rhi.com'


Index: TransitionTag.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib/TransitionTag.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** TransitionTag.java	27 Oct 2003 19:10:39 -0000	1.14
--- TransitionTag.java	4 Jun 2004 20:15:55 -0000	1.15
***************
*** 171,174 ****
--- 171,187 ----
                      }
  
+                     // support SRC attribute from 'daniel.kibler at rhi.com'
+                         if ((typeToUse == null) || "".equals(typeToUse)) {
+                             //give it a default value
+                             typeToUse = oneTransition.getType();
+                         }
+ 
+ 
+                         if ((srcToUse == null) || "".equals(srcToUse)) {
+                             //give it a default value
+                             srcToUse = oneTransition.getAttribute("SRC");
+                         }
+                     // end mod by 'daniel.kibler at rhi.com' 
+ 
                      //Add the hidden form field that contains the encoded button params
                      //Also, add a hidden form field with the "cmd=button" pair.



More information about the cvs mailing list