Re: FormDef [was Re: I remember now why I said I usually use my VO in my ActionForm]

2005-09-17 Thread Laurie Harper
No, though to be honest I didn't try very hard; I found another route to achieving what I needed and never came back to look further at FormDef. L. Ted Husted wrote: Just curious, Laurie. Did you ever find a way to use FormDef within your constraints? On 7/18/05, Laurie Harper <[EMAIL PROTEC

Re: FormDef [was Re: I remember now why I said I usually use my VO in my ActionForm]

2005-09-17 Thread Ted Husted
Just curious, Laurie. Did you ever find a way to use FormDef within your constraints? On 7/18/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Hubert Rabago wrote: > > On 7/16/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > >>I then fill the form in using a JSP tag if > >>necessary (i.e. the first ti

Re: I remember now why I said I usually use my VO in my ActionForm

2005-07-19 Thread Laurie Harper
Stéphane Zuckerman wrote: I found myself faced with the same question recently, and couldn't figure out a solution. The 'obvious' solution was to use Map-typed properties in my DynaActionForm declaration, but that didn't work :-( What was the problem ? I have used map-typed properties (which,

Re: I remember now why I said I usually use my VO in my ActionForm

2005-07-19 Thread Stéphane Zuckerman
Hello Laurie, I found myself faced with the same question recently, and couldn't figure out a solution. The 'obvious' solution was to use Map-typed properties in my DynaActionForm declaration, but that didn't work :-( What was the problem ? I have used map-typed properties (which, by the way

Re: FormDef [was Re: I remember now why I said I usually use my VO in my ActionForm]

2005-07-17 Thread Laurie Harper
Hubert Rabago wrote: On 7/16/05, Laurie Harper <[EMAIL PROTECTED]> wrote: I then fill the form in using a JSP tag if necessary (i.e. the first time the form is displayed, I call a tag to populate it). So will the techniques described in the article work with this scheme? It probably won't. F

Re: FormDef [was Re: I remember now why I said I usually use my VO in my ActionForm]

2005-07-17 Thread Hubert Rabago
On 7/16/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > 1) Given that FormDef is using DynaBeans / DynaForms under the covers, am I > right in assuming that form properties would need to be accessed with > expressings like ${EmployeeForm.map['address'].map['city']} outside of > Struts tags and si

FormDef [was Re: I remember now why I said I usually use my VO in my ActionForm]

2005-07-16 Thread Laurie Harper
Hubert Rabago wrote: Well, since you asked. The current FormDef dev build supports defining dynamic forms that have nested properties. https://formdef.dev.java.net/servlets/ReadMsg?list=users&msgNo=116 Awsome, I clearly need to check this out :-) I have an article to illustrate how the

Re: I remember now why I said I usually use my VO in my ActionForm

2005-07-15 Thread Hubert Rabago
On 7/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Rick Reumann wrote: > > How do you deal with a situation where you have to edit for example a > > master detail record that contains nested objects? It's so much easier > > dealing with the VOs for this kind of stuff. > > > If anyone knows h

Re: I remember now why I said I usually use my VO in my ActionForm

2005-07-15 Thread Laurie Harper
Rick Reumann wrote: The reason I often end up using my Value Object directly in my ActionForm is because rarely do I ever end up with a nice simple case where the users are submitting simple form fields. Typically I end up with cases where I have to deal with a bunch of nested beans. It gets I