1 2 Previous Next 20 Replies Latest reply on Sep 29, 2008 3:10 AM by mdesignz Go to original post
      • 15. Re: Specifying Excel Filename
        mdesignz

        Thank you. 
        It's interesting, because renderer.render(docName.xhtml) would render and display the document to the user in Seam 2.0.x.  That's what I'm currently using, which is why I thought it was broken in 2.1.x.


        When you say:  go to repeat.seam in the above post, I'm not exactly sure what you mean.


        Thanks again for all of your help!

        • 16. Re: Specifying Excel Filename
          mdesignz

          Sorry, but I just feel completely brain dead about this.  To answer your question, I don't see anything coming back in the event (or any other context) when I specify a accessKey="anything" within the workbook tag.  I'm also not seeing anything in the DocumentStore component either.  I'm working strictly with the excel example in the Seam 2.1 Snapshot.  Any hope you could tell me how to get the rendered document after the renderer.render call?  I've searched for DocumentStore and Renderer in the Seam Ref. docs and the web, and haven't come up with much help.   Thanks for your help and patience.

          • 17. Re: Specifying Excel Filename
            nickarls

            exportKey, not accessKey.

            • 18. Re: Specifying Excel Filename
              mdesignz

              Typo on my part.  I actually had exportKey.  Turns out the problem was with my Maven poms all along.  While I was working with your example source directly, I had incorporated into my overall project structure, so it was being built by Maven and the poms I was working with.  I finally went back to your example with the ant build, and, as you and Daniel have been saying all along, it worked perfectly.  After fixing the poms to include the correct dependencies, your example works perfectly in my project.  Once again, thank you both for your patience.

              • 19. Re: Specifying Excel Filename

                Great!

                • 20. Re: Specifying Excel Filename
                  mdesignz

                  Yeah, what was completely screwing me up was a missing jar file...namely the jboss-seam-excel.jar and jxl. jar!  I totally scraped my poms a few days ago which contained them, and went with the model that was posted on this site a while back since it was superior to what I was using.  In my haste, I only had the jboss-seam. jar and ui jar included from the 2.1-SNAPSHOT.  The completely strange part was no missing class exception was thrown.  Otherwise, it wouldn't have taken several days, and I wouldn't have wasted your or Nicklas' time either.  The render would go away and do something, but nothing was coming back.  No errors...nothing.   So I looked at the exploded deployment for the excel example to compare what was there compared to what I had.  I double checked the poms and noticed the missing dependencies.  I guess, when in doubt...check the obvious first, then check it again!  Thanks for all the help and kind patience.

                  1 2 Previous Next