RE: Validator: Validation based on action path and not by form name
Thanks Adam, But what exactly I have to put in validation.xml Now the xml has these lines Should I change it to? Regards Kamakshya -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 7:19 PM To: Struts Users Mailing List Subject: Re: Validator: Validation based on action path and not by form name Kamakshya, if you use the ValidatorActionForm instead of the ValidatorForm, then you can do this. Adam On 03/18/2004 08:26 AM Prasad, Kamakshya wrote: > Hi All, > > Is it possible for validation.xml to take action path attribute instead > of form name for putting javascript validation rules for a page? > > I am having a page with lot of buttons, each mapping to a particular > action path. I want to validate the screen elements based on these > action paths and not as a whole form. > > Please let me know if there is any such facility provided by struts. > > Regards, > Kamakshya > > -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validator: Validation based on action path and not by form name
Hi All, Is it possible for validation.xml to take action path attribute instead of form name for putting javascript validation rules for a page? I am having a page with lot of buttons, each mapping to a particular action path. I want to validate the screen elements based on these action paths and not as a whole form. Please let me know if there is any such facility provided by struts. Regards, Kamakshya
Validator: Validation based on action path and not by form name
Hi All, Is it possible for validation.xml to take action path attribute instead of form name for putting javascript validation rules for a page? I am having a page with lot of buttons, each mapping to a particular action path. I want to validate the screen elements based on these action paths and not as a whole form. Please let me know if there is any such facility provided by struts. Regards, Kamakshya
XML loading and caching in struts
Hi All, We have an xml file containing lot of application mapping (specific to business logic), provided by the client for whom we are building a web application. We want to read the xml and cache the read data while application starts. Also refresh it whenever it gets changed. We are looking for some thing very similar to MessageResources. Please let me how to implement this in struts. KP
SASParser exception when using struts1.1 with weblogic8.1
Hi, I am using Struts 1.1 with weblogic 8.1 as the application server, for building a web based application. Whenever I starts the server or redeploys the application it throws this exception though the application works fine. java.lang.ClassNotFoundException: weblogic/apache/xerces/parsers/SAXParser at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source) at weblogic.servlet.internal.WebAppHelper.makeImplicitTaglibMap(WebAppHelpe r.java:293) at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppS ervletContext.java:5091) at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletC ontext.java:4956) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext .java:556) at weblogic.servlet.internal.WebAppServletContext.(WebAppServletConte xt.java:507) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:513) at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:610) at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationC ontainer.java:2891) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationCon tainer.java:1527) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer. java:1183) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer. java:1026) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer. java:817) at weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(Slave Deployer.java:3022) at weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Sl aveDeployer.java:927) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java :394) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(D eploymentManagerServerLifeCycleImpl.java:230) at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:927) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:354) at weblogic.Server.main(Server.java:32) This class is already available in weblogic.jar. Still why's the server not able to find it. Any clues? KP
Help on ApplicationResources
Hi All, We are using struts framework for building an application for a client. In the system, the client wants to have all the error messages, labels etc in the database instead of having them in a properties file. Please let me know that how can we extend the necessary packages provided by struts with a minimal changes and with the ability to continue using the normal functionalities provided by struts like , errors, ActionErrors etc. Thanks and Regards, Kamakshya