Yeah, the type conversions were a know deficency in my code.
-Original Message-
From: craigmcc [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 6:45 PM
To: struts-user
Subject: RE: DynaBeans, DynaClass, DynaMen
I implemented something a little more memory-efficient than
;
return object;
}
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 6:45 PM
To: Struts Users Mailing List
Subject: RE: DynaBeans, DynaClass, DynaMen
I implemented something a little more memory-efficient than this (doesn't
. I
want to handle this within the
Struts framework therfore if you have any ideas let me know. I am open to
any suggestions.
Regards,
Anjana
From: Adolfo Miguelez
Subject: RE: DynaBeans, DynaClass, DynaMen
Date: Mon, 01 Jul 2002 09:54:52 -0700
List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: FW: DynaBeans, DynaClass, DynaMen
Date: Mon, 15 Jul 2002 10:06:50 -0400
Hello All - I've been following this thread and have been doing some
similar
work. In the code that was given here, there is really no regard for type
PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: DynaBeans, DynaClass, DynaMen
Date: Mon, 15 Jul 2002 20:14:33 +0600
Hi All,
I need to know if there is any Struts Tag being developed for 1.1
whiich supports Dynabeans in a
truely dynamic way.
I have seen examples
On Mon, 15 Jul 2002, Anjana Wijayaweera wrote:
Date: Mon, 15 Jul 2002 20:14:33 +0600
From: Anjana Wijayaweera [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: DynaBeans, DynaClass, DynaMen
Hi All
-user
Subject: Re: DynaBeans, DynaClass, DynaMen
[EMAIL PROTECTED] skrev:
...anyone remember DynaMen?
Anyhow... I got a Dynabean mechanism working that builds a DynaBean
based on the metadata of a SQL result set, populates and array of the
little buggers and passes it back to me
On Fri, 12 Jul 2002, Thorbjoern Ravn Andersen wrote:
Date: Fri, 12 Jul 2002 07:02:57 +0200
From: Thorbjoern Ravn Andersen [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: DynaBeans, DynaClass, DynaMen
-
From: craigmcc [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 12:07 PM
To: struts-user
Subject: Re: DynaBeans, DynaClass, DynaMen
On Fri, 12 Jul 2002, Thorbjoern Ravn Andersen wrote:
Date: Fri, 12 Jul 2002 07:02:57 +0200
From: Thorbjoern Ravn Andersen [EMAIL PROTECTED]
Reply
-0400
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: DynaBeans, DynaClass, DynaMen
Here is what I am using... Very simple and only returns strings...
/**
* Converts a resultset into an ArrayList of DynaBeans
Cool beans! (Yes, pun intended - it's Friday, right? :)
--
Martin Cooper
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 3:45 PM
To: Struts Users Mailing List
Subject: RE: DynaBeans, DynaClass, DynaMen
I implemented
Subject: Re: DynaBeans, DynaClass, DynaMen
From: Vic C. [EMAIL PROTECTED]
===
Looks a bit like
http://www.javaworld.com/javaworld/jw-02-2001/jw-0202-cachedrow.html
listing #3 of disconnected row set.
Can we get metaData out of it so I can write auto updates?
So a DAO that has a Iterator
On Fri, 12 Jul 2002, Struts Newsgroup wrote:
Date: Fri, 12 Jul 2002 18:40:02 -0700
From: Struts Newsgroup [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: DynaBeans, DynaClass, DynaMen
Subject: Re: DynaBeans, DynaClass, DynaMen
Subject: Re: DynaBeans, DynaClass, DynaMen
From: Vic C. [EMAIL PROTECTED]
===
Sorry, excited: I see:
DynaProperty.getType() ;
So based on it I can get the type, and create an UPDATE TABLE SET X = Y
WHERE Z=K in a base class. Cool.
I wonder about original values for a reset, etc.
Vic
Vic
Subject: Re: DynaBeans, DynaClass, DynaMen
From: Vic C. [EMAIL PROTECTED]
===
I am so over all this. (I have a basejDAO project on SourceForge... that
will take a SQL string and expose CRUD methods, that might use this).
Very Cool.
Vic
Craig R. McClanahan wrote:
On Fri, 12 Jul 2002, Struts
Subject: Re: DynaBeans, DynaClass, DynaMen
From: Vic C. [EMAIL PROTECTED]
===
And... can we give it a datasource argument (instead of con) and use
RowSet instead of ResultSet?
Vic
Vic C. wrote:
Looks a bit like
http://www.javaworld.com/javaworld/jw-02-2001/jw-0202-cachedrow.html
listing
On Fri, 12 Jul 2002, Struts Newsgroup wrote:
Date: Fri, 12 Jul 2002 18:55:02 -0700
From: Struts Newsgroup [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: DynaBeans, DynaClass, DynaMen
Subject: Re: DynaBeans, DynaClass, DynaMen
On Fri, 12 Jul 2002, Struts Newsgroup wrote:
Date: Fri, 12 Jul 2002 18:55:01 -0700
From: Struts Newsgroup [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: DynaBeans, DynaClass, DynaMen
Subject: Re: DynaBeans, DynaClass, DynaMen
On Fri, 12 Jul 2002, Martin Cooper wrote:
Date: Fri, 12 Jul 2002 17:03:24 -0700
From: Martin Cooper [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: DynaBeans, DynaClass, DynaMen
Cool beans! (Yes, pun
Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: RE: DynaBeans, DynaClass, DynaMen
On Fri, 12 Jul 2002, Martin Cooper wrote:
Date: Fri, 12 Jul 2002 17:03:24 -0700
From: Martin Cooper [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users
Subject: Re: DynaBeans, DynaClass, DynaMen
From: Vic C. [EMAIL PROTECTED]
===
But... if it does not copy... what happens to RowSet connection while
the data is on the page?
RowSet has to be disconnected while the use sees it on the page, so I am
not keeping the connection open
[EMAIL PROTECTED] skrev:
...anyone remember DynaMen?
Anyhow... I got a Dynabean mechanism working that builds a DynaBean
based on the metadata of a SQL result set, populates and array of the
little buggers and passes it back to me. For displaying I have a tag
library that does not like a
Apparently the Display Tags library does support Dynabeans... I had an
action screwed up
Works well!
-Original Message-
From: Chmura, William B.
Sent: Monday, July 01, 2002 12:28 PM
To: struts-user
Subject: RE: DynaBeans, DynaClass, DynaMen
definatly will submit them... Tried
...anyone remember DynaMen?
Anyhow... I got a Dynabean mechanism working that builds a DynaBean
based on the metadata of a SQL result set, populates and array of the
little buggers and passes it back to me. For displaying I have a tag
library that does not like a call to get('name') as
Java Bean or Dynabean to pick up the information.
I think your approach is correct,
Adolfo.
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: DynaBeans, DynaClass, DynaMen
Date: Mon, 1 Jul 2002 10:39:46 -0400
...anyone remember
[EMAIL PROTECTED] wrote:
Anyhow... I got a Dynabean mechanism working that builds a DynaBean
based on the metadata of a SQL result set, populates and array of the
little buggers and passes it back to me. For displaying I have a tag
library that does not like a call to get('name') as the
]]
Sent: Monday, July 01, 2002 11:28 AM
To: struts-user
Subject: Re: DynaBeans, DynaClass, DynaMen
[EMAIL PROTECTED] wrote:
Anyhow... I got a Dynabean mechanism working that builds a DynaBean
based on the metadata of a SQL result set, populates and array of the
little buggers and passes
: DynaBeans, DynaClass, DynaMen
I have implemented the same approach: getting results from a database
query
and wrap them in an ArrayList of dynabeans. In that way I can use the
Struts
Customs tags in order to render the dynabeans content in the JSP.
Custom Tags rely on Commons BeanUtils package
I'll answer both mails at the same time ..
[EMAIL PROTECTED] wrote:
If I followed this approach and wanted to implement it across many
pages, would I just code the interface for every possible field that
could be returned? I am not sure and I left my patterns book at home
today
: DynaBeans, DynaClass, DynaMen
I'll answer both mails at the same time ..
[EMAIL PROTECTED] wrote:
If I followed this approach and wanted to implement it across many
pages, would I just code the interface for every possible field that
could be returned? I am not sure and I left my patterns book
List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: DynaBeans, DynaClass, DynaMen
Date: Mon, 1 Jul 2002 12:10:51 -0400
Yep, the display tag library...
I spent some time looking at the source last night, and modifying it
should not be that bad...
Thanks for the feedback!
-Original
On Mon, 1 Jul 2002 [EMAIL PROTECTED] wrote:
Date: Mon, 1 Jul 2002 10:39:46 -0400
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: DynaBeans, DynaClass, DynaMen
...anyone remember DynaMen?
Anyhow... I got a Dynabean
Craig R. McClanahan wrote:
The standard methods in BeanUtils and PropertyUtils know how to deal with
DynaBeans already (essentially your option (B)). That is why all of the
Struts tags can deal with DynaBeans or standard JavaBeans with no changes.
Is there a reason you can't use things like
I should be able to do bean write on them, but I would lose the pretty
functionality I get with the taglib...
-Original Message-
From: cliff [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 1:42 PM
To: struts-user
Subject: Re: DynaBeans, DynaClass, DynaMen
Craig R
On Mon, 1 Jul 2002, Cliff Rowley wrote:
Date: Mon, 01 Jul 2002 18:42:24 +0100
From: Cliff Rowley [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: DynaBeans, DynaClass, DynaMen
Craig R. McClanahan wrote
35 matches
Mail list logo