bean:message enhancement

2001-03-27 Thread Martin Mavrov
Hi, I was wondering if anyone is interested in enhacement of bean:message tag to be able to extract the key from bean/property, like this: bean:message name="b1" property="key"/ This is useful in cases when the key is dynamically chosen by the Action. The arguments could also be taken

Re: development issues

2001-03-27 Thread Jim Richards
In Dec-2000 issue of Javaworld, there was an article by "Thor Kristmundsson" about enhancing Struts framework with regex validation and automatic properties. Though the article is outdated due to recent development in Struts but I liked the idea and spent some time implementing it. I'm not keen

keepgenerated with struts in Weblogic

2001-03-27 Thread Suriyanarayanan, Senthil Kumar
Hello, I'm using struts in an expanded format in Weblogic5.1. I have mentioned keepgenerated=true in my weblogic.properties file, to generate and keep the java source file for the compiled jsp's. But it does not keep the generated java file only for those jsp's part of the web

RE: keepgenerated with struts in Weblogic

2001-03-27 Thread Sukachevin, Stoehr
Are you saying that the compiled JSPs are not being kept by WebLogic? If so, you should specify the following at the beginning of the web.xml file for the particular web application: context-param param-nameweblogic.jsp.keepgenerated/param-name param-valuetrue/param-value

RE: development issues

2001-03-27 Thread Jim Richards
But its not bad either for basic form validation (null, range checks like) and much better than using Javascript. I dont think any backend will rely upon JSP validation and wont perform its own tests prior to saving the data. Well, one of the 1.1 discussions is client side validation using

Re: development issues

2001-03-27 Thread Mike Oliver
We too are in favor of regex validation in Struts and will participate in development and testing. Mike Oliver Morningstar Systems. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 7:36 AM Subject: RE: development issues I agree that it

Iterate

2001-03-27 Thread raghu tadi
How would the bean element holding a vector of String objects be type casted to a String Object. Snippet : % Vector v = new Vector(); v.addElement(new String("John Doe")); v.addElement(new String("Jane Doe")); pageContext.setAttribute("v",v,

Iterate

2001-03-27 Thread Nick Afshartous
raghu tadi writes: How would the bean element holding a vector of String objects be type casted to a String Object. This certainly can't be done with type casting. The Vector elements would need to be concatenated. -- Nick Snippet : % Vector v = new Vector();

RE: development issues

2001-03-27 Thread Cook, Levi
Title: RE: development issues Surely I'm reiterating the obvious here, but Javascript alone cannot/should not be relied upon for validation. It does play a useful and important role, however its scope should normally be limited to improving the users experience with supplying input that our

cvs commit: jakarta-struts/src/share/org/apache/struts/action DispatchAction.java

2001-03-27 Thread rleland
rleland 01/03/27 08:16:53 Modified:src/share/org/apache/struts/action DispatchAction.java Log: This is definately a first, Struts wouldn't compile. Package name was incorrect corrected so it would compile ! ! ! Revision ChangesPath 1.2 +592 -296

Re: development issues

2001-03-27 Thread Incze Lajos
On Wed, Mar 28, 2001 at 12:11:37AM +1000, Jim Richards wrote: In Dec-2000 issue of Javaworld, there was an article by "Thor Kristmundsson" about enhancing Struts framework with regex validation and automatic properties. Though the article is outdated due to recent development in Struts but

Re: Iterate

2001-03-27 Thread Craig R. McClanahan
On Tue, 27 Mar 2001, raghu tadi wrote: How would the bean element holding a vector of String objects be type casted to a String Object. Snippet : % Vector v = new Vector(); v.addElement(new String("John Doe")); v.addElement(new String("Jane Doe"));