Re: logic:iterate question

2007-11-26 Thread Ingo Villnow
The class "Book" must have the getter-function "getTitle()" Minghui Yu schrieb: > in Action: > ... > Set books=bdao.findAllBooks(); > request.setAttribute("books", books); > ... > > > In JSP: > > > All Books: > > > > > --

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I made this change , still does not work Next element is Error: No getter method for property: "title" of bean: "abook" I do have getTitle method for Book object On Nov 25, 2007 7:33 PM, Fitzwilliam. Aaron <[EMAIL PROTECTED]> wrote: > u sure the collection 'books' is not empty? > > > O

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I tried code below, still the same error: Next element is Database search does not return any result On Nov 25, 2007 7:33 PM, Fitzwilliam. Aaron <[EMAIL PROTECTED]> wrote: > u sure the collection 'books' is not empty? > > > On 11/26/07, Minghui Yu <[EMAIL PRO

Re: logic:iterate question

2007-11-25 Thread Fitzwilliam . Aaron
u sure the collection 'books' is not empty? On 11/26/07, Minghui Yu <[EMAIL PROTECTED]> wrote: > > in Action: > ... > Set books=bdao.findAllBooks(); >request.setAttribute("books", books); > ... > > > In JSP: > > > All Books: > > > > > -- > > The line ( throws an > exception: >

logic:iterate question

2007-11-25 Thread Minghui Yu
in Action: ... Set books=bdao.findAllBooks(); request.setAttribute("books", books); ... In JSP: All Books: -- The line ( throws an exception: Root Cause: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "book" in any scope (ther

Re: logic:iterate - Question

2007-08-09 Thread Mad Shop
Thanks Leon, We are using log4j for logging. Existing project is working fine and I added the following block for new requirement. when I remove tags then it won't give any error!!! Leon Rosenberg <[EMAIL PROTECTED]> wrote: you seems to have problems with logging configuration. appare

Re: logic:iterate - Question

2007-08-09 Thread Leon Rosenberg
you seems to have problems with logging configuration. apparently your weblogic server isn't properly configured which log to use with commons-logging adaptor. On 8/9/07, Mad Shop <[EMAIL PROTECTED]> wrote: > I have following scenario. > >I have getExSummary() method in exForm which return

logic:iterate - Question

2007-08-09 Thread Mad Shop
I have following scenario. I have getExSummary() method in exForm which returns a arraylist of A object. How to use logic:iterate tag to print all the values which methods in A object. getACount(),getBCount() are methods in A object. I tried following tag, which is not wor

AW: logic:iterate - question

2005-07-30 Thread Leon Rosenberg
Sure html render object > -Ursprüngliche Nachricht- > Von: peceka [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 30. Juli 2005 20:39 > An: user@struts.apache.org > Betreff: logic:iterate - question > > hi, > > I've got: > > ArrayLis

logic:iterate - question

2005-07-30 Thread peceka
hi, I've got: ArrayList offices array of office objects. On jsp page i'm showing this array using logic:iterate. But i would like to show just only some objects of this array list, which meet some condition. It is possible? Best Regards, p. -

logic:iterate Question

2005-03-23 Thread Mike Darretta
Folks, Thanks in advance for answering this urgent question. I know it's basic, but I'm stumped...your help is appreciated. I am trying to update data displayed via a tag with nested tags: type="package.name.AssetReportEntryValue">

logic:iterate question, for ArrayList of String arrays

2004-04-15 Thread Matthew Ryan
Hi, I have a session object with is an ArrayList of String arrays, all of length 2. Basically just two strings 'code' and 'description'. I want to iterate of the ArrayList for option tags in a dropdown list. I have been using a For Loop, getting each element, casting it to String[] and then pu