Re: nested iteration problem

2006-05-19 Thread Jeff Butler
  I have one more query.As you said this is not nested iteration problem. But I have one more problem why is multiple iteration tags not working?   for eg I have query like   select prj.group_name Group_name, prj.PROJECT_NAME PROJECT_NAME , prj.status Status, EXECUTION_TYPE ,Project_Estimat

Re: nested iteration problem

2006-05-19 Thread Rahesh Kumar
eff Butler  On 5/12/06, Rahesh Kumar <[EMAIL PROTECTED]> wrote: Jeff,   I have one more query.As you said this is not nested iteration problem. But I have one more problem why is multiple iteration tags not working?   for eg I have query like   select prj.group_name Group_name, prj.P

Re: nested iteration problem

2006-05-13 Thread Jeff Butler
eff,   I have one more query.As you said this is not nested iteration problem. But I have one more problem why is multiple iteration tags not working?   for eg I have query like   select prj.group_name Group_name, prj.PROJECT_NAME PROJECT_NAME , prj.status Status, EXECUTION_TYPE ,Project_Esti

Re: nested iteration problem

2006-05-12 Thread Rahesh Kumar
Jeff,   I have one more query.As you said this is not nested iteration problem. But I have one more problem why is multiple iteration tags not working?   for eg I have query like   select prj.group_name Group_name, prj.PROJECT_NAME PROJECT_NAME , prj.status Status, EXECUTION_TYPE

Re: nested iteration problem

2006-05-11 Thread Jeff Butler
This is somewhat convoluted because of using maps...and I'm just typing, so there may be errors.  But this is the general idea:   List sundaysList = new ArrayList();   Map sundaysMap = new HashMap(); sundaysMap.put("firstSunday", some_date); sundaysMap.put("lastSunday", some_date); sundaysList.add(

Re: nested iteration problem

2006-05-11 Thread Rahesh Kumar
Hi jeff,   Thanks for your solutions.can you provide me some example implementation as I am new to IBATIS, I am finding it bit difficult to use your solution directly.   Thanks in advance Rahesh  On 5/11/06, Jeff Butler <[EMAIL PROTECTED]> wrote: This isn't nested iteration.   What you should do

Re: nested iteration problem

2006-05-11 Thread Jeff Butler
This isn't nested iteration.   What you should do is have a map property called something like "sundaysList" that returns a List.  That list should contain other maps with firstSunday and lastSunday properties.  Then iterate over the "sundays" property and specify the values like "sundaysList[].fir

nested iteration problem

2006-05-10 Thread Rahesh Kumar
Hi, Need your help in solving this below mentioned problem, I am using IBatis 2.0 version ,I am facing problem as given below     I have a statement like one below    select ( select group_name projectgroupname from project_groups where group_id = (select group_id from projects where project_id =

AW: Iteration Problem

2005-09-24 Thread [EMAIL PROTECTED]
your problem.       -Ursprüngliche Nachricht-Von: Greg Preston [mailto:[EMAIL PROTECTED]Gesendet: Samstag, 24. September 2005 18:00An: user-java@ibatis.apache.orgBetreff: Iteration Problem All,   There have been several good posts on this board regarding the use of t

RE: Iteration Problem

2005-09-24 Thread Niels Beekman
’.   If you move the CDATA-tags to the characters that need it (>,<, etcetera) it should work.   Niels   From: Greg Preston [mailto:[EMAIL PROTECTED] Sent: zaterdag 24 september 2005 18:00 To: user-java@ibatis.apache.org Subject: Iteration Problem   All,   Ther

Iteration Problem

2005-09-24 Thread Greg Preston
All,   There have been several good posts on this board regarding the use of the iteration tag over a list.  For some reason I get the following error:   There is no READABLE property named 'approvalRoles[]' in class 'com.intv.it.rw.model.SessionCache'       parameterClass="co