Hi there

I'm looking for an easy way to somehow add if-statements to the workflow xml 
which check for the category of the current page and act upon it.

I'm imagining something like this:

[code]
    <if test="${categoryOfThisPage} == "/path/to/a/category">
      <to-myGroupA/>
    </if>
    <if test="${categoryOfThisPage} == "/path/to/another/category">
      <to-myGroupB/>
    </if>
[/code]

Is it possible to inject java classes into the context of this xml so I can 
call their methods?

Greetings, Chris.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=d60747a7-0a77-4f57-99ce-09ec77d7d6e6


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

Reply via email to