Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 72854 invoked from network); 2 Dec 2006 18:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2006 18:32:43 -0000 Received: (qmail 58829 invoked by uid 500); 2 Dec 2006 18:32:48 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 58610 invoked by uid 500); 2 Dec 2006 18:32:47 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 58599 invoked by uid 99); 2 Dec 2006 18:32:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Dec 2006 10:32:47 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of adrian.mitev@googlemail.com designates 66.249.82.229 as permitted sender) Received: from [66.249.82.229] (HELO wx-out-0506.google.com) (66.249.82.229) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Dec 2006 10:32:36 -0800 Received: by wx-out-0506.google.com with SMTP id i26so3167957wxd for ; Sat, 02 Dec 2006 10:32:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RCDPQgMDlZkHlSdbgO1LYtxYbAj4SF3DBos+aRMUkpVNcx1fGpjQzK6iI9lj5TxyUojQaEMIv4kPDSwKX4oUeWPWGyKaMGMaGAlMO0ez8gfzsg790F6VOiyhha5FF/avgDGd+HzsjCVPBnKmuDrT7YTcdF1I32kYL92kEgwUCY8= Received: by 10.90.78.9 with SMTP id a9mr6459925agb.1165084335513; Sat, 02 Dec 2006 10:32:15 -0800 (PST) Received: by 10.90.105.17 with HTTP; Sat, 2 Dec 2006 10:32:15 -0800 (PST) Message-ID: <3ee326610612021032g7cf87e0fre105d3cb4576ccbe@mail.gmail.com> Date: Sat, 2 Dec 2006 20:32:15 +0200 From: "Adrian Mitev" To: "MyFaces Discussion" Subject: Re: Problem with s:excelExport In-Reply-To: <8c9d4eaa0612021026k4e8eecafq97306ccd83c6b5e0@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10392_32824642.1165084335403" References: <3ee326610612020507p7532c626jd3c02f153e9594ae@mail.gmail.com> <8c9d4eaa0612020521i10120818k66fba5e288878e4@mail.gmail.com> <3ee326610612020524g702fb617h852ceb3ce7d5ed70@mail.gmail.com> <8c9d4eaa0612020546n1ecd2b6i91b88e3690914f41@mail.gmail.com> <3ee326610612020554t7d9e75a4q98c9ca5a9e240404@mail.gmail.com> <3ee326610612020654y1598bcf1i227a09de26040ace@mail.gmail.com> <3ee326610612020702n39d9611dwbcb3ba46056f7437@mail.gmail.com> <3ee326610612020851t3c017102yeff36f09d55a4d81@mail.gmail.com> <8c9d4eaa0612021026k4e8eecafq97306ccd83c6b5e0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10392_32824642.1165084335403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes. I saw it. And i also tried the example project that comps with excelExport from jsf-comp. It also worked, but when i tried it in my project it does not. I'll debug it to see whats the problem. 2006/12/2, Cagatay Civici : > > Yes seems like, I couldn't figure out why it doesn't work for you, the > example works fine. > > http://example.irian.at/example-sandbox-20061202/excelExport.jsf > > Do you have other phaselisteners registered? > > On 12/2/06, Adrian Mitev wrote: > > > > Looks like the PL is never been called > > > > 2006/12/2, Adrian Mitev : > > > > > > I put the poi jar in the lib directory but the result is the same as > > > before. > > > > > > 2006/12/2, Adrian Mitev < adrian.mitev@googlemail.com>: > > > > > > > > I looked at the source code and i there is org.apache.poi.*. Nowhere > > > > in the documentation/wiki i found that this component requires the library > > > > > > > > 2006/12/2, Adrian Mitev < adrian.mitev@googlemail.com>: > > > > > > > > > > Yes! > > > > > > > > > > > > > > > Faces Servlet > > > > > *.jsf > > > > > > > > > > > > > > > Argh! I think i'm missing the excell library? > > > > > > > > > > 2006/12/2, Cagatay Civici < cagatay.civici@gmail.com>: > > > > > > > > > > > > Hi, > > > > > > > > > > > > Interesting, I've tested the example and works fine for me. What > > > > > > happens after you click again to the export button, does it export well next > > > > > > time? > > > > > > > > > > > > Maybe the issue is with the faces mapping, do you have "*.jsf" > > > > > > servlet mapping defined in your web.xml? > > > > > > > > > > > > Cagatay > > > > > > > > > > > > On 12/2/06, Adrian Mitev < adrian.mitev@googlemail.com> wrote: > > > > > > > > > > > > > > Hi Cagatay! I'm using: > > > > > > > > > > > > > > > > > > > > > javax.faces.STATE_SAVING_METHOD > > > > > > > > > > > > > > server > > > > > > > > > > > > > > > > > > > > > 2006/12/2, Cagatay Civici : > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > What state saving method do you use? Client or Server? > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > Cagatay > > > > > > > > > > > > > > > > On 12/2/06, Adrian Mitev < adrian.mitev@googlemail.com> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > Hi! I have the following code: > > > > > > > > > > > > > > > > > > > > > > > > > > var="ls"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But when i select the export button what i got is the same > > > > > > > > > page redisplayed in new window. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------=_Part_10392_32824642.1165084335403 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes. I saw it. And i also tried the example project that comps with excelExport from jsf-comp. It also worked, but when i tried it in my project it does not. I'll debug it to see whats the problem.

2006/12/2, Cagatay Civici <cagatay.civici@gmail.com>:
Yes seems like, I couldn't figure out why it doesn't work for you, the example works fine.

http://example.irian.at/example-sandbox-20061202/excelExport.jsf

Do you have other phaselisteners registered?


On 12/2/06, Adrian Mitev < adrian.mitev@googlemail.com > wrote:
Looks like the PL is never been called


2006/12/2, Adrian Mitev <adrian.mitev@googlemail.com>:
I put the poi jar in the lib directory but the result is the same as before.


2006/12/2, Adrian Mitev < adrian.mitev@googlemail.com>:
I looked at the source code and i there is org.apache.poi.*. Nowhere in the documentation/wiki i found that this component requires the library

2006/12/2, Adrian Mitev < adrian.mitev@googlemail.com>:
Yes!

<servlet-mapping>
  <servlet-name>Faces Servlet</servlet-name>
   <url-pattern>*.jsf</url-pattern>
</servlet-mapping>

Argh! I think i'm missing the excell library?


2006/12/2, Cagatay Civici < cagatay.civici@gmail.com>:
Hi,

Interesting, I've tested the example and works fine for me. What happens after you click again to the export button, does it export well next time?

Maybe the issue is with the faces mapping, do you have "*.jsf" servlet mapping defined in your web.xml?


Cagatay

On 12/2/06, Adrian Mitev < adrian.mitev@googlemail.com> wrote:
Hi Cagatay! I'm using:

    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>

2006/12/2, Cagatay Civici <cagatay.civici@gmail.com>:
Hi,

What state saving method do you use? Client or Server?

Regards,

Cagatay


On 12/2/06, Adrian Mitev < adrian.mitev@googlemail.com> wrote:
Hi! I have the following code:

<t:dataTable id="dtTable" value="#{ bean.list}" rows="20" var="ls">
    <h:column>
        <h:outputText value="#{ls}" />
    </h:column>
</t:dataTable>
       
<br />
       
<s:excelExport for="dtTable">
   <h:commandButton action="" value="Export" />
</s:excelExport>

But when i select the export button what i got is the same page redisplayed in new window.












------=_Part_10392_32824642.1165084335403--