Re: Validation and automatic form bean generation

2001-02-16 Thread Nino Walker
Martin, I'm new to the Struts project, but we're about to migrate a massive codebase to JSP/Struts and have identified this as a sore spot. Basically we need a rules-based engine for populating/generating forms. In addition, many of the form fields are directly correlated with our forms, and it

Re: Validation and automatic form bean generation

2001-02-16 Thread martin . cooper
At 09:16 AM 2/16/01 +0100, Michael Gerdau wrote: >I'm not quite sure about the difference between (2) and (3). Sorry, I should have been more clear. In option (2), the bean-generation tool would read validation rules from the XML definition of the beans and generate code to perform the necessar

Re: MessagesResources - some thoughts

2001-02-16 Thread martin . cooper
Isn't this essentially why the "bundle" attribute was added to the tag? That would seem to solve the problem, although I guess it means you'd have to add that attribute to all your instances. -- Martin Cooper Tumbleweed Communications At 09:41 AM 2/16/01 -0600, Craig Tataryn wrote: >But tec

PATCH for netscape 4.7x and sessions

2001-02-16 Thread Gordon Maclean
As I reported on the struts-users mailing list, netscape 4.7x apparently treats these two URLs as distinct: http://xxx.yyy.zzz http://xxx.yyy.zzz:80 and does not send cookies accepted from one when sending requests to the other. This problem appears when testing struts-example, u

Re: MessagesResources - some thoughts

2001-02-16 Thread Craig Tataryn
But technically couldn't the application developer do this already? They could just add another init-param to the Servlet which specified a Resources class other than the default. The servlet writter would simply use this resource bundle instead, getting it's messages from there. You could have

Re: MessagesResources - some thoughts

2001-02-16 Thread Rob Leland
Roland Huss wrote: > > Hi, > > for some reasons I would like to separate messages put into JSP-pages > with from messages generated within java > code. +1 This sounds like a good Idea. I would vote for this change. Maybe you could post it to the bug/feature request so it ends up one the list

Re: Validation and automatic form bean generation

2001-02-16 Thread Michael Gerdau
[validation strategies skipped] I'm not quite sure about the difference between (2) and (3). >A combination of (2) and (3) might also make sense, where a basic validation >scheme might take care of existence rules (e.g. 'required') and type >definitions (e.g. 'must be an integer'), but where mor