<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set Action Order variable using EL? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318700#M5701</link>
    <description>&lt;P&gt;Thank you, Victor.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2016 22:03:56 GMT</pubDate>
    <dc:creator>Yousuf_Nejati</dc:creator>
    <dc:date>2016-03-29T22:03:56Z</dc:date>
    <item>
      <title>How to set Action Order variable using EL?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318697#M5698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a presumably simple question.&lt;/P&gt;
&lt;P&gt;I'd like to set the Action Order value (under_ Listing and_Views / Content Views / MySearchContentView / Enablement_) using an EL which will be based on a conditional.&lt;/P&gt;
&lt;P&gt;Specifically, #{currentUser.isMemberOf('someGroup') ?_ this.setActionOrder(-1000) : this.setActionOrder(1000)_}.&lt;/P&gt;
&lt;P&gt;This would be done in the "Custom EL expressions" text area.&lt;/P&gt;
&lt;P&gt;I'm new to EL but very familiar with Java, what would be the proper way to do this? The closest thing I've come upon can be found here: &lt;A href="http://community.nuxeo.com/api/nuxeo/release-7.2/javadoc/org/nuxeo/search/ui/seam/SearchUIActions.html" target="test_blank"&gt;http://community.nuxeo.com/api/nuxeo/release-7.2/javadoc/org/nuxeo/search/ui/seam/SearchUIActions.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Yousuf&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 18:14:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318697#M5698</guid>
      <dc:creator>Yousuf_Nejati</dc:creator>
      <dc:date>2016-03-17T18:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Action Order variable using EL?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318698#M5699</link>
      <description>&lt;P&gt;I belive I may have found it&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 19:38:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318698#M5699</guid>
      <dc:creator>Yousuf_Nejati</dc:creator>
      <dc:date>2016-03-17T19:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Action Order variable using EL?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318699#M5700</link>
      <description>&lt;P&gt;Hi Yousuf,&lt;/P&gt;
&lt;P&gt;in the Action Extension Point descriptor you can find order attribute as integer, no EL managing.  I think, your changes of any Action order value in WebActions will be only in Event Context of Seam.
An idea, if you need change the action with a &lt;EM&gt;stateful&lt;/EM&gt; order, you should change the action into ActionService descriptor (that it is the Registry after deploy action contribution), because the action is always cloned from descriptor definition from service. I think getActions() and getActionRegstry() may be an available methods to get and update.&lt;/P&gt;
&lt;P&gt;Hope helps!&lt;/P&gt;
&lt;P&gt;Regards,
VS!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 16:25:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318699#M5700</guid>
      <dc:creator>Victor_Sánchez</dc:creator>
      <dc:date>2016-03-23T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Action Order variable using EL?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318700#M5701</link>
      <description>&lt;P&gt;Thank you, Victor.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 22:03:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-action-order-variable-using-el/m-p/318700#M5701</guid>
      <dc:creator>Yousuf_Nejati</dc:creator>
      <dc:date>2016-03-29T22:03:56Z</dc:date>
    </item>
  </channel>
</rss>

