Re: [s2] The Great Struts 2.1 Bug Hunt!

2008-06-12 Thread Al Sutton
Don, I noticed you bounced the WW-2586 which updated the pom for the struts1 plugin to 1.3.8 from 1.3.5 to be fixed in 2.2.x. Does this mean the intention is not to fix the bug which means that compilation fails if you update the dependency? Al. Don Brown wrote: I officially declare the St

[s2] The Great Struts 2.1 Bug Hunt!

2008-06-12 Thread Don Brown
I officially declare the Struts 2.1 bug hunting season open! In order to ensure a high-quality 2.1 GA release, I've gone through the tickets and assigned most open bugs to the 2.1.3 version: https://issues.apache.org/struts/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/

Re: Defaults for results

2008-06-12 Thread Jeromy Evans
Yeah, it is REST plugin related. At the moment a result is mandatory (enforced by xwork) even though many of the restful operations its meaningless to declare a result.. In those cases its also inappropriate to use to ServletRedirectResult so a NullResult can be used. However, you're right

Re: Struts 2 file uploaded with temp extension

2008-06-12 Thread Dave Newton
Please ask questions on the struts-user list; struts-dev is for the development of Struts itself. Thanks, Dave --- On Thu, 6/12/08, Ramesh K <[EMAIL PROTECTED]> wrote: > In my struts 2 file uploading application I uploaded a > jpg image through > s:file tag and got .tmp file as output. How c

Struts 2 file uploaded with temp extension

2008-06-12 Thread Ramesh K
Hi, In my struts 2 file uploading application I uploaded a jpg image through s:file tag and got .tmp file as output. How can I get my uploaded file with the same extension? I set the first filter as ActionContextCleanup in web.xml please help me to solve this. Regards, Ramesh K -- View th

Re: Defaults for results

2008-06-12 Thread Al Sutton
My guess would be it's because the absolute default for default results is undefined, it's just that many people include struts-default.xml in their config which defines ServletDispatcherResult with default set to true and thus it becomes the global default. Musachy Barroso wrote: I am guessi

Future Dojo Plugin

2008-06-12 Thread Jon Wilmoth
I've seen a number of posts on this list about the different ajax frameworks and how much value there is in a Struts 2 taglib that wraps the ajax library (vs using the libraries directly).  As a long time user of Struts (1 & 2) and ajaxtags.sourceforge.net for the past year I can say there most

Re: Defaults for results

2008-06-12 Thread Musachy Barroso
I am guessing(wild guess) it is somehow related to REST.(output xml, json etc) musachy On Thu, Jun 12, 2008 at 10:55 AM, dusty <[EMAIL PROTECTED]> wrote: > > +1 for identical default behavior between XML and Annotations. > > Mr. Don, do you remember why you came up with the NullResult? > > -D > >

Re: Defaults for results

2008-06-12 Thread dusty
+1 for identical default behavior between XML and Annotations. Mr. Don, do you remember why you came up with the NullResult? -D James Holmes-2 wrote: > > Not sure why there is a difference. Perhaps there's good reason? But if > not, > I'm in favor of consistency and making things the same.

Re: Defaults for results

2008-06-12 Thread James Holmes
Not sure why there is a difference. Perhaps there's good reason? But if not, I'm in favor of consistency and making things the same. Good catch. On Thu, Jun 12, 2008 at 8:31 AM, Al Sutton <[EMAIL PROTECTED]> wrote: > Is there any reason why the default result type in struts.xml is > ServletDispa

Defaults for results

2008-06-12 Thread Al Sutton
Is there any reason why the default result type in struts.xml is ServletDispatcherResult, but in Zero-Conf the default for @Result is NullResult? Wouldn't it make life easier for newcomers to have the defaults the same for struts.xml and Zero-Conf? Al. --

Re: Struts 2 namespace question

2008-06-12 Thread Al Sutton
Please post your message to the users list. kukudas wrote: Sorry next time i will post on the user-list section. Here an example: My struts.xml Configuration: /ad/conf.jsp In my Jsp: conf/adconfig.ac

Re: Struts 2 namespace question

2008-06-12 Thread kukudas
Sorry next time i will post on the user-list section. Here an example: My struts.xml Configuration: /ad/conf.jsp In my Jsp: conf/adconfig.action Enter This works fine. In the conf.jsp i can

Re: Struts 2 namespace question

2008-06-12 Thread Ralf Fischer
Hi, Short answer: This is a question best posted to the struts-user list, not the dev list. Long answer: Without any code to look on, especially the JSP code creating the URLs, there's no way to tell how you end up. Though it's quite likely, you either didn't add the namespace attribute to the t

Struts 2 namespace question

2008-06-12 Thread kukudas
i know it's probably a dumb question but i somehow can't manage it im new and hope someone can help me. i'm using a namespace for example "/conf" so when i go into a certtain area all actions are running under this namespace. But when i want go back to my index and then reenter the certain area or