Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread Dave Newton
Please ask this question on the struts-user list; struts-dev is for the development of Struts itself. Thanks, Dave --- On Fri, 11/7/08, SanJ.SANJAY wrote: > I am trying to display the collection that I am setting in > struts action to the request scope. > But when I try to use struts to > disp

Struts logic:iterate does not recognize the collection.

2008-11-07 Thread SanJ.SANJAY
I am trying to display the collection that I am setting in struts action to the request scope. But when I try to use struts to display the collection, it says does not find xxxCollection bean in any scope. In Action class: for (int i = 0; i < children.length; i++) { xxxCollection.add(filena

RE: Redirect Result Passing Parameters?

2008-11-07 Thread Steve Wolke
The ServletActionRedirectResult.class works for me also but the ServletRedirectResult.class does not. The documentation states that both of these result types support parameter passing. Steve -Original Message- From: Paweł Wielgus [mailto:[EMAIL PROTECTED] Sent: Friday, November 07,

Re: Redirect Result Passing Parameters?

2008-11-07 Thread Paweł Wielgus
Hi Steve, this works for me: @Result (type=ServletActionRedirectResult.class, value = "list", params = {"login", "${login}"}) don't forget getLogin() in action. Best greetings, Paweł Wielgus. 2008/11/7 Steve Wolke <[EMAIL PROTECTED]>: > Hey all, > > I just got done chasing my tail by trying to g

Redirect Result Passing Parameters?

2008-11-07 Thread Steve Wolke
Hey all, I just got done chasing my tail by trying to get the passing of parameters to work with the Redirect Result as described in the 2.1.2 guide at http://struts.apache.org/2.1.2/docs/redirect-result.html. Finally I decided to look at the code and noticed the code for appending the parameters