RE: redirectAction not working

2010-01-30 Thread Robby Atchison
Thanks for the suggestion.  The configbrowser plugin indicates there are no 
results for the action in question.  The question is why.

Thanks,
Rob

-Original Message-
From: Paweł Wielgus [mailto:poulw...@gmail.com] 
Sent: Saturday, January 30, 2010 6:03 AM
To: Struts Users Mailing List
Subject: Re: redirectAction not working

Hi Rob,
you might try ConfigBrowserPlugin,
see why here:
http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html

Best greetings,
Paweł Wielgus.


2010/1/30 Robby Atchison :
> Hello,
>
>
>
> I have the following configuration in a Struts.xml file.  The
> paramsPrepareParamsStack is the default interceptor stack.  AccountAction
> does not implement any interfaces.  Both BankcardAction and ECheckAction
> implement Preparable and ModelDriven.
>
>
>
> class="com.epa.actions.AccountAction">
>
>
>
>  bankcard_browse
>
>
>
>
>
>  echeck_browse
>
>
>
>  
>
>
>
>   class="com.epa.actions.BankcardAction" >
>
>bankcarddetail.tile
>
>bankcarddetail.tile
>
>  
>
>
>
>   class="com.epa.actions.ECheckAction" >
>
>echeckdetail.tile
>
>echeckdetail.tile
>
>  
>
>
>
> Below is the execute method from AccountAction class..
>
>
>
>public String execute() {
>
>String actionName = "bankcard_browse";
>
>if (StringUtils.equalsIgnoreCase(recordType, "EC")) {
>
>  actionName = "echeck_browse";
>
>}
>
>return actionName;
>
>  }
>
>
>
> In my testing I get the error - No result defined for action
> com.epa.actions.AccountAction and result bankcard_browse. I can navigate
> straight to bankcard_browse (not going through AccountAction) without
> incident.  If I try to go to AccountAction first and redirect to
> bankcard_browse or echeck_browse I get the error. What am I doing wrong?
> I'm using Struts 2 version 2.1.8.1., Tiles 2.0.6, OGNL 2.7.3.I hope I've
> included enough information.  Any help will be greatly appreciated as I've
> been struggling with this problem for too long.
>
>
>
> Best regards,
>
> Rob
>
> rob...@msn.com
>
>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



redirectAction not working

2010-01-29 Thread Robby Atchison
Hello,

 

I have the following configuration in a Struts.xml file.  The
paramsPrepareParamsStack is the default interceptor stack.  AccountAction
does not implement any interfaces.  Both BankcardAction and ECheckAction
implement Preparable and ModelDriven.

 





  bankcard_browse





  echeck_browse



 

 

  

bankcarddetail.tile

bankcarddetail.tile

 



  

echeckdetail.tile

echeckdetail.tile

  

 

Below is the execute method from AccountAction class..

 

public String execute() {

String actionName = "bankcard_browse";

if (StringUtils.equalsIgnoreCase(recordType, "EC")) {

  actionName = "echeck_browse";

}

return actionName;

  }

 

In my testing I get the error - No result defined for action
com.epa.actions.AccountAction and result bankcard_browse. I can navigate
straight to bankcard_browse (not going through AccountAction) without
incident.  If I try to go to AccountAction first and redirect to
bankcard_browse or echeck_browse I get the error. What am I doing wrong?
I'm using Struts 2 version 2.1.8.1., Tiles 2.0.6, OGNL 2.7.3.I hope I've
included enough information.  Any help will be greatly appreciated as I've
been struggling with this problem for too long.

 

Best regards,

Rob

rob...@msn.com



validation question

2010-01-07 Thread Robby Atchison
Hello,  I would like to know how an actionname-validation.xml is tied to the
client-side validation.  I figure somewhere the xml file is read and
Javascript is output.  I'm having trouble connecting the dots.  Any
information and help will be appreciated.

 

Best regards!

 

Robby

rob...@msn.com