[OT] Re: accessing variables using logic:iterate

2005-08-17 Thread Dave Newton
Stéphane Zuckerman wrote: What I really dislike with struts tags is that attributes don't always mean the same thing from tag to tag, which is disturbing. I'm mainly thinking of the "name" and "property", and ".*Name" attributes too. Ah, I'm glad to hear I'm not the only one that is wogged by

Re: accessing variables using logic:iterate

2005-08-17 Thread Stéphane Zuckerman
Dave wrote : As a followup, you may want to consider switching to JSTL for straight-forward tasks such as this: where functionality is duplicated between the Struts tags and JSTL it's generally recommended to go the JSTL route. It's a trivial switch to make, and can be done mechanically in mos

Re: accessing variables using logic:iterate

2005-08-16 Thread Jay Sheth
Thanks a lot. Got it. As you said, the naming conventions were followed, but I made a typo in the property attribute. Sorry for the trouble. Jay On 8/16/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Jay Sheth wrote: > > >HI, > >When i do : > > > > > > > > > >it says not getter for employ

Re: accessing variables using logic:iterate

2005-08-16 Thread Dave Newton
Jay Sheth wrote: HI, When i do : it says not getter for employeeName in bean rtsummary. 'recurringTaskSummary' is a vector and not a bean. I tried using the attribute type="SpRecurringTaskSummary" but got the same error. I think I am missing the big picture or something basic in l

Re: accessing variables using logic:iterate

2005-08-16 Thread Jay Sheth
HI, When i do : it says not getter for employeeName in bean rtsummary. 'recurringTaskSummary' is a vector and not a bean. I tried using the attribute type="SpRecurringTaskSummary" but got the same error. I think I am missing the big picture or something basic in logic:iterate. Thank

Re: accessing variables using logic:iterate

2005-08-16 Thread Dave Newton
Stéphane Zuckerman wrote: I am using logic:iterate as follows: The output is name of objects. However I want to somehow access the variables employeename, employeeref etc. How do I do that ? Don't forget to use the bean naming conventions, though. As a followup, you ma

Re: accessing variables using logic:iterate

2005-08-16 Thread Stéphane Zuckerman
Hi Jay, session.setAttribute("recurringTaskSummary",v_recurringTaskSummary), SpRecurringTaskSummary [...] has certain variables such as EmployeeName, EmployeeRef etc. I am using logic:iterate as follows: The output is name of objects. However I want to somehow access the varia

accessing variables using logic:iterate

2005-08-16 Thread Jay Sheth
Hi, Currently I have a action class which does session.setAttribute("recurringTaskSummary",v_recurringTaskSummary), where v_recurringTaskSummary is a vector of type SpRecurringTaskSummary which has certain variables such as EmployeeName, EmployeeRef etc. I am using logic:iterate as follows: