Hi,

I try to use the action service from nuxeo,and I think that I encountered a problem when trying to define a condition for a rule of a filter.This is how the filter definition looks like:

      <filter id="test_filter">
          <rule grant="true">
              <condition>#{seamComponentService1.test()}</condition>
              <condition>#{seamComponentService1.test1() &amp;&amp; seamComponentService1.test2('test')}
              </condition>
          </rule>
      </filter>

The problem appears when evaluating the second condition,which is translated like this

SeamContext.get("seamComponentService1").test() && seamComponentService1.test2('test')

I don't know if the actions service from nuxeo is supposed to support condition syntax like the one from the second condition,but if yes please let me know how am I suppose to write the condition in order to have two method calls bounded with an && in the same condition.

Thanks a lot !
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to