Hello.
I try to refine the display of a table according to a tokenList (flowList) and face issues.
I tried the following but no one worked.
-
direct link: in the XML to define the tokenList for the loader of the table’s data collection:
<collection id=“staticAXINStatusesDc” class=“com.ingenico.dumbo.entity.StaticAXINStatus”>
<loader id=“staticAXINStatusesDl”>
<query>
<![CDATA[select e from dumbo_StaticAXINStatus e where (e.flow in (:component$flowList))]]>
</query>
</loader>
</collection> -
with a parameter
I used this query for the dataloader:
select e from dumbo_StaticAXINStatus e where e.flow in :selectedFlows
and in the code I wrote
staticAXINStatusesDl.setParameter(“selectedFlows”, staticAXINStatusesDc.getItems());
staticAXINStatusesDl.load();
I pass through this code but nothing happens…
Did I make something wrong ? (I guess but what).
Help highly appreciated.
Have a good day.
Thanks for having read this.