Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Calling XSLT functions & Cache

$
0
0
Results calling XSLT functions from other XSLT functions are cached?

I have a problem on my multilingual site: when I call some XSLT function from other XSLT function.
I'm use model executing C1 Function calls after XSLT
<xsl:template....
<function name="My.Rendering.RenderSolution"> 
    <param name="SomeParam" value="{@SolutionId}" /> 
</function> 
</xsl:template>
When switching languages​​, displayed result is on language, which was called first.

In inner function i use GetXML call, but this call have parameter Cache Priority = Disabled

If wrap my function call with Composite.Utils.Caching.PageObjectCache with "Language specific" parameter - is solve problem, but why my head must hurt?

I'm use Composite C1 4.0 Beta, Build no. 4.0.4710.37356

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>