Re: Managing code between Action Class and JSP.

2010-09-11 Thread Chris Mawata
code between Action Class and JSP. Yes I am using Struts1. On 9/9/2010 5:10 PM, Greg Lindholm wrote: ul s:iterator value=%{resultObjects} var=aFoo lis:property value=%{#aFoo.propertyName} //li /s:iterator /ul - To unsubscribe

RE: Managing code between Action Class and JSP.

2010-09-10 Thread CRANFORD, CHRIS
JSP pages clean and much easier to read. HTH, Chris -Original Message- From: Anjib [mailto:anji...@hotmail.com] Sent: Thursday, September 09, 2010 6:27 PM To: Struts Users Mailing List Subject: Managing code between Action Class and JSP. Yes I am using Struts1. On 9/9/2010 5

Managing code between Action Class and JSP.

2010-09-10 Thread Anjib Mulepati
. They will keep your JSP pages clean and much easier to read. HTH, Chris -Original Message- From: Anjib [mailto:anji...@hotmail.com] Sent: Thursday, September 09, 2010 6:27 PM To: Struts Users Mailing List Subject: Managing code between Action Class and JSP. Yes I am using Struts1

Re: Managing code between Action Class and JSP.

2010-09-10 Thread Paweł Wielgus
accordingly.  They will keep your JSP pages clean and much easier to read. HTH, Chris -Original Message- From: Anjib [mailto:anji...@hotmail.com] Sent: Thursday, September 09, 2010 6:27 PM To: Struts Users Mailing List Subject: Managing code between Action Class and JSP.   Yes I

Managing code between Action Class and JSP.

2010-09-10 Thread Anjib Mulepati
between Action Class and JSP. Yes I am using Struts1. On 9/9/2010 5:10 PM, Greg Lindholm wrote: ul s:iterator value=%{resultObjects} var=aFoo lis:property value=%{#aFoo.propertyName} //li /s:iterator /ul

Re: Managing code between Action Class and JSP.

2010-09-10 Thread Dave Newton
[mailto:anji...@hotmail.com] Sent: Thursday, September 09, 2010 6:27 PM To: Struts Users Mailing List Subject: Managing code between Action Class and JSP. Yes I am using Struts1. On 9/9/2010 5:10 PM, Greg Lindholm wrote: ul s:iterator value=%{resultObjects} var=aFoo lis:property value

Managing code between Action Class and JSP.

2010-09-09 Thread anjibman
); for(loop){ //Loop to result and display using html tags. //e.g. TD%= someField % /TD } % Thanks in advance -- View this message in context: http://old.nabble.com/Managing-code-between-Action-Class-and-JSP.-tp29648167p29648167.html Sent from the Struts - User mailing list archive

Managing code between Action Class and JSP.

2010-09-09 Thread anjibman
); for(loop){ //Loop to result and display using html tags. //e.g. TD%= someField % /TD } % Thanks in advance -- View this message in context: http://old.nabble.com/Managing-code-between-Action-Class-and-JSP.-tp29648186p29648186.html Sent from the Struts - User mailing list archive

Re: Managing code between Action Class and JSP.

2010-09-09 Thread Dave Newton
(); request.setAttribute(result,resultList); JSP %   result = request.getAttribute(result);   for(loop){     //Loop to result and display using html tags.     //e.g. TD%= someField % /TD   } % Thanks in advance -- View this message in context: http://old.nabble.com/Managing-code-between-Action

Re: Managing code between Action Class and JSP.

2010-09-09 Thread anjibman
in advance -- View this message in context: http://old.nabble.com/Managing-code-between-Action-Class-and-JSP.-tp29648167p29648167.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Managing code between Action Class and JSP.

2010-09-09 Thread Dave Newton
On Thu, Sep 9, 2010 at 4:12 PM, anjibman anji...@hotmail.com wrote: I will try to put in simple way but this may not be complete picture. What I am really struggling in is I have processing result in the form of List of objects. Now if I send this list of objects through request object to the

Re: Managing code between Action Class and JSP.

2010-09-09 Thread Dale Newfield
On 9/9/10 4:12 PM, anjibman wrote: What I am really struggling in is I have processing result in the form of List of objects. What would be the best practice to send such list to JSP ready to grab. Best practice is to store it inside the action, and add a getter to your action that returns

Re: Managing code between Action Class and JSP.

2010-09-09 Thread Greg Lindholm
I assumed from his example that he was using Strut1. Maybe he could tell us so we don't have to guess and give wrong info. On Thu, Sep 9, 2010 at 4:53 PM, Dale Newfield d...@newfield.org wrote: On 9/9/10 4:12 PM, anjibman wrote: What I am really struggling in is I have processing result in

Managing code between Action Class and JSP.

2010-09-09 Thread Anjib
Yes I am using Struts1. On 9/9/2010 5:10 PM, Greg Lindholm wrote: I assumed from his example that he was using Strut1. Maybe he could tell us so we don't have to guess and give wrong info. On Thu, Sep 9, 2010 at 4:53 PM, Dale Newfieldd...@newfield.org wrote: On 9/9/10 4:12 PM, anjibman