Re: Struts2 and Maven Archetypes

2010-09-14 Thread Lukasz Lenart
2010/9/14 Roland T. Craddolph rcraddo...@amagatto.com: Sorry I've been having Outlook issues for far too long that finally got fixed.  It works and this is a lot easier than that huge command.  My only question is for the packaging question what would you recommend to put there?  I'm still

Re: Submit with several methods in Struts 2.2

2010-09-14 Thread Maqsud Mohammad
Hello Hernan This was what i faced just a few days ago when we made a decision to upgrade struts from 2.1.6 to 2.2.1 and we just followed the workaround of setting the DynamicMethodInvocation=true, though it was discouraged, i raised this issue as a bug but havent got any updates from the struts2

Re: Submit with several methods in Struts 2.2

2010-09-14 Thread Ashlon Hill
I am using Struts 2 tags. Is there an easy way for me to ghost out one of the above textfields if the other one is clicked/selected? I can do it without using the struts 2 tags but how do you do it with them?  s:form name=exampleForm action=exampleAction     s:textfield name=txtName

[S2] trim textfield

2010-09-14 Thread mailtolouis2020-struts
Hi, In struts2 is there anyway to set to trim the value in textfield or textarea when it set to action/model? Regards LV

Re: [S2] trim textfield

2010-09-14 Thread Dave Newton
Not by default. I'd probably just write an interceptor with optional excludes... I had one I was going to commit but never did then I was busy for a year. On Tue, Sep 14, 2010 at 10:50 AM, mailtolouis2020-str...@yahoo.com wrote: Hi, In struts2 is there anyway to set to trim the value in

Struts 2 Ghosting out s:textfields question

2010-09-14 Thread David Denton
(Sorry didn't mean to hijack the Submit with several methods in Struts 2.2 subject from the previous post...resending this) I am using Struts 2 tags. Is there an easy way for me to ghost out one of the above textfields if the other one is clicked/selected? I can do it without using the struts

Re: [S2] trim textfield

2010-09-14 Thread mailtolouis2020-struts
Hi Dave, Hope u can commit it when u free, it quite useful though From: Dave Newton davelnew...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tue, September 14, 2010 3:55:03 PM Subject: Re: [S2] trim textfield Not by default. I'd

RE: Struts2 and Maven Archetypes

2010-09-14 Thread Roland T. Craddolph
After you enter the value for groupId, artifactId, and version, you have to enter in the value for package I attached a screen shot of an example of what I'm talking about. I'm just wondering what would be recommended to put there. Roland T. Craddolph Amagatto Solutions LLC Principal Member

Re: Struts2 and Maven Archetypes

2010-09-14 Thread Dave Newton
The root of your package structure. On Tue, Sep 14, 2010 at 11:50 AM, Roland T. Craddolph rcraddo...@amagatto.com wrote: After you enter the value for groupId, artifactId, and version, you have to enter in the value for package I attached a screen shot of an example of what I'm talking

RE: Struts2 and Maven Archetypes

2010-09-14 Thread Roland T. Craddolph
Is there a standard like src/main/java? I'm trying to follow some of the Google examples for project development (mostly RCP for the time being), but I've been in several Java developing environments that don't have the same layout when it comes to Java development. Roland T. Craddolph

Re: Struts2 and Maven Archetypes

2010-09-14 Thread Dave Newton
That's a directory structure, not a package structure. The archetype will put the source in the right place for Maven. On Tue, Sep 14, 2010 at 12:53 PM, Roland T. Craddolph rcraddo...@amagatto.com wrote: Is there a standard like src/main/java?  I'm trying to follow some of the Google examples

RE: Struts2 and Maven Archetypes

2010-09-14 Thread Roland T. Craddolph
Ok. I started messing around with some more and option 6 didn't work, it has a build failure. Roland T. Craddolph Amagatto Solutions LLC Principal Member and Lead Architect Email: rcraddo...@amagatto.com Website: http://www.amagatto.com -Original Message- From: Dave Newton

Re: Struts2 and Maven Archetypes

2010-09-14 Thread Lukasz Lenart
2010/9/14 Roland T. Craddolph rcraddo...@amagatto.com: I started messing around with some more and option 6 didn't work, it has a build failure. Could you register an issue with attached error log? http://issues.apache.org/jira/browse/WW Thanks in advance -- Łukasz + 48 606 323 122

Re: Submit with several methods in Struts 2.2

2010-09-14 Thread hernan gonzalez
Has it been included in the JIRA tracker? https://issues.apache.org/jira/browse/WW https://issues.apache.org/jira/browse/WWI don't see it Hernán On Tue, Sep 14, 2010 at 6:18 AM, Maqsud Mohammad maqsud.moham...@ratedpeople.com wrote: i raised this issue as a bug but havent got any updates

Chaining Issue With Struts 2.2.1

2010-09-14 Thread Brice Roncace
I've been using a global-results mapping to chain exceptions to an exception handler action: global-results result name=unhandledException type=chainerror/result /global-results global-exception-mappings exception-mapping exception=java.lang.Throwable result=unhandledException/

Re: Chaining Issue With Struts 2.2.1

2010-09-14 Thread Lukasz Lenart
You can put your two cents here https://issues.apache.org/jira/browse/WW-3488 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail:

Problem with ActionForward

2010-09-14 Thread jeffo1b
I submit a very simple form to an action, the code in the action class finds the appropriate forward, and then control is handed off to the framework. no errors are generated, but i get a File Download popup window that asks, Do you want to save this file, or find a program online to open it?

Re: Problem with ActionForward

2010-09-14 Thread jeffo1b
Also, I am using Struts 1.3. jeffo1b wrote: I submit a very simple form to an action, the code in the action class finds the appropriate forward, and then control is handed off to the framework. no errors are generated, but i get a File Download popup window that asks, Do you want to

struts2 problem

2010-09-14 Thread sepid rahimi
hi I created a struts2spring project(in maven structure) and i'm going to write a result type that use from it in my actions and deployed in tomcat but i have this problem: java.lang. IllegalStateException: Must have the StrutsPrepareFilter execute before this one

AW: [S2] trim textfield

2010-09-14 Thread Adrian Ost
This one worked for me. public class StringTrimInterceptor extends AbstractInterceptor { /* (non-Javadoc) * @see com.opensymphony.xwork2.interceptor.AbstractInterceptor#intercept(com.opensymphony.xwork2.ActionInvocation) */ @Override public String

Re: Problem with ActionForward

2010-09-14 Thread jeffo1b
Update: the jsp I am trying to load (Contracts.jsp) has 3 included files in it. When I changed the forward mapping from (/pages/Contracts.jsp) to one of the included files (/pages/message.jsp) it loaded correctly. jeffo1b wrote: Also, I am using Struts 1.3. jeffo1b wrote: I