myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Mitev" <adrian.mi...@googlemail.com>
Subject Re: Problem with s:excelExport
Date Sat, 02 Dec 2006 18:32:15 GMT
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.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
View raw message