RE: newbie question on indexed properties and validation

2006-06-16 Thread Givler, Eric
[mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 9:44 AM To: Struts Users Mailing List Subject: newbie question on indexed properties and validation I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidati

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 bac

RE: Indexed Properties

2006-05-15 Thread I HARIKRISHNA
essage- 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 having problem to use indexed properties. I need to display a table with the list of transactions and a check

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

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: 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 iter

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 usin

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 >

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

RE: validate indexed properties

2006-02-23 Thread Andy Dailey
, 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: how should the validation.xml look like? - Original Message - From: "James Mitchell" <[EMAIL PROTECTED]&

Re: validate indexed properties

2006-02-23 Thread Juergen Schmailzl
M Subject: Re: validate indexed properties Have you tried google? http://www.google.com/search?hl=en&q=validating+indexed +properties&btnG=Google+Search -- James Mitchell EdgeTech, Inc. http://edgetechservices.net/ 678.910.8017 Skype: jmitchtx On Feb 23, 2006, at 1:58 PM, Juergen Schma

Re: validate indexed properties

2006-02-23 Thread James Mitchell
Have you tried google? http://www.google.com/search?hl=en&q=validating+indexed +properties&btnG=Google+Search -- James Mitchell EdgeTech, Inc. http://edgetechservices.net/ 678.910.8017 Skype: jmitchtx On Feb 23, 2006, at 1:58 PM, Juergen Schmailzl wrote: thanks, is it possibl

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" Sent: Wednesday, February 22, 2006 9:23 PM Subject: Re: validate

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) -

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: 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

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

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

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

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 h

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: validation.xml: I am trying to validate the indexed property

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): My Action Form looks like this: public ArrayList getObjectCollection() {return

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" 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 ha

indexed properties and validation

2005-11-15 Thread Mario_Hernandez
I've got a form with an indexed propety contained in an array list, with values such as ssn. It has four accessor methods List getDependents() DependentForm getDependent(int i) void setDependents(List l) void setDependent(int i, DependentForm form) The validator makes an ActionError with a key of

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 , St

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: 2005/11/10, arnaud

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

2005-11-10 Thread arnaud gonzales
Here is the tips: 2005/11/10, arnaud gonzales <[EMAIL PROTECTED]>: > > Hello, > I would like to iterate the DTO's List of my ActionForm with > > like i will do with : > > > ="true"/> > > > The result i try to achieve is : > > > > > My ActionForm : "CreateAccesForm" > the L

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 like i will do with : The result i try to achieve is : My ActionForm : "CreateAccesForm" the List contained in the form : "Users" contains userDTO object with "name", "login", "email", "tel" I want to obta

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.

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

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 de

Re: Validating Indexed Properties

2005-09-21 Thread Kishore Senji
> public class DevicePartMeasurementTO implements Serializable { > > > > private int devicePartsTypeID; > > private String devicePartsType; > > private float prWave; > > private float impedance; > > private String threshold; > > > > public DevicePartMeasurementTO() > > { > > > > } > > getters a

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&#

DynaActionForm and Indexed Properties

2005-09-20 Thread Michael Ewers
rn mapping.findForward("success"); } The form looks as follows: struts-config.xml action config looks like this: My problems: 1. Execution fails when populating the DynaActionForm indexed properties within prepareUpdate(...) with a IndexOutOfBoundsExceptio

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[] = {

Re: Issue with indexed properties

2005-08-08 Thread Laurie Harper
y, how is the usrModList scripting variable named by the 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

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

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,

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. If

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-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 lo

Re: Validating nested, indexed properties

2005-07-07 Thread Hubert Rabago
, 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

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 an

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

2005-06-05 Thread Nitesh
Thanks for all the help John. I could work it out tweaking on your solution. Regards, Nitesh - Original Message - From: "John Fitzpatrick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 03, 2005 6:06 PM Subject: Re: Problem us

Re: Problem using indexed properties and validator framework

2005-06-03 Thread John Fitzpatrick
ohn Fitzpatrick" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Thursday, June 02, 2005 6:00 PM > Subject: Re: Problem using indexed properties and validator framework > > >> >> For an Array in a DynaForm property, you can either set the s

Re: Problem using indexed properties and validator framework

2005-06-03 Thread Nitesh
Thanks for the answer John... 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" Sent: Thursday, June 02, 2005 6:00 PM Subject:

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
gt; > To: "Struts Users Mailing List" > Sent: Thursday, 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 t

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
uot;John Fitzpatrick" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > 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

Re: Problem using indexed properties and validator framework

2005-06-02 Thread Martin Gainty
ist" Sent: Thursday, 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.ArrayIndexOutOfBoundsExcep

Re: Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
trick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" 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

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
rated for this!) This may be a situation where you cannot generate automatic client-side validation and will have to either write it yourself, or just use server side validation and represent the form if you have an error. > 3. By using UserDetails[], I do get the list in the Action class, but &g

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. I want this part to be validated on submit, and I intend to use validator framework with dynaforms. My Struts config looks like...

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. I want this part to be validated on submit, and I intend to use validator framework with dynaforms. My Struts config looks like...

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 t

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

Re: c:forEach tag and indexed properties problem

2005-04-13 Thread gdeschen
TED]> 13/04/2005 07:55 AM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA) Subject:Re: c:forEach tag and indexed properties problem Classification: [EMAIL PROTECTE

Re: c:forEach tag and indexed properties problem

2005-04-13 Thread Axel Sachmann
respond to "Struts Users Mailing List" To: Struts Users Mailing List 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 dynamicArray

Re: c:forEach tag and indexed properties problem

2005-04-13 Thread gdeschen
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 work fine without the html:text tag. here

Re: c:forEach tag and indexed properties problem

2005-04-12 Thread Axel Sachmann
g! 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 G

Re: c:forEach tag and indexed properties problem

2005-04-12 Thread gdeschen
:forEach tag 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. - Eve

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. - Everthing goes okay - but the html:text element throws an error - Cannot find bean

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 fou

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: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Phan, Hienthuc T (Rosetta)
: Slattery, 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.IndexOutOfBou

RE: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Slattery, Tim - BLS
When you submit your form, 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 in

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:

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. http://jakarta.apache.org/comm

RE: Validator, Indexed Properties and error messages.

2005-02-16 Thread Benedict, Paul C
on elements, 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 yo

Re: Validator, Indexed Properties and error messages.

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

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" Subject: Validator, Indexed Properties and error messages. Date: Tue, 15 Feb 2005

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'

RE: Indexed Properties

2005-02-02 Thread Nigel Furber
2005 20:41 To: user@struts.apache.org Subject: Re: Indexed Properties Peter Wu gmail.com> writes: > > 0-19 > 20-49 > 50- > This one works fine now. > > hour[i][j] does not work. How to make a 2-dimensional array

Re: Indexed Properties

2005-02-02 Thread Peter Wu
Peter Wu gmail.com> writes: > > 0-19 > 20-49 > 50- > This one works fine now. > > hour[i][j] does not work. How to make a 2-dimensional array work with Struts? Thanks in advance! Peter -

Indexed Properties

2005-02-02 Thread Peter Wu
Hi group, I'm using Struts 1.2.4 w/ Tomcat 5.5.4. I'm designing a page that contains a grid of cells, like an Excel sheet. In the grid, there are a couple of cells, which could textboxes. In the JSP, I put the following tags. 0-19 20-49 50-

Re: [validator] indexed properties

2005-01-06 Thread William Ferguson
- Original Message - From: "Matt Bathje" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, January 07, 2005 1:03 AM Subject: Re: [validator] indexed properties > William - > > The problem here is that validator is expecting quantityArra

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 proper

[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

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

2004-11-23 Thread Matt Bathje
sing 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 an array

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

2004-11-23 Thread Paul Hepworth
Hi, I have a form-property like so: Which is populated by the following in my jsp page: :   This works fine as I get the 5 html:selects on the page. However, I want to validate this and check that at least

RE: Indexed properties

2004-11-19 Thread David McReynolds
prefix="tiles"%> <%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested"%> <%@ taglib uri="/WEB-INF/cfa-logic.tld" prefix="clogic"%> -Original Message---

Re: Indexed properties

2004-11-19 Thread Niall Pemberton
MAIL PROTECTED]> Sent: Friday, November 19, 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

RE: Indexed properties

2004-11-19 Thread Slattery, Tim - BLS
d > arguments and is confused by the naming. I just went through a lot of grief with indexed properties. The Java Beans spec says that accessor methods for indexed properties have the following signatures: public myobj[] getProperty() public void setProperty(myobj[] mo) public myobj getProper

RE: Indexed properties

2004-11-19 Thread David McReynolds
ednesday, 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. Howev

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.

Re: Indexed Properties, checkbox

2004-11-11 Thread Rafael Cardoso
ckboxes and then you 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: === "> ActionForm: = public class NestedProperti

Indexed Properties, checkbox

2004-11-11 Thread Ryan julius
Hi, I have investigated the indexed properties as follows. structure of my jsp page: === "> ActionForm: = public class NestedPropertiesForm extends FWKActionForm{ /** * */ public NestedPropertiesForm() { super(); } /**

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? ---

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

2004-10-04 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
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

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Niall Pemberton
1...n 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

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Hubert Rabago
n interacts with FormDef - hence my questions at the > top. > > Sorry, should have got round to giving FormDef a go - but lifes busy :-( > > Niall > > > > - Original Message - > From: "Hubert Rabago" <[EMAIL PROTECTED]> > To: "Struts

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Niall Pemberton
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 subclas

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Hubert Rabago
rm_classes ? 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.

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Niall Pemberton
MAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 01, 2004 8:07 PM Subject: Re: Indexed Properties and Lazy List behaviour > In 2.3 of StrutsCatalogLazyList, it uses a Lazy*Form flavor to hold an > indexed property. Can the in

Re: Indexed Properties and Lazy List behaviour

2004-10-01 Thread Hubert Rabago
ing 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 ap

RE: Indexed Properties and Lazy List behaviour

2004-10-01 Thread David Suarez
Niall Pemberton [mailto:[EMAIL 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 ActionF

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 mysel

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. bp bp No exceptions thrown, but the error is not getting fired. Not sure what could be the issue. Can someone help me please. Rick, can you pls help me. Regds Vasu Johnson Vasu J

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 : Where, the Line class looks : public class Line { private String bId; private String dId; } bId and dId are actually drop downs on the UI. Basically, when the jsp loads, the drop

<    1   2   3   >