Hi Thorsten,

Thorsten Scherler schrieb:
I have a usecase where I need to switch from jx to "normal" pipeline
processing for the view due to performance optimizations.

How can I hook up this up, since now I have in my config
<view uri="modules/someThing.jx"/>
but it would need to be a pipeline match.

I usually do it like this:


<jx:choose>
  <jx:when test="…"> (view selection)
    <form …>
      …
    </form>
  </jx:when>
  <jx:otherwise>
    <inc:include src="cocoon://myPipelineView.xml"/>
  </jx:otherwise>
</jx:choose>


Would this work for you?

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to