Re: File Upload

2008-01-17 Thread Pablo Vázquez Blázquez
Yes, I first tried with the default stack, but the problem is the same :( Cheng Wei Lee escribió: Try removing the interceptors? If I'm not mistaken, the default stack has it. On Jan 17, 2008 2:32 AM, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote: I am using Struts 2.0.9 and I have the

Re: File Upload

2008-01-17 Thread Pablo Vázquez Blázquez
I´ll give you more information so that it helps you to give me a solution: My Interceptors (defaultLoginStack is my default interceptor stack) --- interceptor-stack name=defaultLoginStack interceptor-ref

Re: File Upload

2008-01-17 Thread Pablo Vázquez Blázquez
Debugging I found I recieve a com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor Pablo Vázquez Blázquez escribió: I´ll give you more information so that it helps you to give me a solution: My Interceptors (defaultLoginStack is my default interceptor stack)

Re: REST Show case

2008-01-17 Thread Jeromy Evans
Hi Frans, Were you able to checkout the trunk of Struts 2.1 and build it? If you got that far, then you have a copy of the full rest show-case in the apps directory. Yes, there are surprisingly few settings as the showcase uses the CodeBehind plugin so there's no struts.xml or other

Re: Netbeans 6.0 Editor Error with struts2 library

2008-01-17 Thread Igor Vlasov
It works Thanks a lot:jumping::clap::handshake: Tan Mook Kuen wrote: Have you try 1) close netbeans 2) delete the cache folder under user home/.netbeans/6.0/var/ ? 3) open netbeans again. HTH On Jan 17, 2008 3:26 PM, Igor Vlasov [EMAIL PROTECTED] wrote: This is not

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread tzhang
Thanks to Jeromy and Ted , your comments definitely help me a lot. I looked through the YUI website, the widgets are quite rich. I still concern about if I want to use the Struts2 + YUI, I have to know pretty much about the YUI , right? Is YUI easy to learn and use? Since our developers don't

Re: Struts 2 Validation Error

2008-01-17 Thread Ted Husted
If you haven't solved this, here are the things I would try. * Check that the that the Validation files seem like valid XML. A quick way to do that is to open them in IE. * Deploy the MailReader example to the same environment, to be sure its validation works. * Deploy your application to

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Ted Husted
On Jan 17, 2008 7:07 AM, tzhang [EMAIL PROTECTED] wrote: Thanks to Jeromy and Ted , your comments definitely help me a lot. I looked through the YUI website, the widgets are quite rich. I still concern about if I want to use the Struts2 + YUI, I have to know pretty much about the YUI ,

Re: File Upload

2008-01-17 Thread Cheng Wei Lee
Did you extends struts-default in your package tag? e.g. package name=fileupload extends=*struts-default* namespace=/fileupload or you used your own stack? On Jan 17, 2008 8:33 PM, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote: Please, does somebody know what can be happening? Pablo

Re: File Upload

2008-01-17 Thread Pablo Vázquez Blázquez
Please, does somebody know what can be happening? Pablo Vázquez Blázquez escribió: I´ll give you more information so that it helps you to give me a solution: My Interceptors (defaultLoginStack is my default interceptor stack)

Re: File Upload

2008-01-17 Thread Pablo Vázquez Blázquez
package name=scheduler extends=struts-default Everything is into this package. I didn´t define namespaces. My only own stack is defaultLoginStack, but I am not using it in the involved action. I followed the instructions at http://struts.apache.org/2.0.9/docs/file-upload-interceptor.html, but

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Jeromy Evans
* http://developer.yahoo.com/yui/theater/ (Really, do this today!) I completely agree with Ted! My only word of caution is that YUI is oriented towards software developers. Creatives are probably going to prefer libraries like Mootools that provide simple to use widgets that you

Re: Struts 2 with RAD 6

2008-01-17 Thread Al Sutton
First off, I'd say try to go with jdk5. There is some discussion about dropping 1.4 support in S2.1 and it looks like it could be a strong possibility. The exception you're seeing indicates the JDK is 1.4 and your trying to use the 1.5 distribution. I've got no idea what RAD-6 or RAD-7 is,

Struts 2 with RAD 6

2008-01-17 Thread Rushabh_Raval
Hi, I am trying to figure out how could I use Strus-2 with RAD-6 which has Jdk 1.4. I even tried to run the mail reader application on RAD -7 which has jdk 1.5 with JRE 5. Could someone please help me running the sample code on RAD-6. I was also not able to figure out how I could use jdk 1.5

Re: Netbeans 6.0 Editor Error with struts2 library

2008-01-17 Thread bhaarat Sharma
thats good old NB. close it open it again and you'll see wonders happen. haha On Jan 17, 2008 5:30 AM, Igor Vlasov [EMAIL PROTECTED] wrote: It works Thanks a lot:jumping::clap::handshake: Tan Mook Kuen wrote: Have you try 1) close netbeans 2) delete the cache folder

