Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
In directory james.mmbase.org:/tmp/cvs-serv1058

Modified Files:
        Url.java 
Log Message:
support for getActionUrl


See also: 
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow


Index: Url.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow/Url.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- Url.java    19 Feb 2008 15:42:15 -0000      1.37
+++ Url.java    22 Feb 2008 13:04:53 -0000      1.38
@@ -35,7 +35,7 @@
  * <p>
  * The creation of the URL is delegated to the MMBase framework.
  * </p>
- * @version $Id: Url.java,v 1.37 2008/02/19 15:42:15 michiel Exp $;
+ * @version $Id: Url.java,v 1.38 2008/02/22 13:04:53 michiel Exp $;
  * @since MMBase-1.9
  */
 public class Url implements Comparable, CharSequence, Casting.Unwrappable {
@@ -155,7 +155,11 @@
             log.debug("Creating internal url link to page: " + page, new 
Exception());
             result = framework.getInternalUrl(page, params, 
frameworkParameters).toString();
         } else {
+            if (action) {
+                result = framework.getActionUrl(page, params, 
frameworkParameters, writeamp).toString();
+            } else {
             result = framework.getUrl(page, params, frameworkParameters, 
writeamp).toString();
+            }
             if (log.isDebugEnabled()) {
                 log.debug("Created normal url link to page: " + page + " " + 
params + " fw: " + frameworkParameters + " -> " + result + " fw");
             }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to