Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
In directory james.mmbase.org:/tmp/cvs-serv3492/pageflow
Modified Files:
Url.java
Log Message:
getActionUrl->getProcessUrl
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.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- Url.java 22 Feb 2008 13:04:53 -0000 1.38
+++ Url.java 22 Feb 2008 14:10:14 -0000 1.39
@@ -35,7 +35,7 @@
* <p>
* The creation of the URL is delegated to the MMBase framework.
* </p>
- * @version $Id: Url.java,v 1.38 2008/02/22 13:04:53 michiel Exp $;
+ * @version $Id: Url.java,v 1.39 2008/02/22 14:10:14 michiel Exp $;
* @since MMBase-1.9
*/
public class Url implements Comparable, CharSequence, Casting.Unwrappable {
@@ -55,7 +55,7 @@
private String cacheNoAmp = null;
private String string = null;
private final boolean internal;
- private boolean action = false;
+ private boolean process = false;
private boolean legacy = false;
@@ -110,8 +110,8 @@
}
}
- public void setAction() {
- action = true;
+ public void setProcess() {
+ process = true;
}
public void setLegacy() {
@@ -152,11 +152,15 @@
}
if (internal) {
- log.debug("Creating internal url link to page: " + page, new
Exception());
+ if (log.isTraceEnabled()) {
+ log.trace("Creating internal url link to page: " + page, new
Exception());
+ } else {
+ log.debug("Creating internal url link to page: " + page);
+ }
result = framework.getInternalUrl(page, params,
frameworkParameters).toString();
} else {
- if (action) {
- result = framework.getActionUrl(page, params,
frameworkParameters, writeamp).toString();
+ if (process) {
+ result = framework.getProcessUrl(page, params,
frameworkParameters, writeamp).toString();
} else {
result = framework.getUrl(page, params, frameworkParameters,
writeamp).toString();
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs