s:exportExcel has this problem when try to export date (java.util.Date
or java.sql.Date) type.
Is #{ls} a date type ?
Any errors in tomcat logs ?!
Bogdan
What
Adrian Mitev wrote:
Looks like the PL is never been called
2006/12/2, Adrian Mitev <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
I put the poi jar in the lib directory but the result is the same
as before.
2006/12/2, Adrian Mitev < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
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 < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
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 < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
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* <
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> 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
<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
Hi,
What state saving method do you use? Client or
Server?
Regards,
Cagatay
On 12/2/06, * Adrian Mitev* <
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> 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.