Hi Biba, What's inside sitemenulinkrewriter.xconf and sitemenulinkrewriter.xroles. Please not that the regular pipeline that calls newsletter-*-*.xsl does not contain a linkrewrite transformation. What we usually do is to handle the links from the newsletter paths in the front end. Something like http://mysite/newsletterlink/content/folder/document.xml which does a redirect to http://mysite/articles,folder/document.html
Jasha Joachimsthal [EMAIL PROTECTED] - [EMAIL PROTECTED] www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Biba > Sent: woensdag 24 september 2008 15:42 > To: 'Hippo CMS development public mailinglist'; Hippo Helpdesk > Cc: Nicu Lazar > Subject: [HippoCMS-dev] Link rewriter > > Hello all, > > I need to use link rewriter in my ' > newsletter-html-internet.xsl ' file. > Could somebody tell me what do I need to configure in order > to use rewriter? > > I try to add these two files in editor/src/conf: > ' sitemenulinkrewriter.xconf ' and > ' sitemenulinkrewriter.xroles '. > > I defined transformer in hcamanager/newsletter/sitemap.xmap: > > <map:transformers> > <map:transformer logger="sitemap.transformers" > name="sitemenulinkrewriter" pool-grow="4" pool-max="32" pool-min="4" > src="nl.hippo.cocoon.transformation.SitemenuLinkRewriterTranformer"/> > </map:transformers> > > I get this error: > > Caused by: org.apache.commons.lang.exception.NestableRuntimeException: > javax.xml.transform.TransformerException: > java.lang.NullPointerException > at > org.apache.cocoon.transformation.TraxTransformer.endDocument(T > raxTransformer > .java:604) > at > org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLP > ipe.java:56) > at > org.apache.cocoon.transformation.IncludeTransformer$IncludeXML > Pipe.endDocume > nt(IncludeTransformer.java:763) > at > org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLP > ipe.java:56) > at > org.apache.cocoon.transformation.IncludeTransformer.endDocumen > t(IncludeTrans > former.java:380) > at > org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAX > Handler.java:1 > 81) > .... > > I will appreciate any help, > Biba > > > Met vriendelijke groet / Kind regards, > Biljana Boskovic > Software Developer/Service Support Manager > Levi9 Global Sourcing > =============================================================== > Adress: Jan van Goyenkade 8, 1075 HP Amsterdam > Tel.: (+31) (0) 20 6701 947 > Mobile: (+381) (0) 64 8509 308 > Email: [EMAIL PROTECTED] > SkypeID: b.jovanovic.b > Internet: www.levi9.com > > Chamber of commerce Levi9 Global Sourcing BV: 34221951 > Chamber of commerce Levi9 Global Sourcing Benelux BV: > 34224746 > =============================================================== > This e-mail may contain confidential or privileged > information. If you are not (one of) the intended > recipient(s), please notify the sender immediately by reply > e-mail and delete this message and any attachments > permanently without retaining a copy. Any review, disclosure, > copying, distribution or taking any action in reliance on the > contents of this e-mail by persons or entities other than the > intended recipient(s) is strictly prohibited and may be unlawful. > > The services of Levi9 are exclusively subject to its general > terms and conditions. These general terms and conditions can > be found on www.levi9.com and a copy will be promptly > submitted to you on your request and free of charge. > > > > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
