[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-06 Thread robinemig
Any chance this can be added to one of the demos? I'm still have problems getting it to work correctly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941703#3941703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=394170

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-07 Thread armita
I am getting null pointer exception from the Extensions filter: | java.lang.NullPointerException | 20:47:15,235 ERROR [STDERR] at com.tarhyar.file.FileLogicAction.upload(FileLogicAction.java:109) | 20:47:15,235 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-08 Thread marcioendo
I have attached an example at the Seam Wiki. http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamFileUpload View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941902#3941902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941902

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-19 Thread muckwarrior
Hi guys, I'm having some problems with file upload. I'm not using facelets but I followed the wiki example as closeley as possible and I'm gettting a deployment error. | 2006-05-19 11:32:01,703 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gaaresults]] Exception s

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-19 Thread petemuir
You do need the commons-fileupload and its dependencies (I think I had to add commons-io and commons-lang) jars from apache. It looks like it can't find them - classpath issue or perhaps you don't have them? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-19 Thread muckwarrior
Hmm, well I had the commons-fileupload alright and I've just added commons-lang but to no avail. The relevant jars in my ear lib are: coomons-fileupload commons-io commons-lang myfaces-api tomahawk Is this all that I need or am I still missing something? View the original post : http://www.jb

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-19 Thread petemuir
I'm not at my desk at the moment so I'm not sure of the exact files. I remember having issues with packaging the commons stuff in the ear and ended up just putting them in the jsf-libs directory directly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944924

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-21 Thread armita
I upgraded my tomahawk and myfaces and upload stopped working. It could not pass the uploadedfile to be application and jumping from phase 4 to phase 6 without envoking the application View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945132#3945132 Reply to

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-05-31 Thread muckwarrior
"elfuhrer" wrote : I have followed the same approach and I cannot get it working. There's a conversion error in the file upload. Any hints? | | I have run into the exact same problem, did you find a solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-06-02 Thread bubonic
I have the same problem as well, anyone have an idea what it is? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948729#3948729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948729 ___

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-17 Thread da.ogre
Hi all! I'm having the same problem as described above - using latest seam from cvs, jboss 4.0.4RC1 and facelets, trying to upload a file (an image perticularly). So, I have an entity bean, say a client, with a field of type UploadedFile and the relevant getters and setters: | ... | @Entit

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-17 Thread da.ogre
And yes, I read the article Upload Files with JSF and MyFaces on onjava.com, but I just couldn't get it working with Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937693#3937693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-17 Thread marcioendo
I haven't tried with the latest CVS version of Seam. But i got it working with Seam-beta2 and Jboss-4.0.4-RC1. Here's what I did: 1. You need 2 Seam components. A "backing bean" required by Tomahawk and SLSB to deal with your JSF action: 1a. Backing Bean: | @Name("uploadBean") | public cl

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-17 Thread [EMAIL PROTECTED]
Thanks Marcio, we need to get this info on the Seam Wiki. Will you post it there, or give me permission to copy/paste over to there? TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937723#3937723 Reply to the post : http://www.jboss.com/index.html?module

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-18 Thread marcioendo
No problem Gavin. But could you please copy/paste it to the Wiki for me, I'm not at the office right now and my machine there has temporarily died on me. (Actually I accidently killed my power supply). Thanks. Marcio View the original post : http://www.jboss.com/index.html?module=bb&op=viewto

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamFileUpload View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937952#3937952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937952 -

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-27 Thread elfuhrer
I have followed the same approach and I cannot get it working. There's a conversion error in the file upload. Any hints? | 12:40:31,375 ERROR [[/seamapp]] Cannot set value for expression '#{FileUpload.file}' to a new value of type org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileI

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-27 Thread marcioendo
I have this working with the JBoss-4.0.4.CR2 and JBoss-SEAM-1.0.0.CR2 so I'll try and post the example with the updates. But I am not at my office's computer right now and I won't be there until later today, so this will have to wait. I can't say what is happening in your case, but I do recall I

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-27 Thread marcioendo
Ok, I DID NOT upgrade the myfaces libraries to the 1.1.2 versions. Only the tomahawk one (can't remember exactly why, though...). It is possible that you have too many different jars floating around. This is what I have in my Tomcat jsf-libs: | total 1.2M | -rw-r--r-- 1 endo users 116K 2

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-28 Thread elfuhrer
Marcio, something does not make sense in here. Your jsp will not be able to render the tomahawk tags if the tomahawk.jar is not included in the WEB-INF/lib directory. JSP tags cannot be accessed from the classpath of the EAR. I have followed your same EAR structure and the JSP files won't work u

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-04-28 Thread marcioendo
I am not sure this is the case, but I am not using JSP. I am using JSF. And I forgot to list the contents of my WAR: web.war/WEB-INF: | drwxr-xr-x 3 endo users 160 2006-04-27 11:58 facelets/ <-- ignore this, just for html templates | -rw-r--r-- 1 endo users 886 2006-04-27 16:58 faces-

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-06-14 Thread muckwarrior
Finally got to the bottom of this. The type mismatch error was being caused by having a copy of the tomahawk.jar in the WEB-INF/lib. This can be removed if you're using faceletes and the problem is solved, but what if you don't want to use facelets? I'm facing the prospect of converting my who

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-02-24 Thread deniss.parhomenko
Yes, tomohawk file upload work with seam, you need define extension filter in web.xml and you can you se file upload View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926156#3926156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-02-25 Thread ido_tamir
My problem is that setFile(UploadedFile file) is never called and file remains null. I tried both tomahawk and adf. The valueChangeListener version also never activates any bean method. I can select a file, and after pressing the submit button I am asked by the browser if I really want to submit

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-03-12 Thread armita
I am getting a java.lang.IllegalArgumentException: argument type mismatch for UploadedFile property. Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929581#3929581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-03-12 Thread littlesuns
do you have Getter and Setter for file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929669#3929669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929669 --- This

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-03-14 Thread armita
Yes I have the setter getter methods! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930140#3930140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930140 --- This SF

[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-03-14 Thread ido_tamir
I don't remember exactly how I solved my problem. I switched to adf. Then I had to put the adf jars into the /server/default/lib folder. I changed some listeners in faces-config.xml and it works now nicely. sorry for not being able to make this post more informative. best wishes ido View th

[JBoss-user] [JBoss Seam] - Re: FileUpload error

2006-07-07 Thread devagarwal
Sorry for the post. It is working now. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956302#3956302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956302 Using Tomcat but need to do more? Need to support web s