RE: ClassCastException coming from DynaValidatorForm.validate()-> bug or a feature?

2003-12-21 Thread Steve Armstrong
Hi, Validator has support for validating multi-page forms via the use of an optional "page" attribute, associated with a field element, that can be set to an integer. From the Validator portion of the user guide: All validation for any field on a page less than or equal to the current page is pe

RE: Validator Framework & Value Object ActionForm

2003-11-21 Thread Steve Armstrong
Hi, I assume that you would just validate on the nested form property named "contactValue.email". Cheers, -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 4:38 AM To: [EMAIL PROTECTED] Subject: Validator Framework & Value Objec

RE: Accessing a static final constant from Class in JSP

2003-11-18 Thread Steve Armstrong
Well, you can use a JSP expression which strictly speaking isn't a scriptlet. So, after you do your import, you can use constants like Cheers, -Steve -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 10:48 AM To: [EMAIL PROTECTED] Subject

RE: Reasons for using Struts

2003-09-28 Thread Steve Armstrong
Hi, This is a good place to start: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsBenefits Cheers, -Steve -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2003 12:53 AM To: [EMAIL PROTECTED] Subject: Reasons for using Struts What are t

RE: html_image property value not submitted

2003-09-27 Thread Steve Armstrong
The "value" attribute of an HTML 'input type="image"' tag (i.e., what the Struts tag is generating) is apparently ignored by all (most?) browsers. See: http://www.blooberry.com/indexdot/html/tagpages/i/inputimage.htm One solution is to have a hidden variable in your HTML form associated with yo

RE: how to tell invalid session vs session timed out

2003-09-27 Thread Steve Armstrong
Hi, I use the cookie approach outlined here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg63933.html There is also another thread involving this issue starting here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg72578.html Cheers, -Steve -Original Message- From: Warren Chen [ma

RE: Bean tag help

2003-08-14 Thread Steve Armstrong
Howdy, There are a number of things that are incorrect in your example: 1. Concerning your definition: You can set the value of your scripting variable "processName" from a bean, a property of a bean, or a "hard-coded" value. I believe you are trying to set your scripting variable from the "p

RE: Bean tag help

2003-08-09 Thread Steve Armstrong
f http://www.lonelyplanet.com/ http://mobile.lonelyplanet.com/ http://wap.lonelyplanet.com/ > -----Original Message- > From: Steve Armstrong [mailto:[EMAIL PROTECTED] > Sent: Friday, 8 August 2003 1:01 PM > To: Struts Users Mailing List > Subje

RE: how to pass a jsp variable to a javascript function

2003-08-07 Thread Steve Armstrong
Howdy, There are definitely a number of funky things in your code example. I'm not exactly sure what you're trying to do since your onchange attribute is calling a JavaScript function called "projectChange" which I don't see anywhere, but here are a couple of things to look out for: 1. I don't

RE: risk of upgrading?

2003-08-04 Thread Steve Armstrong
Hi, A little out of date, but some worthwhile things to consider: Struts 1.1: Should I Upgrade? http://www.theserverside.com//resources/article.jsp?l=Struts1_1 Cheers, -Steve -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 6:06 PM To: Struts

RE: [OT] My Struts webapp and hosting

2003-04-05 Thread Steve Armstrong
Quick plug for inexpensive Java web app hosting: http://www.kgbinternet.com/ Cheers, -Steve -Original Message- From: Guido [mailto:[EMAIL PROTECTED] Sent: Saturday, April 05, 2003 7:19 AM To: [EMAIL PROTECTED] Subject: [OT] My Struts webapp and hosting ... Now the application is in my P

RE: [Q] how to Sort on JSP without calling server side?

2003-03-10 Thread Steve Armstrong
Hi, By JSP side I assume you mean client side which means JavaScript. Here is one possibility if you're displaying your list of beans (well,their properties)in a table: http://www.mattkruse.com/javascript/sorttable/ Cheers, -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

RE: Mixing currencies and locales

2003-02-24 Thread Steve Armstrong
Hi, Can java.util.Currency in JDK 1.4 help you out here, perhaps in combination with java.text.NumberFormat.getCurrencyInstance()? Cheers, -Steve -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:19 PM To: 'Struts Users Mailing List' (E-

RE: Help: ActionError - does not expand the {0} placeholder

2003-02-23 Thread Steve Armstrong
Hi, No guarantee, but try doubling your single quote. The java.text.FormatMessage Javadoc associated with JDK 1.3 says: In strings, single quotes can be used to quote the "{" (curly brace) if necessary. A real single quote is represented by ''. Cheers, -Steve -Original Message- From: w

RE: nested:iterate and indexId problems

2002-05-24 Thread Steve Armstrong
l sort it out tonight (few hours from now), so you can download NeXt again tomorrow, and it'll be sweet. Actually, from looking at the code, it's a surprise that common tags aren't suffering from the same issue. Arron. Steve Armstrong wrote: >Hi, > >I'm using Strut

nested:iterate and indexId problems

2002-05-23 Thread Steve Armstrong
Hi, I'm using Struts 1.0.2 with the NeXt package targeted for that particular load. I'm having a problem evaluating the page scope Integer bean that should be created via the indexId attribute. Inside an , I have something like the following for handling odd and even rows of a table differently

RE: BeanUtil BUG (this is actually correct behaviour)

2002-02-18 Thread Steve Armstrong
Fernando Esteban Barril Otero [mailto:[EMAIL PROTECTED]] writes: I think that is the normal behavior for JavaBean properties. When you have a setter/getter for a property starting with more than one upper char, the property name must have exactly the same name (without the "normal" convention).