-
1. Re: Did somebody make fileupload works with no facelets?
gus888 Jul 20, 2006 4:21 PM (in response to gus888)Hi Gavin,
Could you please give me a help on this? I spent several nights but failed to fix it. Since I want to keep myfaces/tiles in the project, I could not use the facelets. Thank you very much.
Gus -
2. Re: Did somebody make fileupload works with no facelets?
gavin.king Jul 20, 2006 4:46 PM (in response to gus888)Um, not much I can do to help, I have never used tiles, or the fileupload stuff in tomahawk.
Perhaps someone else can help. -
3. Re: Did somebody make fileupload works with no facelets?
gus888 Jul 20, 2006 5:16 PM (in response to gus888)Hi Gavin,
Thank you for your reply. I want to try to integrate the tomahawk.jar in JBoss to see whether it works. I plan to copy the tomahawk.jar into "C:\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs", but I don't know how to modify the web.xml file in the "\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\conf". The modification seems to be similar to myfaces-impl.jar integration:web.xml: ... <init-param> <description>MyFaces tlds</description> <param-name>tagLibJar0</param-name> <param-value>jsf-libs/myfaces-impl.jar</param-value> </init-param> ...
Could you please give me some guidance on web.xml, which seems like, perhaps:<init-param> <description>Tomahawk tlds</description> <param-name>????</param-name> <param-value>jsf-libs/tomahawk.jar</param-value> </init-param>
Thank you so much.
Gus -
4. Re: Did somebody make fileupload works with no facelets?
gus888 Jul 20, 2006 6:06 PM (in response to gus888)Hi Gavin,
I found a post in Seam forum (I remember I ever saw it, but could not find it before) about the integrating tomahawk.jar into JBoss, and modification to the conf/web.xml as follows:<init-param> <description>MyFaces tlds</description> <param-name>tagLibJar1</param-name> <param-value>jsf-libs/tomahawk.jar</param-value> </init-param>
I will try it tonight to see whether it works. Thank you.
Gus -
5. Re: Did somebody make fileupload works with no facelets?
gus888 Jul 20, 2006 10:09 PM (in response to gus888)Hi Gavin,
I made it works for FileUpload on Seam + myface/tiles + myface(tomahawk). What I did is as follows:
1) Follow seam wiki fileUpload all steps, except the tomahawk.jar.
2) Put the tomahawk.jar into jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs;
3) Modify the web.xml under jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\conf:<init-param> <description>MyFaces tlds</description> <param-name>tagLibJar0</param-name> <param-value>jsf-libs/myfaces-impl.jar</param-value> </init-param> <!-- I added the tomahawk --> <init-param> <description>MyFaces tlds</description> <param-name>tagLibJar1</param-name> <param-value>jsf-libs/tomahawk.jar</param-value> </init-param>
4)Put the struts.jar into jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar.
Thank you, Gavin.
Gus