4 Replies Latest reply on Dec 4, 2008 7:01 AM by Vladimir Kovalyuk

    ui:repeate and el expression with argument

    David Cowan Newbie

      I have a SLSB dataService that has a method queryDataByDays(String identifier, int days) that I want to call from within a ui:repeat tag

      <ui:repeat value="#{deviceList.resultList}" var "device">
         <ui:repeat value="#{dataService.queryDataByDays(device.identifier, 30)">
           ... do display work here

      The part that fails is the device.identifier is not available when queryDataByDays is actually called. It gets converted to an empty string.  I can't seem to find a way to make this work.  Based on the documentation and JBSEAM-1733 it seems this is not possible.  Given that's the case does anyone have any suggestions of another way to do this?