Re: Struts 2 with RAD 6

2008-01-17 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: I need to ensure that there are no issues developing Struts-2 application with RAD-7 only then I can procure RAD-7. But I am not able to run the sample Struts-2 on RAD 7. We're developing S2 applications under RAD7 with no issues; I suspect you have configured it

Re: Struts 2 with RAD 6

2008-01-17 Thread Rushabh_Raval
Hi, I was trying to execute the sample code(Struts2 mail reader application) available at http://struts.apache.org/download.cgi#struts206 I currently don't have RAD-7 on my machine and I tried to run it on a colleague's machine but I got this exception. I need to ensure that there are no

Re: Struts 2 with RAD 6

2008-01-17 Thread Cheng Wei Lee
I've no difficulties using Struts 2 on RAD v7. What are you actually trying to do? To build Struts 2 from scratch? On Jan 17, 2008 9:42 PM, [EMAIL PROTECTED] wrote: Hi, I am trying to figure out how could I use Strus-2 with RAD-6 which has Jdk 1.4. I even tried to run the mail reader

Re: File Upload

2008-01-17 Thread Dave Newton
--- Cheng Wei Lee [EMAIL PROTECTED] wrote: Could you list out your entire XML file? I believe namespace is required? Namespace isn't required and will default to (the empty string) [1,2]. Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote: package name=scheduler extends=struts-default

Re: File Upload

2008-01-17 Thread Pablo Vázquez Blázquez
I send you my struts-config.xml file, but it works ok. If I delete my s:file from my form, everything works fine. To see the action involved search: !-- HERE IS THE PROBLEM -- ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE struts PUBLIC -//Apache Software Foundation//DTD Struts Configuration

Re: File Upload

2008-01-17 Thread Pablo Vázquez Blázquez
Here I send you my JSP and Action code. Yes, when I submit, the new plugin is added (I know it because of my logs), but I don´t know why I don´t get the result page. Thank you. PD: I have now tried without struts.multipart.parser, but it doesn´t work. ** JSP ** jsp:root

Re: REST Show case

2008-01-17 Thread Roberto Nunnari
Hi Jeromy. That's very cool! One question comes to my mind. As I have no idea what the CodeBehind plugin is, and as I usully use the tiles plugin, is it possible/easy/hard to use REST-CodeBehind-Tiles2 together? Thanks! -- Robi Jeromy Evans wrote: Hi Frans, Were you able to checkout the

Re: File Upload

2008-01-17 Thread Dave Newton
--- Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote: I send you my struts-config.xml file, but it works ok. If I delete my s:file from my form, everything works fine. The error happens after you submit, correct? I guess I'd want to see the JSP and the action code, then; the configuration seems

Re: File Upload

2008-01-17 Thread Cheng Wei Lee
Could you list out your entire XML file? I believe namespace is required? On Jan 17, 2008 9:06 PM, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote: package name=scheduler extends=struts-default Everything is into this package. I didn´t define namespaces. My only own stack is

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Frank W. Zammetti
I definitely found YUI to be a pleasant experience as well while writing the chapter on it my second book. It's one of the easier libraries to pick up, even for novice JS programmers, which is something I've heard frequently from many different sources. That's not something you can say about a

Re: REST Show case

2008-01-17 Thread Frans Thamura
On 1/17/08, Jeromy Evans [EMAIL PROTECTED] wrote: Hi Frans, Were you able to checkout the trunk of Struts 2.1 and build it? i just look inside, still blank of what REST plugins did for struts2 amazing work, but still blank :) hahaha F

Re: [S2] conversion and REPORT_CONVERSION_ERRORS

2008-01-17 Thread Dave Newton
--- Adam Hardy [EMAIL PROTECTED] wrote: Is there any other way of controlling whether XWorkConverter reports or ignores conversion errors, other than the application-wide servlet parameter REPORT_CONVERSION_ERRORS / report.conversion.errors? I would like to control it action by action.

S2: problem with sitemesh plugin

2008-01-17 Thread deeeed
Hi, I just tried to integrate the sitemesh plugin with the default struts2 archetype by editing my web.xml: !--filter-- !--filter-namesitemesh/filter-name-- !--filter-class com.opensymphony.module.sitemesh.filter.PageFilter/filter-class-- !--/filter-- filter

Re: [S2] conversion and REPORT_CONVERSION_ERRORS

2008-01-17 Thread Adam Hardy
Is there any other way of controlling whether XWorkConverter reports or ignores conversion errors, other than the application-wide servlet parameter REPORT_CONVERSION_ERRORS / report.conversion.errors? I would like to control it action by action. Actually, thinking on the hoof, if necessary I

Re: S2: problem with sitemesh plugin

