Re: Strange problem with Validators in Struts 1.2.9

2007-02-27 Thread Dave Newton
--- Tom Bednarz <[EMAIL PROTECTED]> wrote: > I still do not feel very comfortable with writing > that many actions around 'CRUDing' an object. I generally use a single action for CRUD. You may want to look at DispatchAction (or something like that, it's been awhile) and consider the GET/POST divi

Re: Strange problem with Validators in Struts 1.2.9

2007-02-26 Thread Tom Bednarz
Yeah, looks like it is the wrong action I am calling, or better I need more actions to process a single user input. I still do not feel very comfortable with writing that many actions around 'CRUDing' an object. Thanks a lot anyway! Tom Dave Newton wrote: --- Tom Bednarz <[EMAIL PROTECTED]> wr

Re: Strange problem with Validators in Struts 1.2.9

2007-02-26 Thread Dave Newton
--- Tom Bednarz <[EMAIL PROTECTED]> wrote: > Any idea what I am doing wrong here??? Not "wrong", really, but probably you're using an action-mapping with validate='true' to do the initial form display. With no defaults it will validate with an error. Two ways to get around this are: 1) Use a pre