[jboss-user] [JBoss Seam] - Re: Did somebody make fileupload works with no facelets?

gus888 do-not-reply at jboss.com
Thu Jul 20 22:09:24 EDT 2006


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


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959752#3959752

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959752



More information about the jboss-user mailing list