2008-01-17 Thread Wes Wannemacher
It could be that you're using the FreeMarkerPageFilter and it appears that you are trying to decorate a JSP. Try filter filter-namesitemesh/filter-name filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class /filter On Thu, 2008-01-17 at 20:18 +0100, dd wrote: Hi, I

how do to this in S2

2008-01-17 Thread bhaarat Sharma
Hi, I\'m new to struts2. we\'r wondering how this can be achieved in S2. initially we are getting a list from the action class. this list contains bunch of objects and each object contains bunch of attributes. In the JSP we iterate over this list and for each Object we create a row. We

Re: REST Show case

2008-01-17 Thread Jeromy Evans
Hi Roberto, The CodeBehind plugin is probably being replaced with the Convention plugin in Struts2.1.1 - a merge of SmartURLs, CodeBehind and Zero-Configuration into one plugin. The purpose is that by following some conventions almost all the configuration can be eliminated. The intention

Re: Progress Bar

2008-01-17 Thread Martin Gainty
Rick has that covered http://raibledesigns.com/wiki/Wiki.jsp?page=CreateAnAJAXBasedFileuploadProgr essbarDialog Martin - Original Message - From: fea jabi [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, January 16, 2008 1:16 PM Subject: RE:

Re: Progress Bar

2008-01-17 Thread Dave Newton
--- Martin Gainty [EMAIL PROTECTED] wrote: Rick has that covered Matt. http://raibledesigns.com/wiki/Wiki.jsp?page=CreateAnAJAXBasedFileuploadProgressbarDialog d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: File Upload

2008-01-17 Thread Cheng Wei Lee
Was this debugging statement executed? log.debug(Anadido plugin + uploadFileName); On Jan 18, 2008 12:13 AM, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote: Here I send you my JSP and Action code. Yes, when I submit, the new plugin is added (I know it because of my logs), but I

Re: File Upload

2008-01-17 Thread Cheng Wei Lee
Does your doExecute method in DefaultRequestResponseAction class call the execute method? I believe that Struts look for the execute method to run, so if your debugging statement didn't execute, probably is the method not being called. On Jan 18, 2008 9:39 AM, Cheng Wei Lee [EMAIL PROTECTED]

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Tony Zhang
Thanks you again for reply my question. I got another question, For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use YUI directly? Do we need to use DWR to transfter data? Ted, I looked through your sample struts-pim.war. In that sample, you don't use YUI plugin for

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Frank W. Zammetti
Tony Zhang wrote: For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use YUI directly? I'm probably not the best person to answer that because I'm frankly not using S2 at the moment and have never looked at the YUI plugin. If you're comfortable with Javascript coding

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Jeromy Evans
Frank W. Zammetti wrote: Tony Zhang wrote: For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use YUI directly? I'm probably not the best person to answer that because I'm frankly not using S2 at the moment and have never looked at the YUI plugin. If you're comfortable

CodeBehind Inherit Parent Actions

2008-01-17 Thread blakeb
I'm in edge struts 2 (2.1.1-SNAPSHOT), so I'm not sure if this is a problem in 2.0.11. When using codebehind, I expected that if a parent class has a @Result annotation with a given name, and a child class has a Result annotation with the same name, that the child annotation would override any

Re: CodeBehind Inherit Parent Actions

2008-01-17 Thread blakeb
Sorry, that was in the ClasspathPackageProvider class. Thanks for your help. Blake blakeb wrote: I'm in edge struts 2 (2.1.1-SNAPSHOT), so I'm not sure if this is a problem in 2.0.11. When using codebehind, I expected that if a parent class has a @Result annotation with a given name,

Pretty urls without .action

2008-01-17 Thread jignesh(india)
Hi, I am having struts2 application ready with my tomcat server.Now i want to host it with apache server,but it should be looks like pretty one. I mean i want my urls without .action,.do or anything just like action name nothing more.Is this possible in struts2 e.g

Re: CodeBehind Inherit Parent Actions

2008-01-17 Thread blakeb
Logged in JIRA as WW-2443 blakeb wrote: Sorry, that was in the ClasspathPackageProvider class. Thanks for your help. Blake blakeb wrote: I'm in edge struts 2 (2.1.1-SNAPSHOT), so I'm not sure if this is a problem in 2.0.11. When using codebehind, I expected that if a parent

Re: Pretty urls without .action

2008-01-17 Thread Jeromy Evans
Yes, the constant struts.action.extension takes a comma separated list: eg. struts.action.extension=action,, The double comma above means blank is a valid extension You can add that to struts.properties, struts.xml or web.xml: http://struts.apache.org/2.x/docs/constant-configuration.html

When is Struts 2.1 planned for release?

2008-01-17 Thread Jayson Joseph Chacko
Hi guys, couple of questions, 1. When is Struts 2.1 release planned? 2. Is the Ajax support / Portlet support production ready in 2.1 ? Thanks, Jayson