4 Replies Latest reply on Mar 13, 2009 1:29 AM by www.supernovasoftware.com

    Seam Excel w async problem

    www.supernovasoftware.com

      I am trying to have a spreadsheet sent via quartz nightly.


      I have two problems.  I would like the seam excel template to be packaged in a jar, but I see no way to render a resource from the classpath.


      Is there a way to do


      Renderer.instance().render(viewId);



      but render this from the classpath instead of using a viewId?


      The only way I can get this to work async is to directly reference the SLSB that provides the List that I use to render the template.


      <e:worksheet value="#{costDAO.getSummaryList()}">



      This causes this method, which is expensive, to be called many when rendering the template.
      I tried a @Factory with EVENT and CONVERSATION scope that this could not be resolved.



      Do anyone have any suggestions?