Lack of Validator Messages SOLVED!!! ( was Re: ApplicationResource.properties file not be read?)

2007-03-05 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK... I figured it out. In all the text I was reading on the topic as I was going along I totally missed the fact that there is a catalog of messages that is **required** for the validator to work: To wit: errors.required={0} is required. errors.mi

Re: ApplicationResource.properties file not be read?

2007-03-05 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just a quick follow up to clarify what I'm "seeing." When I invoke this form, hit submit without filling anything in (in my eyes a worst case scenario) a popup window comes up with an exclamation point with no messages in it. - -- :::

Re: ApplicationResource.properties file not be read?

2007-03-05 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Laurie Harper wrote: > > If that's the case, you probably just have an error in your validation > configuration. Post the relevant parts of that for review. > > OK.. here goes: I'll use the simplest of the forms and work from there. The JSP for a

Re: ApplicationResource.properties file not be read?

2007-03-05 Thread Laurie Harper
Peter L. Berghold wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niall Pemberton wrote: It should work - is this exactly how you have things configured - because theres a slight difference in names below - one has an "s" on the end. eh... yeah.. the lack of "s" was the typo. They are

Re: ApplicationResource.properties file not be read?

2007-03-04 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niall Pemberton wrote: > It should work - is this exactly how you have things configured - > because theres a slight difference in names below - one has an "s" on > the end. > > eh... yeah.. the lack of "s" was the typo. They are actually the same n

Re: ApplicationResource.properties file not be read?

2007-03-04 Thread Niall Pemberton
It should work - is this exactly how you have things configured - because theres a slight difference in names below - one has an "s" on the end. Niall On 3/5/07, Peter L. Berghold <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I've asked this question befor

Re: Applicationresource.properties

2006-09-21 Thread Venkata Phani Kumar
Hi savino, you can get message resources instance using MessageResources messageResources = getResources(request) ; if you have multiple message resources you can get specific message resource as MessageResources messageResources = getResources(request, "bundleName") ; Now to get correspon

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
The properties file will be reloaded by the servlet. i'm not sure what you mean by "changed" in this context, it needs to be re-read if it is modified. Michael McGrady wrote: If the properties class is loaded, which I assume it is, the file would not have to be loaded, just changed, right? At

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
Use the administrator, its easier :) Make sure you have setup an "admin" and "manager" Account in your tomcat-users.xml file per the tomcat docs. Then go to http://localhost:8080 while Tomcat is running, and click the Administrator link. Expand the host link (I believe it is) and drill down to

Re: ApplicationResource.properties reload

2004-05-12 Thread Michael McGrady
If the properties class is loaded, which I assume it is, the file would not have to be loaded, just changed, right? At 06:58 AM 5/12/2004, Riyad Kalla wrote: If you are using Tomcat, it should reload this automatically if you have "reload properties" selected for your context (Atleast mine does

Re: ApplicationResource.properties reload

2004-05-12 Thread Michael McGrady
Hello, Riyad, I would like to select reload for my context. My present server.xml is the following: How would I do that? factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
If you are using Tomcat, it should reload this automatically if you have "reload properties" selected for your context (Atleast mine does while I'm wokring on the ApplicationResource file), and if all else fails, just use the Manager to restart the context (takes about 1 second). -Riyad Janart

RE: ApplicationResource.properties reload

2004-05-12 Thread Joe Germuska
At 6:35 PM +0530 5/12/04, Janarthan Sathiamurthy wrote: Hi, Those links were informative. But i want to reload only my ApplicationResource.properties. Any hints on how to tweak this ? For now, the solution is to create your own implementations of MessageResources and MessageResourcesFactory, and

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
uts Users Mailing List > Subject: RE: ApplicationResource.properties reload > > > Hi, > > Those links were informative. > But i want to reload only my ApplicationResource.properties. > Any hints on how to tweak this ? > > Regards, > Janarthan S > > -Origin

RE: ApplicationResource.properties reload

2004-05-12 Thread Janarthan Sathiamurthy
Subject: RE: ApplicationResource.properties reload Janarthan: Take a look at this link: http://www.scioworks.net/devnews/strutsDistilled/updates/update-020811/reload.html and at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg22743.html However: http://jakarta.apache.org/struts/faqs/newbie.html

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
Janarthan: Take a look at this link: http://www.scioworks.net/devnews/strutsDistilled/updates/update-020811/reload.html and at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg22743.html However: http://jakarta.apache.org/struts/faqs/newbie.html#reload Regards, Geeta > -Original Message--