RE: newbie question on indexed properties and validation

2006-06-16 Thread Givler, Eric
PROTECTED] Sent: Friday, June 16, 2006 8:32 AM To: Struts Users Mailing List Subject: RE: newbie question on indexed properties and validation I can provide a zip of the workspace I was doing for this if that would help. I just can't seem to get the multiple errors. Can the html:text tag determine

newbie question on indexed properties and validation

2006-06-15 Thread Givler, Eric
I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When, I tried to cobble this all into a working example, if I left out multiple values (in a four record grid), I'd get one struts validation error

Indexed Properties

2006-05-15 Thread Vidya \(Suvarna\) Mahavadi
Hi everyone! I am having problem to use indexed properties. I need to display a table with the list of transactions and a check box next to each transaction which can add the transaction amount to a text field. In my action form I have a list of displayObjects and the displayObject is like

RE: Indexed Properties

2006-05-15 Thread Vidya \(Suvarna\) Mahavadi
I wonder why there are no responses today.. Guys, I really need help on this.. Any expert views? -Original Message- From: Vidya (Suvarna) Mahavadi [mailto:[EMAIL PROTECTED] Sent: Monday 15 May 2006 11:42 To: Struts Users Mailing List Subject: Indexed Properties Hi everyone! I am

RE: Indexed Properties

2006-05-15 Thread I HARIKRISHNA
: Vidya (Suvarna) Mahavadi [mailto:[EMAIL PROTECTED] Sent: Monday 15 May 2006 11:42 To: Struts Users Mailing List Subject: Indexed Properties Hi everyone! I am having problem to use indexed properties. I need to display a table with the list of transactions and a check box next to each transaction

Re: iteration with indexed properties

2006-04-24 Thread Adam Hardy
you need to have an instantiated array of wrapper[] that is big enough to take what your HTML submits. If your action form is in the request, then wrappers[] will be null unless you instantiate it. martin on 23/04/06 16:59, wrote: I've a problem with indexed properties inside an iteration

iteration with indexed properties

2006-04-23 Thread martin
Hello I've a problem with indexed properties inside an iteration. Some of the properties are rendered as a text-area and should be editable by the user. The rendering goes fine but if the user makes some changes, they are not committed to the form. Please take a look at the jsp/html/java

Re: iteration with indexed properties

2006-04-23 Thread ot 811
Interesting! How did tip.scoreHome render as tip.guessedScoreHome ? On 4/23/06, martin [EMAIL PROTECTED] wrote: Hello I've a problem with indexed properties inside an iteration. Some of the properties are rendered as a text-area and should be editable by the user. The rendering goes fine

Re: iteration with indexed properties

2006-04-23 Thread Rick Reumann
martin wrote: I've a problem with indexed properties inside an iteration. Some of the properties are rendered as a text-area and should be editable by the user. The rendering goes fine but if the user makes some changes, they are not committed to the form. You might want to look at using

Re: validate indexed properties

2006-02-23 Thread Juergen Schmailzl
thanks, is it possible to use this on the client side? is there a tutorial anywhere how to use it`? - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, February 22, 2006 9:23 PM Subject: Re: validate indexed

Re: validate indexed properties

2006-02-23 Thread James Mitchell
this on the client side? is there a tutorial anywhere how to use it`? - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, February 22, 2006 9:23 PM Subject: Re: validate indexed properties Yes. -- James Mitchell

Re: validate indexed properties

2006-02-23 Thread Juergen Schmailzl
? - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, February 23, 2006 8:15 PM Subject: Re: validate indexed properties Have you tried google? http://www.google.com/search?hl=enq=validating+indexed

RE: validate indexed properties

2006-02-23 Thread Andy Dailey
] Sent: Thursday, February 23, 2006 2:26 PM To: Struts Users Mailing List Subject: Re: validate indexed properties sure, but I didn't get it work... My jsp code looks like this: logic:iterate id=dw name=dwForm property=gd.otherDw html:text styleId=gd.otherDw.dw name=otherDw property=dw indexed

validate indexed properties

2006-02-22 Thread Juergen Schmailzl
Hi, is it possible to validate indexeded properties with Struts validator (struts 1.2.7)

Re: validate indexed properties

2006-02-22 Thread James Mitchell
Yes. -- James Mitchell EdgeTech, Inc. http://edgetechservices.net/ 678.910.8017 Skype: jmitchtx On Feb 22, 2006, at 3:16 PM, Juergen Schmailzl wrote: Hi, is it possible to validate indexeded properties with Struts validator (struts 1.2.7)

RE: Re: FW: Indexed properties

2006-01-20 Thread Vidya \(Suvarna\) Mahavadi
Yes. reset method in my Action form was missing and hence th problem. Thanks for your reseponse. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Thursday 19 January 2006 22:01 To: user@struts.apache.org Subject: Re: FW: Indexed properties Vidya

Re: FW: Indexed properties

2006-01-19 Thread Laurie Harper
Vidya (Suvarna) Mahavadi wrote: Hi, I am currently working on an application which uses Indexed properties. And I am not able to update the indexed bean properties properly. I have included some code snippets here.. The problem is when the check box on the jsp is checked it update correctly

Indexed properties

2006-01-18 Thread Vidya \(Suvarna\) Mahavadi
Hi, I am currently working on an application which uses Indexed properties. And I am not able to update the indexed bean properties properly. I have included some code snippets here.. Any help on this much appreciated. Thanks, Vidya Action form has a Collection of bean objects like

FW: Indexed properties

2006-01-18 Thread Vidya \(Suvarna\) Mahavadi
Hi, I am currently working on an application which uses Indexed properties. And I am not able to update the indexed bean properties properly. I have included some code snippets here.. The problem is when the check box on the jsp is checked it update correctly, but when the check box is uncked

OT/ JSF Indexed properties

2006-01-03 Thread Marco Mistroni
Hello all, Sorry for the OT ... I was wondering, for anyone who has switched From struts to JSF, how have you dealt with indexed properties? I am currently using MyFaces, and looks like I have an usecase in which I need to use indexed properties.. I was told that JSF does not support htat

Re: OT/ JSF Indexed properties

2006-01-03 Thread Craig McClanahan
On 1/3/06, Marco Mistroni [EMAIL PROTECTED] wrote: Hello all, Sorry for the OT ... I was wondering, for anyone who has switched From struts to JSF, how have you dealt with indexed properties? I am currently using MyFaces, and looks like I have an usecase in which I need to use

Validator framework with indexed properties

2005-11-20 Thread Raghu Kanchustambham
Hi, I was hoping that the following should work ... but I guess I am missing something somewhere.. validation with other properties is working fine.. but not with the indexed properties. Struts-config.xml: form-bean name=studentEnquiryForm type= org.apache.struts.validator.DynaValidatorForm

Updating ActionForm from indexed properties

2005-11-17 Thread Mulligan, Scott H
My actionForm has an ArrayList of objects that I display in my JSP for update using indexed properties (see below JSP code): logic:iterate id=objectVO name=FormConfig property=objectCollection type=com.xxx.MyType html:text name=objectVO property

Re: indexed properties and validation

2005-11-16 Thread Mario_Hernandez
No one?? [EMAIL PROTECTED] 11/15/2005 04:15 PM Please respond to Struts Users Mailing List user@struts.apache.org To user@struts.apache.org cc Subject indexed properties and validation I've got a form with an indexed propety contained in an array list, with values such as ssn. It has

Using Struts indexed properties, List, in a form with table-layout

2005-11-10 Thread arnaud gonzales
Hello, I would like to iterate the DTO's List of my ActionForm with layout:collection like i will do with logic:iterate : logic:iterate name=orderForm property=orders id=rememberMe html:text name=rememberMe property=fieldA indexed=true/ /logic:iterate The result i try to achieve is

Re: Using Struts indexed properties, List, in a form with table-layout

2005-11-10 Thread arnaud gonzales
Here is the tips: layout:collection name=CreateAccesForm property=utilisateurs indexId=indexUser id=utilisateur styleClass=hermes-layout styleId=listeUsers height=190px width=100% onRowMouseOut=this.className='tableauClair' onRowMouseOver= this.className='tableauSurvol' layout:collectionInput

Re: Using Struts indexed properties, List, in a form with table-layout

2005-11-10 Thread Laurie Harper
layout:collection is part of the Struts Layout project, which is a seperate project from Struts. You need to ask questions about its use on the Struts Layout mailing lists: http://struts.application-servers.com/mail-lists.html arnaud gonzales wrote: Here is the tips: layout:collection

Re: Using Struts indexed properties, List, in a form with table-layout

2005-11-10 Thread Michael Jouravlev
Considering current Party policy proclaiming Struts is not a single product, but is a community I would rephrase Laurie's reply as follows: layout:collection is part of the Struts Layout project, which is a separate project from Struts Classic, Struts Core, Struts Distribution, Struts Shale ,

BeanUtils Indexed Properties Issue

2005-10-30 Thread Stephen Souness
Hi All, Does anyone know when the issue mentioned under the heading BeanUtils Indexed Properties Issue on: http://wiki.apache.org/struts/StrutsCatalogLazyList will be resolved? I'm using a 1.4 version of the JRE with Struts 1.2.7 which still appears to not pick up on the getter/setters

Re: BeanUtils Indexed Properties Issue

2005-10-30 Thread Stephen Souness
Ignore my last post - it turned out that my reset() implementation on my Form was reseting more than it should have been. -- Stephen Stephen Souness wrote: Hi All, Does anyone know when the issue mentioned under the heading BeanUtils Indexed Properties Issue on: http://wiki.apache.org

RE: Validating Indexed Properties

2005-09-22 Thread Jason . Jones
-Original Message- From: Kishore Senji [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 9:11 PM To: Struts Users Mailing List Subject: Re: Validating Indexed Properties public class DevicePartMeasurementTO implements Serializable { private int devicePartsTypeID; private

Validating Indexed Properties

2005-09-21 Thread Jones, Jason (Ann Arbor)
Hello all, I am fairly new to Struts, and have my first application working from a db and navigation standpoint. The last piece I am trying to get working is the validation for my forms, many of which have indexed properties based on DTOs. I user a LazyValidationForm, though I probably didn't

DynaActionForm and Indexed Properties

2005-09-20 Thread Michael Ewers
=/MySuccessPage.do / /action My problems: 1. Execution fails when populating the DynaActionForm indexed properties within prepareUpdate(...) with a IndexOutOfBoundsException. I'm aware of the size-attribute of the form-property tag but the size is unknown at first. 2. Is my idea how to do it basically right

Typo in Struts FAQ (indexed properties) ?

2005-09-14 Thread Tamas Szabo
Hi Guys, http://struts.apache.org/faqs/indexedprops.html Subsection List-Backed Indexed Properties contains this code: package org.apache.struts.webapp.exercise; import org.apache.struts.action.ActionForm; public class StringBean2 extends ActionForm { private String strAry[] = { String 0

Issue with indexed properties

2005-08-08 Thread Shyam Anand
Hi, I'm using indexed properties to display an array of radio buttons in my Struts 1.1 web application. I get an exception shown below when I use request scope for my form bean but things work fine with session scope. Could somebody tell me what I'm doing wrong. Is there a way to make

Re: Issue with indexed properties

2005-08-08 Thread Laurie Harper
is the usrModList scripting variable named by the logic:iterate/ tag defined / initialized? How is it tied to your form bean? L. Shyam Anand wrote: Hi, I'm using indexed properties to display an array of radio buttons in my Struts 1.1 web application. I get an exception shown below when I use

Validating indexed properties using struts

2005-08-04 Thread Kalra, Ashwani
Hi, Can some one give me some sample on how to validate the indexed properties in Struts 1.1 Thanks Ashwani This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed

Re: Validating indexed properties using struts

2005-08-04 Thread Kjersti Berg
On 04/08/05, Kalra, Ashwani [EMAIL PROTECTED] wrote: Hi, Can some one give me some sample on how to validate the indexed properties in Struts 1.1 I assume you are using the default Validator plugin. This is an excerpt from my validation.xml, using indexed properties. form name=/myForm

Re: Validating nested, indexed properties

2005-07-08 Thread Kjersti Berg
On 07/07/05, Hubert Rabago [EMAIL PROTECTED] wrote: What do you mean when you say it doesn't work? I mean that when I input characters in an integer-only field, the validation is not triggered, the values are just set on the form. However, I have tried to dig a bit more into this, and have

Re: Validating nested, indexed properties

2005-07-08 Thread Kjersti Berg
I should probably slap myself now. This works just fine, if the struts-config doesn't turn validation off. :) Kjersti - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validating nested, indexed properties

2005-07-07 Thread Hubert Rabago
beans properly. Hubert On 7/5/05, Kjersti Berg [EMAIL PROTECTED] wrote: Hi I would like to validate some nested, indexed properties on my form. I've googled and found someone having similar problems, but haven't found a solution yet. Any help would be great. The form contains a list

Validating nested, indexed properties

2005-07-05 Thread Kjersti Berg
Hi I would like to validate some nested, indexed properties on my form. I've googled and found someone having similar problems, but haven't found a solution yet. Any help would be great. The form contains a list of Job objects, each having a set of properties, let's say number and size. I tried

Re: Problem using indexed properties and validator framework (fixed)

2005-06-05 Thread Nitesh
... Could you give me an example as to how we pre populate the array? Regards, Nitesh - Original Message - From: John Fitzpatrick [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, June 02, 2005 6:00 PM Subject: Re: Problem using indexed properties

Re: Problem using indexed properties and validator framework

2005-06-03 Thread Nitesh
using indexed properties and validator framework For an Array in a DynaForm property, you can either set the size in the form-property descriptor or, in the case of a session form, pre-populate the Array in your action with the number of elements you desire

Re: Problem using indexed properties and validator framework

2005-06-03 Thread John Fitzpatrick
... Could you give me an example as to how we pre populate the array? Regards, Nitesh - Original Message - From: John Fitzpatrick [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, June 02, 2005 6:00 PM Subject: Re: Problem using indexed properties

Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
Hi, I'm trying to use the validator framework with dyna forms. In the JSP page I have a list of user details being listed for edit. logic:iterate name=userList id=userList collection=%= userListCol % type=com.sample.vo.UserDetails tr tdhtml:text property=userName indexed=true name=userList

Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
Hi, I'm trying to use the validator framework with dyna forms. In the JSP page I have a list of user details being listed for edit. logic:iterate name=userList id=userList collection=%= userListCol % type=com.sample.vo.UserDetails tr tdhtml:text property=userName indexed=true name=userList

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
, but validation is not happening! (again problem only for the indexed property. works fine for the normal one. In my experience, whenever I deal with Indexed properties, I've had to create the actual Form class and put the validation into the validate (...) method

Re: Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
[EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, June 02, 2005 5:15 PM Subject: Re: Problem using indexed properties and validator framework Looks like you've got a few issues. Let me answer what I can and see if that helps: On 20050602 7:34 AM, Nitesh

Re: Problem using indexed properties and validator framework

2005-06-02 Thread Martin Gainty
, June 02, 2005 8:03 AM Subject: Re: Problem using indexed properties and validator framework John, Thank you for the answer. I tried removing size with the form having session scope and it gave me java.lang.ArrayIndexOutOfBoundsException. Tried using ArrayList and gives me

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
Sent: Thursday, June 02, 2005 5:15 PM Subject: Re: Problem using indexed properties and validator framework Looks like you've got a few issues. Let me answer what I can and see if that helps: On 20050602 7:34 AM, Nitesh [EMAIL PROTECTED] wrote: Hi, I'm trying to use the validator

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
Subject: Re: Problem using indexed properties and validator framework John, Thank you for the answer. I tried removing size with the form having session scope and it gave me java.lang.ArrayIndexOutOfBoundsException. Tried using ArrayList and gives me

Re: Indexed Properties with Sets

2005-05-09 Thread Rick Reumann
Matt Raible wrote the following on 5/8/2005 11:39 AM: As an alternative, I suppose I could modify my Form - POJO conversion to detect Sets and properly convert List to Set. Unfortunately I think this is what you are going to have to do Matt. I'd keep the Set property in the form bean, but use

Indexed Properties with Sets

2005-05-08 Thread Matt Raible
I've had much success doing indexed properties with a java.util.List, but no luck with figuring out how to do it with a java.util.Set. Is it possible? With a list, you can use the setProperty(index i, ActionForm form) signature, but I haven't been able to figure out how to do this with a Set

Re: c:forEach tag and indexed properties problem

2005-04-13 Thread gdeschen
Deschenes/NAT/CMHC-SCHL/CA) Subject:Re: c:forEach tag and indexed properties problem Classification: [EMAIL PROTECTED] wrote: Any data in the dynamicArrayForm.map.artikel ? yes it's work fine without the html:text tag. here is an example output. TR TD bad - Ausstattung PS

Re: c:forEach tag and indexed properties problem

2005-04-13 Thread Axel Sachmann
To: Struts Users Mailing List user@struts.apache.org cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA) Subject:Re: c:forEach tag and indexed properties problem Classification: [EMAIL PROTECTED] wrote: Any data in the dynamicArrayForm.map.artikel ? yes it's

Re: c:forEach tag and indexed properties problem

2005-04-13 Thread gdeschen
[EMAIL PROTECTED] 13/04/2005 07:55 AM Please respond to Struts Users Mailing List To: Struts Users Mailing List user@struts.apache.org cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA) Subject:Re: c:forEach tag and indexed properties problem Classification

c:forEach tag and indexed properties problem

2005-04-12 Thread Axel Sachmann
Hi Guys, i have a problem with the forEach Tag and an indexed propertie! Please have a look at this peace of code. c:forEach var=artikel items=${dynamicArrayForm.map.artikel} TR TD c:out value=${artikel.kategorie}/ - c:out value=${artikel.setbezeichnungkurz}/ c:out

Re: c:forEach tag and indexed properties problem

2005-04-12 Thread gdeschen
and indexed properties problem Classification: Hi Guys, i have a problem with the forEach Tag and an indexed propertie! Please have a look at this peace of code. c:forEach var=artikel items=${dynamicArrayForm.map.artikel} TR TD c:out value=${artikel.kategorie}/ - c:out value

Re: c:forEach tag and indexed properties problem

2005-04-12 Thread Axel Sachmann
tag! Axel Sachmann [EMAIL PROTECTED] 12/04/2005 04:11 PM Please respond to Struts Users Mailing List To: user@struts.apache.org cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA) Subject:c:forEach tag and indexed properties problem Classification: Hi Guys, i

FW: DynaActionForm with indexed properties and Tiles

2005-04-07 Thread Richard Rozema
I've got a DynaActionForm with an indexed property which I want to set the dimensions for and possibly initialize (in a controller clas) before it is actually loaded with the request values. Given that I want to put the form into a Tiles tile, what's the best method of doing this? I've already

Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Phan, Hienthuc T (Rosetta)
Hello, I'm trying to use Strut indexed tag but keep getting java.lang.IndexOutOfBoundsException: Index: -9. It displays with correct values but when the form is submitted, I got the error. Below is a snip of my code. Do you know hat's wrong with it? JSP code: logic:iterate

RE: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Slattery, Tim - BLS
, the Struts controller finds what form bean is associated with it and constructs an instance of that form. It then starts assigning values to it, using the accessor methods. For indexed properties, it uses an accessor to retrieve a collection of objects, then gets the object indicated by the index from

RE: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Phan, Hienthuc T (Rosetta)
, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 12:11 PM To: 'Struts Users Mailing List' Subject: RE: Use Indexed properties - Encounter IndexOutOfBound Exception I'm trying to use Strut indexed tag but keep getting java.lang.IndexOutOfBoundsException: Index: -9

RE: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Slattery, Tim - BLS
I thought when the form is submitted, Strut will re-construct the collection of objects with values from the input form. Therefore, I don't have to specify the Collection/List size in the form bean constructor. I can tell you from bitter experience that it does not work that way. The

Re: Validator, Indexed Properties and error messages.

2005-02-16 Thread Antony Joseph
Check out http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html - Original Message - From: Cruz, Edward J. [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Subject: Validator, Indexed Properties and error messages. Date: Tue, 15 Feb 2005 11:03:26

Re: Validator, Indexed Properties and error messages.

2005-02-16 Thread Edward Cruz
Thank you for your help. Antony Joseph ajosephmi at lycos.com writes: Check out http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Validator, Indexed Properties and error messages.

2005-02-16 Thread Benedict, Paul C
, it mimics what Tiles has achieved. Thanks, Paul -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Edward Cruz Sent: Wednesday, February 16, 2005 1:55 PM To: user@struts.apache.org Subject: Re: Validator, Indexed Properties and error messages. Thank you for your help

Re: Validator, Indexed Properties and error messages.

2005-02-16 Thread Niall Pemberton
Its not down to Struts, since Validator is a separate project and form ineritance (using extends) has already been put into the development version of Validator (i.e. Validator 1.2) - so its arrival is purely dependant on a release of that version of Validator.

Validator, Indexed Properties and error messages.

2005-02-15 Thread Cruz, Edward J.
Hello all, In review various documentation and several google search's I have found how to use the validator framework to validate indexed properties. In looking at the javadocs for the validator framework I see that the field class has an attribute called 'property' which (I think

Re: Indexed Properties

2005-02-02 Thread Peter Wu
Peter Wu peter.ying.wu at gmail.com writes: html:select property=project[0] html:option value=a0-19/html:option html:option value=b20-49/html:option html:option value=c50-/html:option /html:select This one works fine now. /td tdhtml:text

RE: Indexed Properties

2005-02-02 Thread Nigel Furber
2005 20:41 To: user@struts.apache.org Subject: Re: Indexed Properties Peter Wu peter.ying.wu at gmail.com writes: html:select property=project[0] html:option value=a0-19/html:option html:option value=b20-49/html:option html:option value=c50-/html:option

Re: [validator] indexed properties

2005-01-06 Thread Matt Bathje
William - The problem here is that validator is expecting quantityArray to contain a property called quantity for each element it contains. (For example: quantityArray[0].quantity, quantityArray[1].quantity etc.) Since quantityArray is an array of Integer, it obviously does not contain a

Re: [validator] indexed properties

2005-01-06 Thread William Ferguson
: Matt Bathje [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, January 07, 2005 1:03 AM Subject: Re: [validator] indexed properties William - The problem here is that validator is expecting quantityArray to contain a property called quantity for each element

[validator] indexed properties

2005-01-05 Thread William Ferguson
Hi all, even after scanning the doco, examples, source code and previous posts I still can't get validation to happen for an indexed field in my Struts (1.2.4) application working. I would really appreciate some help crafting the appropriate validation definition. My form is defined as form

Simple indexed properties (String[]) and validation.xml

2004-11-23 Thread Paul Hepworth
Hi, I have a form-property like so: form-property name=PropertyName type=java.lang.String[] size=5/ Which is populated by the following in my jsp page: logic:iterate id=element name=MyForm property=PropertyName indexId=counter tr td class=firstColbean:message

Re: Simple indexed properties (String[]) and validation.xml

2004-11-23 Thread Matt Bathje
wrong though...) I think the bigger question is - if you are using a set size String array for these fields, why not just simplify it and make 4 separate fields? You don't need to worry about indexed properties at all then. The only alternative I can think of is to setup a new class, and make

RE: Indexed properties

2004-11-19 Thread David McReynolds
, November 17, 2004 4:46 PM To: [EMAIL PROTECTED] Subject: Indexed properties I am getting the nested beans out of my form ok but saving gives no joy. I am trying to use the 2.1 Hand Cranking lazy List in the ActionForm from http://wiki.apache.org/struts/StrutsCatalogLazyList. However, I never see my log

RE: Indexed properties

2004-11-19 Thread Slattery, Tim - BLS
(List) to setSkills(SkillBean) and provided a non-bean collection populating method (populateSkills(List)) everything seems to work. Apparently Struts is/cannot examine the method arguments and is confused by the naming. I just went through a lot of grief with indexed properties. The Java

Re: Indexed properties

2004-11-19 Thread Niall Pemberton
, 2004 2:31 PM Subject: RE: Indexed properties Could not get the wiki's example of public class SkillActionForm extends ActionForm { protected List skills = new ArrayList(); public List getSkills() { return skills; } public void setSkills(List

RE: Indexed properties

2004-11-19 Thread David McReynolds
/logic:iterate /html:form -Original Message- From: David McReynolds [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 4:46 PM To: [EMAIL PROTECTED] Subject: Indexed properties I am getting the nested beans out of my form ok but saving gives no joy. I am trying to use

Indexed properties

2004-11-17 Thread David McReynolds
I am getting the nested beans out of my form ok but saving gives no joy. I am trying to use the 2.1 Hand Cranking lazy List in the ActionForm from http://wiki.apache.org/struts/StrutsCatalogLazyList. However, I never see my log messages from the indexed getter methods for any of the nested beans.

Indexed Properties, checkbox

2004-11-11 Thread Ryan julius
Hi, I have investigated the indexed properties as follows. structure of my jsp page: === html:form action=/DisplayNestedPropertiesAction.do logic:iterate name=nestedPropertiesForm property=skills id=skillBean TABLE border=1 borderColor=cyan cellpadding=0 cellpadding=0

Re: Indexed Properties, checkbox

2004-11-11 Thread Rafael Cardoso
ActionFoward to the JSP. I Hope it helps... []´s Rafael Cardoso Ryan julius wrote: Hi, I have investigated the indexed properties as follows. structure of my jsp page: === html:form action=/DisplayNestedPropertiesAction.do logic:iterate name=nestedPropertiesForm property=skills id

Indexed Properties

2004-11-10 Thread sebastian . steinfeld
Hi, I need help for indexed properties. On one page I have different input-fields and I want to commit the changes when pushing the submit-button to realize this I am using the indexed propertie. Is this the right way? Or is the someone better? -- This is my

RE: How to validate the indexed properties using the vaildation framework ?

2004-10-05 Thread ravi.vedala
Hi, Can anybody please help on this issue. Regds Ravi -Original Message- From: Vasu Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 6:33 PM To: Struts Users Mailing List Subject: Re: How to validate the indexed properties using the vaildation framework

Re: Indexed Properties and Lazy List behaviour

2004-10-02 Thread Hubert Rabago
- Original Message - From: Hubert Rabago [EMAIL PROTECTED] Subject: Re: Indexed Properties and Lazy List behaviour My understanding of the question on the user list was for a form which contained an array of beans, instead of just an array of strings. An example would be a form bean

RE: Indexed Properties and Lazy List behaviour

2004-10-01 Thread David Suarez
PROTECTED] Sent: Thursday, September 30, 2004 6:18 PM To: Struts Users Mailing List Subject: Indexed Properties and Lazy List behaviour I've set up this wiki page showing how to use indexed properties and implement lazy list behaviour in an ActionForm. http://wiki.apache.org/struts

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Hubert Rabago
=org.apache.struts.validator.LazyValidatorForm/ /form-bean On Fri, 1 Oct 2004 00:17:40 +0100, Niall Pemberton [EMAIL PROTECTED] wrote: I've set up this wiki page showing how to use indexed properties and implement lazy list behaviour in an ActionForm. http://wiki.apache.org/struts

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Niall Pemberton
-property name=skills type=myPackage.CustomLazyBean[]/ /form-bean Niall - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 01, 2004 8:07 PM Subject: Re: Indexed Properties and Lazy List behaviour

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Hubert Rabago
? Someone asked about combining FormDef and LazyBeans to come up with a form containing indexed properties. FormDef works with DynaActionForms. If I have an array or list of dyna forms, I can use FormDef with each element. The problem is coming up with a lazy, non-session-scope implementation. I came up

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Niall Pemberton
Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 01, 2004 9:43 PM Subject: Re: Indexed Properties and Lazy List behaviour But if I need it to be a DynaActionForm subclass, then I'd just use LazyValidatorForm or its subclass, right? In which case

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Hubert Rabago
- but lifes busy :-( Niall - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 01, 2004 9:43 PM Subject: Re: Indexed Properties and Lazy List behaviour But if I need it to be a DynaActionForm subclass

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Niall Pemberton
levels of indexed beans to your hearts content. Niall - Original Message - From: Hubert Rabago [EMAIL PROTECTED] Subject: Re: Indexed Properties and Lazy List behaviour My understanding of the question on the user list was for a form which contained an array of beans, instead of just

Indexed Properties and Lazy List behaviour

2004-09-30 Thread Niall Pemberton
I've set up this wiki page showing how to use indexed properties and implement lazy list behaviour in an ActionForm. http://wiki.apache.org/struts/StrutsCatalogLazyList There are three possible solutions to lazy list beviour on that page - but since I'm only using LazyDynaBeans myself, I would

How to validate the indexed properties using the vaildation framework ?

2004-09-28 Thread Vasu Johnson
Hi, I am using DynaValidatorForm. The entry in my struts-config.xml looks like : form-bean name=beanForm type=org.apache.struts.validator.DynaValidatorForm form-property name=lines type=com.upromise.odt.ui.actions.campaign.Line[] size=0/ /form-bean Where, the Line class

Re: How to validate the indexed properties using the vaildation framework ?

2004-09-28 Thread Vasu Johnson
After browsing through the struts archives, I have done the following changes to validation.xml. form name=beanForm field property=bd indexedListProperty=lines depends=required arg0 name=required key=${var:bp} resource=false/ var var-namebp/var-name var-valuebp/var-value /var /field

Re: Validation for Two Levels of Indexed Properties

2004-09-16 Thread Terry Roe
: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 8:11 PM Subject: Re: Validation for Two Levels of Indexed Properties Well, it's good to know you already have a solution working. Just fyi, my guess on the two layers not being

Re: Validation for Two Levels of Indexed Properties

2004-09-15 Thread Niall Pemberton
, September 14, 2004 8:11 PM Subject: Re: Validation for Two Levels of Indexed Properties Well, it's good to know you already have a solution working. Just fyi, my guess on the two layers not being supported is based on the example on http://struts.apache.org/userGuide/dev_validator.html

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Terry Roe
Hubert, Thank you for your response. At present, I am using the Validator for my first level of indexed properties and custom validation for the second level. I'd really like to use the Validator for everything as it makes it much easier for maintenance and makes the code clearer when you

<    1   2   3   >