CurrentPage doesn't seems to be set correctly when using SearchForTemplate NotFoundHandler
I have a site, where I'm in progress with a redesign of the site. I'm making a new set of templates, and test them by include the new template in the url eg http://site.com/node/template.aspx. So far så good.
At least one of the templates (both the old one and the new one) I use a macro and xslt, which loops though some of the descendants of the $currentPage. But It doesn't seems that the $currentPage param is set on the new pages (that one used as alternativ template by SearchForTemplate handler). If I just use http:/site.com/node.aspx (with the old template) the XSLT do the right job.
Hope I have explained me well. If other can reproduce the issue, I will raise it at codeplex.
CurrentPage doesn't seems to be set correctly when using SearchForTemplate NotFoundHandler
I have a site, where I'm in progress with a redesign of the site. I'm making a new set of templates, and test them by include the new template in the url eg http://site.com/node/template.aspx. So far så good.
At least one of the templates (both the old one and the new one) I use a macro and xslt, which loops though some of the descendants of the $currentPage. But It doesn't seems that the $currentPage param is set on the new pages (that one used as alternativ template by SearchForTemplate handler). If I just use http:/site.com/node.aspx (with the old template) the XSLT do the right job.
Hope I have explained me well. If other can reproduce the issue, I will raise it at codeplex.
I use V4.0.2.1
Regards
Martin
In other words:
Can someone try to do following:
Make sure you use the searchForTempate notFoundhandler
Find a template, where you use a macro with some xslt that use $currentPage and do something with that.
Then find a node where that template is used
Try to enter http://site.com/node.aspx and http://site.com/node/templatealis.aspx and see if you get the same result on the two sites
is working on a reply...