Author: michiel
Date: 2009-07-06 10:16:29 +0200 (Mon, 06 Jul 2009)
New Revision: 36548
Modified:
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/test/urls.jspx
Log:
mm:link with absolute urls works
Modified:
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/test/urls.jspx
===================================================================
--- mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/test/urls.jspx
2009-07-06 08:13:27 UTC (rev 36547)
+++ mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/test/urls.jspx
2009-07-06 08:16:29 UTC (rev 36548)
@@ -102,6 +102,10 @@
<mm:component name="test" block="suburls" />
-->
+ <mm:link page="http://www.google.com">
+ <p>${_ eq 'http://www.google.com' ? 'ok' : 'NOT ok'}: ${_}</p>
+ </mm:link>
+
<h2>Framework params</h2>
<mm:link absolute="context">
@@ -205,6 +209,12 @@
<a href="${_}">Redirect to <mm:url page="/" absolute="true" /></a>
(fails)
</mm:link>
</p>
+ <p>
+ <mm:link>
+ <mm:param name="redirect">http://www.google.com</mm:param>
+ <a href="${_}">Redirect to google.com</a> (fails)
+ </mm:link>
+ </p>
<h3>Unfiltered rendering</h3>
<mm:link page="/mmbase/components/test/unfilteredurls.jspx" referids="x?">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs