Re: Beans constructed with BCEL makes html:option throw ClassCastExceptioninStruts 1.0.2

2002-04-30 Thread Thorbjoern Andersen
James Mitchell wrote: With all the features of Struts 1.1 and 1.1-beta, why do you continue in this direction? Am I missing something? I can create a 5 page wizard and never write a single line of ActionForm code. Help me if I am misunderstanding. I got around the symptoms so now it

Beans constructed with BCEL makes html:option throw ClassCastExceptionin Struts 1.0.2

2002-04-29 Thread Thorbjoern Andersen
As mentioned on this list previously I have, with great labour, written a class which generates beans on the fly using BCEL based on a user-provided Property mapping field-named to field-types. This now works well, but my first attempt on using these beans with Struts have failed with the

Re: Creating beans dynamically from byte code in a byte[] with ClassLoader.defineClass- how to do it right?

2002-04-24 Thread Thorbjoern Andersen
Craig R. McClanahan wrote: Subject: Re: Creating beans dynamically from byte code in a byte[] with ClassLoader.defineClass - how to do it right? From: JM [EMAIL PROTECTED] === Absolutely, how did ya do it? One approach to dynamic class generation would be to use the BCEL package at

Re: Creating beans dynamically from byte code in a byte[] with ClassLoader.defineClass- how to do it right?

2002-04-20 Thread Thorbjoern Andersen
Thorbjørn Ravn Andersen (Scandiatransplant) wrote: I have spent some time lately figuring out how I can generate beans on-the-fly with fields completely specified at run-time, since this would be an enourmeous help when working with JDBC and Struts in an informal matter (which is why I ask here