> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 26, 2002 11:44 AM
> To: Raible, Matt
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [Xdoclet-devel] generating Strings for all elements in a
> struts form
> 
> 
> Couldn't you just change the template (you're already using a custom 
> one, right?) to have a hard-coded "String" type instead of generating 
> it dynamically or however <strutsform>'s template currently does it?
> 

Duh - I should've thought of that!  Thanks Erik - saved me some time.

Matt

> Also, if you have a look at section 11.4.1 of my book you'll see an 
> (ugly, admittedly) example of generate Struts forms from 
> value objects 
> where I morph the datatypes depending on the type of the 
> original value 
> object field.
> 
>       Erik
> 
> 
> On Thursday, December 26, 2002, at 01:27  PM, Raible, Matt wrote:
> 
> > I am using the <strutsform> task to generate a struts' form from a 
> > Hibernate
> > object.  I'm having a problem where I have a couple of Long 
> variables 
> > that
> > are Long's in my StrutsForm.  How can I change this so all 
> variables 
> > in the
> > StrutsForm are Strings?
> >
> > Thanks,
> >
> > Matt
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> >
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to