RE: Struts 1.1 TODO List -- Event and Listener Model

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Cook, Levi wrote: > Ahhh, now I follow what you were saying. > > I think both event dispatching mechanisms exist becuase they provide support > for semantically separate issues. The first form is notification that > something "interesting" just happened. The second form is

Re: Controller loads forms before validating logon/session

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Lou Farho wrote: > I noticed that when I bookmark a link with *.do, the form is loaded > and validated before I check for a valid logon/session. > > Am I suppose to put code into my forms to check for a logon/session? > > Shouldn't there be way to tell the Controller ( Ac

Re: javax.servlet.UnavailableException: Input/output error readingconfiguration from resource path /WEB-INF/struts-config.xml

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Jonathan Asbell wrote: > However, I think it should be designed somehow to look locally for the dtd > in this case. I have seen alot of talk about this dtd issue in the last few > weeks which is an indicator that a clearer explanation and minor code tweak > are probably wa

Re: installing struts taglibs

2001-06-22 Thread William Shulman
thanks for the explaination. -will Craig R. McClanahan writes: > > > On Thu, 21 Jun 2001, William Shulman wrote: > > > > > thanks Craig- > > > > I may be appealing to the wrong crowd (as I expect this stuff is all > > part of the Servlet spec), but this somehow seems to be less mo

Re: installing struts taglibs

2001-06-22 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, William Shulman wrote: > > thanks Craig- > > I may be appealing to the wrong crowd (as I expect this stuff is all > part of the Servlet spec), but this somehow seems to be less modular > than I would like. It seems that the spirit or .war files is to be an > extension of

RE: server-side, java-based validation rules for struts..

2001-06-22 Thread Cook, Levi
IMHO, expressing rules using first class Java objects *can* be just as flexible as defining rules in an XML file. The analog to changing a value in an XML file is using a property editor to change values stored in a JavaBean (thus avoiding recompiling). The upside of this approach is simpler int

RE: Workflow Context

2001-06-22 Thread Ronel Sumibcay
Howdy, I'm working on a framework that allows a struts developer to reuse certain wizard based pages where the wizard doesn't change, but the start and end points do i.e. Basically a way to plug in a use case into other use cases. The result of the wizard would be a bean (foreign key) that would

RE: server-side, java-based validation rules for struts..

2001-06-22 Thread ABolarinwa
Anyone know of utilitiy that helps in editing the application resources. We currently keep the validation regular expression and masks in the applcation resources. This is convenient since some of these may be locale dependent. It would be nice to have a utility that help in adding to, select fro

RE: Struts 1.1 TODO List -- Event and Listener Model

2001-06-22 Thread Cook, Levi
Ahhh, now I follow what you were saying. I think both event dispatching mechanisms exist becuase they provide support for semantically separate issues. The first form is notification that something "interesting" just happened. The second form is the prevention of placing an object into an invalid

RE: server-side, java-based validation rules for struts..

2001-06-22 Thread Nick Afshartous
David Winterfeldt writes: > I don't think there would be anything wrong with your > idea, but I think it is a little more flexible keeping > the validation separate from the ActionForm. I > started working on a validation framework, but I put > the info in an xml file. I would rather chang

Controller loads forms before validating logon/session

2001-06-22 Thread Lou Farho
I noticed that when I bookmark a link with *.do, the form is loaded and validated before I check for a valid logon/session.    Am I suppose to put code into my forms to check for a logon/session?   Shouldn't there be way to tell the Controller ( ActionServlet) to perform some sort

Re: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml

2001-06-22 Thread Jonathan Asbell
I am not using the Struts jar because I am working with the source. So that is probablt why it is happening, but I fixed it with Zhao's excellent tip! =) However, I think it should be designed somehow to look locally for the dtd in this case. I have seen alot of talk about this dtd issue in the

Re: Struts 1.1 TODO List -- Event and Listener Model

2001-06-22 Thread Jonathan Asbell
That is what I was saying yesterday Levi, when I mentioned: "One thing I may suggest is that maybe you dont need to be explicit with the type of listeners, and just register listeners" Since we dont know and really will never know what kind of listeners we will need because it may be specific to

RE: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml

2001-06-22 Thread Sukachevin, Stoehr
But the XML parser that the Digester uses should be able to get the dtd from struts.jar. Is struts.jar in your weblogic classpath or in your web app? I have no problems when struts.jar is in the weblogic classpath for v5.1 SP9. Not sure about when it is in a web app's lib directory, though. --