Re: RowSetDynaClass weird problem

2005-08-29 Thread C.F. Scheidecker Antunes
o create a Radiobutton table on the fly using RowSetDynaClass I have an action that calls a DAO which returns a RowSetDynaClass like this: *public* ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletRespons

RowSetDynaClass weird problem

2005-08-29 Thread C.F. Scheidecker Antunes
Hello all, I've done it before, in one project it works perfectly in the other it doesn't so I was hoping I could get some help from you. This new project tries to create a Radiobutton table on the fly using RowSetDynaClass I have an action that calls a DAO which returns a RowSe

Questions about RowSetDynaClass

2005-08-24 Thread C.F. Scheidecker Antunes
Hello all, I would like to ask a few questions about RowSetDynaClass. I can successfully set up one in a DAO class and include it in the request scope of an action class to forward to a JSP. The problem is with the JSP. Problem number one: - If the bean is null or empty I have an error

RE: help needed with RowSetDynaClass

2005-06-08 Thread McDonnell, Colm (MLIM)
8 June 2005 14:27 To: user@struts.apache.org Subject: help needed with RowSetDynaClass Hello all, I am writing a jsp that retrieves a row of a table in my database and allows the user to modify the fields using a form. For example, if I have the following table in my database: NAME GENDER John Ma

help needed with RowSetDynaClass

2005-06-08 Thread Javier Santos Martin-Moreno
Hello all, I am writing a jsp that retrieves a row of a table in my database and allows the user to modify the fields using a form. For example, if I have the following table in my database: NAME GENDER John Male Ann Female and the following code in my action class ... RowSetDynaClass

RE: RowSetDynaClass

2004-06-15 Thread DGraham
ts Users Mailing List" <[EMAIL PROTECTED]> To "'Struts Users Mailing List'" <[EMAIL PROTECTED]> cc Subject RE: RowSetDynaClass Hey Chris, Thanks a lot for the detailed information. I have just one more issue, I have used the RowSetDynaClass (be

RE: RowSetDynaClass

2004-06-15 Thread CRANFORD, CHRIS
] Sent: Tuesday, June 15, 2004 8:34 AM To: Struts Users Mailing List Subject: RE: RowSetDynaClass I'm curious. When I proposed the use of RowSetDynaClass yesterday, you replied that it wasn't fast enough. What changed? Dennis "CRANFORD, CHRIS" <[EMAIL PROTECTED]&

RE: RowSetDynaClass

2004-06-15 Thread DGraham
I'm curious.  When I proposed the use of RowSetDynaClass yesterday, you replied that it wasn't fast enough.  What changed? Dennis "CRANFORD, CHRIS" <[EMAIL PROTECTED]> 06/15/2004 01:46 AM Please respond to "Struts Users Mailing List" <[EMAIL PR

RE: RowSetDynaClass

2004-06-15 Thread Kris Schneider
ntains a > field called item_number. I access it like as follows: > > > > > Your item number wasn't provided. > > > > > > > Does this make sense? > Chris > > -Original Message- > From: Rajat Pandit, Gurgaon [

RE: RowSetDynaClass

2004-06-15 Thread CRANFORD, CHRIS
Original Message- From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 4:21 AM To: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass Hey chris, This seems like a perfectly logical way to do it, but the problem that I came across for a generic quer

RE: RowSetDynaClass

2004-06-15 Thread Rajat Pandit, Gurgaon
(property) from the bean. Any clue? rajat -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 12:56 PM To: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass I don't use the display tags so couldn't tell you. I simply d

RE: RowSetDynaClass

2004-06-15 Thread CRANFORD, CHRIS
as the DB supports a JDBC connection. HTH, Chris -Original Message- From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 2:52 AM To: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass just one more passing thought, I was wondering if there was

RE: RowSetDynaClass

2004-06-15 Thread CRANFORD, CHRIS
Your item number wasn't provided. Does this make sense? Chris -Original Message- From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 2:49 AM To: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass Hey Chris,

RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
: Tuesday, June 15, 2004 11:44 AM To: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass My PagedTableBean constructor looks like the following: public PagedTableBean(Connection conn, String sql, long pageNumber,

RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
Hey Chris, Thanks a lot for the detailed information. I have just one more issue, I have used the RowSetDynaClass (beanutils.jar) and I had this issue where I couldn't control the position of the column numbers as in the 2 column in the sql could be anywhere in the resultset returned.

Re: RowSetDynaClass

2004-06-14 Thread Navjot Singh
caching stuff etc. Any pointers? Rajat (OT (only for navjot) ps: any clue where amit malhotra is these days?) -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 11:38 AM To: Struts Users Mailing List Subject: Re: RowSetDynaClass if that was really a

RE: RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass Hey navjot, Thanks for the inputs(any pointers to the documentations (URL) would again be of great help) I have been pretty happy using the display tag, for small record sets (about 12000 or so) but I needed something more in case I ne

RE: RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
ResultSet rs = ps.executeQuery(); rows = new RowSetDynaClass(rs,true); rs.close(); ps.close(); } catch(SQLException e) { throw new PagedTableException(e.getMessage()); } } public Collection getRo

RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
. Any pointers? Rajat (OT (only for navjot) ps: any clue where amit malhotra is these days?) -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 11:38 AM To: Struts Users Mailing List Subject: Re: RowSetDynaClass if that was really a problem for

Re: RowSetDynaClass

2004-06-14 Thread Navjot Singh
period of time. I would really appreciate your time and effort. Thanks in adv. rajat -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 11:17 AM To: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass Found the answer ;-) ...

RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
effort. Thanks in adv. rajat -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 11:17 AM To: 'Struts Users Mailing List' Subject: RE: RowSetDynaClass Found the answer ;-) ... Avoid the tags all together and stick with the standard s

RE: RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
ECTED]' Subject: RowSetDynaClass I am storing a RowSetDynaClass property in my java class and I have implemented a method on my class as follows: public Collection getRows() { return((Collection)rsdc.getRows()); } In my action, I store my custom class object reference

RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
I am storing a RowSetDynaClass property in my java class and I have implemented a method on my class as follows: public Collection getRows() { return((Collection)rsdc.getRows()); } In my action, I store my custom class object reference as follows: request.setAttribute("results", my

Getting nested table information from the database to the JSP using ROWSETDYNACLASS

2004-05-28 Thread milind.2.bhagwat
OrderVO contains a collection of OrderLineVo and OrderNoteVO. However This means I an copying data by value when I create these value objects. I was thinking of using the RowsetDynaClass. Mu question is, How can I use the RowsetDynaclass to get this information back to the JSP. Thanks, Milind