Hi Daniel,

Any chance you could try and reproduce this with 4.x ?

Cheers,

-g

On Nov 16, 2009, at 6:21 PM, Daniel Hops wrote:


Hello,

I am using Magnolia 3.6.7.

Problem:
When doing a forward, using the Magnolia VirtualURIMapping/filter mechanism, the new URL parameters of the forwared page get lost; e.g. in FreemarkerParagraphRenderer they are not existent.

Example VirtualURIMapping:
class = info.magnolia.cms.beans.config.RegexpVirtualURIMapping
fromURI = /oldFoo/(\d+)/
toURI = forward:/newBar/hello.html?id=$1

Using this mapping the new id=<int value> Parameter does not appear in FreemarkerParagraphRenderer.execute method calling MgnlContext.getParameters().

If I change the toURI in the VirtualURIMapping to
toURI = redirect:/newBar/hello.html?id=$1

the id URL parameter is fetchable from FreemarkerParagraphRenderer.execute method calling MgnlContext.getParameters().

Any suggestions?

Regards
Daniel Hops


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to