[Yanel-commits] rev 23618 -
public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources
josias at wyona.com
josias at wyona.com
Thu Apr 5 22:41:12 CEST 2007
Author: josias
Date: 2007-04-05 22:41:11 +0200 (Thu, 05 Apr 2007)
New Revision: 23618
Modified:
public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java
Log:
fixed menu links on the contact page by passing the correct path
Modified: public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java 2007-04-05 16:07:25 UTC (rev 23617)
+++ public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java 2007-04-05 20:41:11 UTC (rev 23618)
@@ -180,8 +180,8 @@
// create second xslt transformer:
TransformerHandler xsltHandler2 = tf.newTransformerHandler(getXSLTStreamSource(path, repository));
transformer = xsltHandler2.getTransformer();
- transformer.setParameter("yanel.path.name", path.getName());
- transformer.setParameter("yanel.path", path.toString());
+ transformer.setParameter("yanel.path.name", PathUtil.getName(getPath()));
+ transformer.setParameter("yanel.path", getPath());
transformer.setParameter("yanel.back2context", PathUtil.backToContext(realm, getPath()));
transformer.setParameter("yarep.back2realm", PathUtil.backToRealm(getPath()));
More information about the Yanel-commits
mailing list