Re: Validation Question with Indexed Properties

2004-03-22 Thread Craig Tataryn
that indexed properties for the validator do not work in javascript? Or am I doing something wrong? Thanks, Craig tataryn:craig/ tataryn:craig/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Validation Question with Indexed Properties

2004-03-21 Thread Craig Tataryn
) { if (bCancel) return true; else return validateRequired(form); } function required () { } So does this mean that indexed properties for the validator do not work in javascript? Or am I doing something wrong? Thanks, Craig

Re: asking for help about indexed properties

2004-03-12 Thread Lenny Sorey
On Thu, 11 Mar 2004 21:08:23 -0800, Michael McGrady wrote: http://jakarta.apache.org/struts/faqs/indexedprops.html At 07:15 PM 3/11/2004, you wrote: I have the follow in a jsp file html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo

help me about indexed properties

2004-03-11 Thread Mu Mike
I have the below jsp file needs help %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % html body html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo indexId=ctr !--what do

RE: help me about indexed properties

2004-03-11 Thread Mu Mike
sorry, the last mail doesnt display correctly, but when I tried to write a new one, I saw it displays correctly as the below ThanksRegards From: Mu Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: help me about indexed properties Date

(again)help me about indexed properties

2004-03-11 Thread Mu Mike
well,sorry again, my qeustion is the below I have the below jsp file needs help %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % html body html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo

Re: (again)help me about indexed properties

2004-03-11 Thread Hubert Rabago
--- Mu Mike [EMAIL PROTECTED] wrote: (QUESTION: what do name property ,id ,indexID mean here? what value can I set to them?) I searched online only fail to find any doc that give detailed explaination about these proeprties html:text name=stringbean

RE: help me about indexed properties

2004-03-11 Thread Craig Tataryn
Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: help me about indexed properties Date: Fri, 12 Mar 2004 02:49:47 + I have the below jsp file needs help %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic

asking for help about indexed properties

2004-03-11 Thread Mu Mike
I have the follow in a jsp file html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo indexId=ctr (QUESTION: WHAT DO name,property,id,indexId MEAN HERE? WHAT VALUES CAN I SET TO THEM?) html:text name=stringbean

Re: asking for help about indexed properties

2004-03-11 Thread Srikanth Shenoy
Mike, You wont find descriptions about them in API Javadoc. In the Struts 1.1 distribution that you have downloaded, go to webapps folder and deploy the struts-documentation.war in your favorite servlet container and then look for /userGuide/struts-logic.html and /userGuide/struts-html.html

RE: help me about indexed properties

2004-03-11 Thread Mu Mike
PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: help me about indexed properties Date: Thu, 11 Mar 2004 21:11:42 -0600 (CST) Hi Mike, the attributes for logic iterate are all explained here: http://jakarta.apache.org/struts/userGuide/struts-logic.html

Re: asking for help about indexed properties

2004-03-11 Thread Michael McGrady
http://jakarta.apache.org/struts/faqs/indexedprops.html At 07:15 PM 3/11/2004, you wrote: I have the follow in a jsp file html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo indexId=ctr (QUESTION: WHAT DO name,property,id,indexId

java.lang.reflect.InvocationTargetException when using Indexed properties

2004-02-27 Thread Julio Cesar De Salvo
to NullException. Any ideas, about how to name the getters/setters for the indexed properties (in my case is a bean with Strings). java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown

problem with indexed properties

2004-02-13 Thread Shyam A
were not retained. To work around that, I'm trying indexed properties, but it has not helped my cause, only added to my woes:( With indexed properties, I don't seem to get the values of the textfields in the form bean(I get a NullPointerException on form submission). Also, the values

RE: problem with indexed properties

2004-02-13 Thread shirishchandra.sakhare
to understand whats goign on... HTH. regards, Shirish -Original Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 4:04 PM To: Struts Users Mailing List Subject: problem with indexed properties Hello, I'm trying to use indexed propeties in my form bean (ActionForm

Re: Array of text fields generated dynamically - struggling with indexed properties

2004-02-12 Thread Shyam A
were not retained. To work around that, I'm trying indexed properties, but it has not helped my cause, only added to my woes:( With indexed properties, I don't seem to get the values of the textfields in the form bean(I get a NullPointerException on form submission). Also, the values

RE: Conventions for indexed properties

2004-02-03 Thread Yee, Richard K,,DMDCWEST
, 2004 11:38 To: 'Struts Users Mailing List' Subject: RE: Conventions for indexed properties Thanks for the responses guys. Does that mean the following getter (given at http://jakarta.apache.org/struts/faqs/indexedprops.html) is incorrect? It doesn't seem to follow the javabean spec

RE: Conventions for indexed properties

2004-02-02 Thread Sunil Dmonte
To: 'Struts Users Mailing List' Subject: RE: Conventions for indexed properties Thanks for the responses guys. Does that mean the following getter (given at http://jakarta.apache.org/struts/faqs/indexedprops.html) is incorrect? It doesn't seem to follow the javabean spec for indexed

Conventions for indexed properties

2004-01-22 Thread Sunil Dmonte
Hi - could someone please point me to a definitive guide to get() and set() conventions for indexed properties in Struts? I've seen and tried plenty of variations; there doesn't seem to be one standard solution that works every time. E.g. for the property List books = new ArrayList(); // assume

Re: Conventions for indexed properties

2004-01-22 Thread John D. Hume
I don't have a definitive guide, but here are some examples that could be helpful. Here's a slice of the guts of a form with int indexed properties that works for me. The use of simple arrays is a serious shortcoming, but the interface works with the JSP below: public void reset

Re: Conventions for indexed properties

2004-01-22 Thread John D. Hume
Actually, this is the definitive guide: http://jakarta.apache.org/struts/faqs/indexedprops.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Conventions for indexed properties

2004-01-22 Thread Craig R. McClanahan
for indexed properties -- one that has the getter and setter methods taking an array, and one that has the getter and setter methods taking an additional argument for the index. There's lots of other useful info about what it means to be a JavaBean here as well. Just as one example, did you know

RE: Conventions for indexed properties

2004-01-22 Thread Sunil Dmonte
Thanks for the responses guys. Does that mean the following getter (given at http://jakarta.apache.org/struts/faqs/indexedprops.html) is incorrect? It doesn't seem to follow the javabean spec for indexed properties: public java.util.List getStringIndexed(int index) { return

RE: indexed properties mini(est) HOWTO

2003-12-16 Thread Nimish Chourey , Tidel Park - Chennai
What if I have a DynaAction form . In that case how do I handle the getter/Setter method ... -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 3:16 PM To: Struts Users Mailing List Subject: indexed properties mini(est) HOWTO hello, am

RE: indexed properties mini(est) HOWTO

2003-12-16 Thread rajatp
. What if I have a DynaAction form . In that case how do I handle the getter/Setter method ... -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 3:16 PM To: Struts Users Mailing List Subject: indexed properties mini(est) HOWTO hello, am

indexed properties

2003-12-15 Thread Alex Reznik
hey guys, i am drawing a complete blank,may be cause its monday, i generate some fields on the webpage using javascript, and make them indexed, so i end up having fields like entry[0].area, entry[0].description...and i want to make sure that each index ends up as a part of a separate object or

Re: indexed properties mini(est) HOWTO

2003-12-15 Thread Hubert Rabago
The wiki might be a good place for this: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsNewFaqs --- Rajat Pandit [EMAIL PROTECTED] wrote: hello, am positng a quick HOWTO to get started with using indexed properties, as i guess almost everyone has had to deal with it atleast once. pls

indexed properties mini(est) HOWTO

2003-12-14 Thread Rajat Pandit
hello, am positng a quick HOWTO to get started with using indexed properties, as i guess almost everyone has had to deal with it atleast once. pls post any suggestions/additions etc to improve on it. i might add on the JSTL version a little version of it. (only the view part changes

Indexed properties

2003-12-11 Thread Marcus Peixoto
How can I get indexed properties in my action class ? I've seen an example that uses the method get(property) but it's based in a Dynamic Form which is not my case. In that case, it is possible to obtain using get(property). In my case the Form doesn't have the property addr as in example below

JavaScript validation of indexed properties

2003-12-10 Thread Andy Schmidgall
Hello, I'm using Struts 1.1, and I have a jsp that is using indexed fields that I need to validate using javascript. It seems as though the struts validator just ignores javascript validations on my fields completely! For example, if it is the only field that uses a particular validator, say

Re: dynaActionForm,JSTL, and indexed properties

2003-12-05 Thread Charles GAY
, and indexed properties Date: Thu, 4 Dec 2003 15:51:25 -0800 (PST) De: Richard Yee [EMAIL PROTECTED] Pour: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Charles, If you the size of the ArrayList is constant, you can specify the form-property 'size' attribute

dynamic number of lines - Indexed properties ?

2003-12-05 Thread Caroline Lauferon
are put using a button (like the swap tag of struts layout, but with no select on the left). is it feasible with indexed properties (this model would be great, bu i don't what view to use to populate it :-( ) I hope what i need is clear ;-). Ask me if something is not. Thanks Caroline

Re: dynamic number of lines - Indexed properties ?

2003-12-05 Thread Shantanu Deo
, December 05, 2003 7:30 AM Subject: dynamic number of lines - Indexed properties ? Hello! up to now I had used quite simple forms... and now I need some more complicated fields, and don't know where to start from Here is what I want to do, with a simple example: I want to describe a family

dynaActionForm,JSTL, and indexed properties

2003-12-04 Thread Charles GAY
hi all. i have in my DynaValidatorForm called entrantesForm, declared an ArrayList (called colRequetes) of RequeteTO objects. form-property name=colRequetes type=java.util.ArrayList //form-bean in my jsp, i want to update some properties of RequeteTO, like 'typeRequete' with the

Re: dynaActionForm,JSTL, and indexed properties

2003-12-04 Thread Richard Yee
Charles, If you the size of the ArrayList is constant, you can specify the form-property 'size' attribute and this will fix your problem. Otherwise, you need to use session scope to store the FormBean. The reason is that Struts will not size the colRequetes ArrayList when the form is submitted. If

Struts indexed properties and displaytag

2003-11-30 Thread Mohan Radhakrishnan
Hi Can I use logic:iterate and indexed properties with display tag sorting ? Thanks, Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts 1.1 validation of indexed properties

2003-11-26 Thread Andreas Wuest
hi, i have a small problem validating index properties in my form. in the validation.xml file i have the following definition to validate my indexed properties. the validation works fine for the first (index = 0) property. but i have a maximum of 18 indexed properties. form name

RE: struts 1.1 validation of indexed properties

2003-11-26 Thread Jarnot Voytek Contr AU HQ/SC
] Sent: Wednesday, November 26, 2003 1:20 PM To: [EMAIL PROTECTED] Subject: struts 1.1 validation of indexed properties hi, i have a small problem validating index properties in my form. in the validation.xml file i have the following definition to validate my indexed properties

Validator and Indexed Properties

2003-11-13 Thread Robert Taylor
As of March 14, 2003 it appears that Struts/Commons validation does not support indexed properties as such: I have a collection of objects A where each A has some properties, call them p1, p2, and p3. I want to validate field p3 for each object A in the collection. Is this currently possible

dynamic indexed properties in Form bean

2003-11-10 Thread Marc Dugger
I'm having trouble populating a Form bean that has an indexed (variable size) nested bean. I'm using an ArrayList inside the Form bean to collect the nested properties and it's partially working. The problem is that because the index is variable, I don't know how to correctly size the ArrayList.

RE: dynamic indexed properties in Form bean

2003-11-10 Thread shirishchandra.sakhare
a couple of times.. Still if u cant get it to work or have doubt, repost the question :-)) HTH. regards, Shirish -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 4:56 PM To: [EMAIL PROTECTED] Subject: dynamic indexed properties in Form bean

Struts Validator with Indexed Properties

2003-11-03 Thread Frederic Dernbach
I would like to know how to use the Struts Validator with indexed properties. I cannot display error messages under the field (but the validator obviously works and performs validation). Below is the relevant parts of my JSP and of my valdiation.xml file : Upon submission of the JSP's form, I

Re: Struts Validator with Indexed Properties

2003-11-03 Thread Vijaykumar
validation.xml. -Vijay Frederic Dernbach wrote: I would like to know how to use the Struts Validator with indexed properties. I cannot display error messages under the field (but the validator obviously works and performs validation). Below is the relevant parts of my JSP and of my valdiation.xml file

Re: Struts Validator with Indexed Properties

2003-11-03 Thread Frederic Dernbach
depends=required,integer,positive arg0 key=rubis.strategy.label/ /field You have specified it as indexedListProperty=parameters Plz Verify your validation.xml. -Vijay Frederic Dernbach wrote: I would like to know how to use the Struts Validator with indexed

Indexed Properties Struts Validator

2003-11-03 Thread Frederic Dernbach
I would like to know how to use the Struts Validator with indexed properties. I cannot display error messages under the field (but the validator obviously works and performs validation). Below is the relevant parts of my JSP ,valdiation.xml file and form : Upon submission of the JSP's form, I

Indexed Properties + Validator + JavaScript

2003-10-28 Thread Vara Prasad Reddy
The validations for indexed properties are not fired on the client side, they are fired on the server side only. Is there a way I can do that on the client side. I am working on a PO screen with many line items. Regards Vara Prasad

Re: Indexed Properties + Validator + JavaScript

2003-10-28 Thread Nicholas L Mohler
Hi Vara, I have implemented client-side validations for indexed properties, but I have done it through custom validators. Look through the archive for a thread titled Validation of Indexed properties. I describe how I implemented the client side validations for indexed properties. Nick

RE: Indexed Properties + Validator + JavaScript

2003-10-28 Thread Vara Prasad Reddy
: Re: Indexed Properties + Validator + JavaScript Hi Vara, I have implemented client-side validations for indexed properties, but I have done it through custom validators. Look through the archive for a thread titled Validation of Indexed properties. I describe how I implemented the client

RE: Indexed Properties + Validator + JavaScript

2003-10-28 Thread Nicholas L Mohler
- is the property indexed (allows me to reuse the validation for non-indexed properties) tableName - name of the html table that contains the rows to be validated headerRowPresent - helps me count data rows in the table. listName- name of one row in the form property - used when

RE: Indexed properties help!

2003-10-26 Thread Rajat Pandit
, October 26, 2003 8:23 AM To: Struts Users Mailing List Subject: Re: Indexed properties help! Rajat, Here is an example of an indexed property called 'signal' (in my application it holds complex objects, not simple strings or integers): public OrderedSignalBean getSignal(int index

RE: Indexed properties help!

2003-10-26 Thread Frederic Dernbach
26, 2003 8:23 AM To: Struts Users Mailing List Subject: Re: Indexed properties help! Rajat, Here is an example of an indexed property called 'signal' (in my application it holds complex objects, not simple strings or integers): public OrderedSignalBean getSignal(int index

Indexed properties help!

2003-10-26 Thread Rajat Pandit
Hello, I am pasting some excepts from the struts documentation. It would be really great if someone could help me clear this. Question 1: !-- snip -- The indexed tags feature is provided by several tags that have an optional boolean indexed attribute. This is only legal when inside a

Re: Indexed properties help!

2003-10-26 Thread Frederic Dernbach
Rajat, Here is an example of an indexed property called 'signal' (in my application it holds complex objects, not simple strings or integers): public OrderedSignalBean getSignal(int index) { while( index = this.getSignals().size() ){

Re: Indexed Properties examples?

2003-10-21 Thread hsc
i have same question as you , do you have get right answer? my resolve is like this : form bean - private ArrayList awards = new ArrayList (5); public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { awards .add(0,new AwardMasView ()); awards .add(1,new

RE: Indexed Properties examples?

2003-10-21 Thread shirishchandra.sakhare
Search the user archive... This question has been answered many times(Use of lazy lists is one of the ways to manange the list runtime..) -Original Message- From: hsc [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 9:29 AM To: [EMAIL PROTECTED] Subject: Re: Indexed Properties

RE: Indexed Properties examples?

2003-10-21 Thread Benz Lim
try looking at www.keyboardmonkey.com I believe the example on nested tag will help you... Best Regards, Benz Lim -Original Message- From: hsc [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:29 PM To: [EMAIL PROTECTED] Subject: Re: Indexed Properties examples? i have same

Re: Indexed Properties examples?

2003-10-21 Thread Frederic Dernbach
OK, I faced the same problems you a few weeks ago (I was a total newbee with indexed properties and I spent 10 full days on the problem - I'm still hot on this one !). I haven't read the initial post and I hope my input will be useful to you. Regarding the form : 1/ I create an empty array list

Re: Indexed Properties examples?

2003-10-21 Thread Mark Lowe
=myForm property=myproperty .. Cheers Mark On Tuesday, October 21, 2003, at 12:33 PM, Frederic Dernbach wrote: OK, I faced the same problems you a few weeks ago (I was a total newbee with indexed properties and I spent 10 full days on the problem - I'm still hot on this one !). I haven't read

Indexed Properties examples?

2003-10-14 Thread Michael Blair
I am still trying to get this to work. I simply want to display records in table format in a browser and be able to change the data, do a submit and have access to the changes back in the action. Currently I am getting : HTTP ERROR: 500 No getter method for property AwardIndexed[0].safAwardCode of

RE: Indexed Properties examples?

2003-10-14 Thread Karr, David
Try changing the property value reference in your JSP to reference awardIndexed instead of AwardIndexed. That might help, but I'm not certain. -Original Message- From: Michael Blair [mailto:[EMAIL PROTECTED] I am still trying to get this to work. I simply want to display records

indexed properties

2003-10-09 Thread david.ballard
I'm working through the examples on http://jakarta.apache.org/struts/faqs/indexedprops.html and have some questions. I am able to get the sample code under 'Indexed Properties' to work fine. -- package Beans; import

RE: Need for a sample with indexed properties

2003-10-06 Thread Frederic Dernbach
-- it will cover the first 2 of your points. david -Original Message- From: Frederic Dernbach [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:59 AM To: struts-layout; struts-user Subject: Need for a sample with indexed properties Following up on a previous post, I

Need for a sample with indexed properties

2003-10-03 Thread Frederic Dernbach
Following up on a previous post, I currently experience big difficulties managing indexed properties in a Struts form. Can somebody send me a complete sample with : - a form with an indexed properties (I need to see the setter and getter methods). The O'Reilly Programming Jakarta Book says

Help drasticaly needed ; indexed properties

2003-10-03 Thread Frederic Dernbach
I recently asked for some help on indexed properties and I still some assistance. However, I made some progress in the understanding of the issue. I traced the Struts source code to understand a little better why I'm loosing collection date in between Struts actions. I have a very simple JSP

RE: Help drasticaly needed ; indexed properties

2003-10-03 Thread shirishchandra.sakhare
; indexed properties I recently asked for some help on indexed properties and I still some assistance. However, I made some progress in the understanding of the issue. I traced the Struts source code to understand a little better why I'm loosing collection date in between Struts actions. I have

RE: Need for a sample with indexed properties

2003-10-03 Thread shirishchandra.sakhare
Dernbach [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 9:59 AM To: struts-layout; struts-user Subject: Need for a sample with indexed properties Following up on a previous post, I currently experience big difficulties managing indexed properties in a Struts form. Can somebody send me

RE: Need for a sample with indexed properties

2003-10-03 Thread david.ballard
To: struts-layout; struts-user Subject: Need for a sample with indexed properties Following up on a previous post, I currently experience big difficulties managing indexed properties in a Struts form. Can somebody send me a complete sample with : - a form with an indexed properties (I need to see

Indexed Properties problem / what version of struts is compatible ?

2003-09-10 Thread Florent LOTHON
: Indexed Properties The simplest demonstration of using indexed properties in Struts can be shown with the following simple bean and JSP page: package org.apache.struts.webapp.exercise; import org.apache.struts.action.ActionForm; public class StringBean extends ActionForm { private String strAry

Tr: Indexed Properties problem / what version of struts is compatible ?

2003-09-10 Thread Florent LOTHON
Oups i made a big mistake there is no more problem sorry :) -Message d'origine- De : Florent LOTHON [EMAIL PROTECTED] À : Struts Users Mailing List [EMAIL PROTECTED] Date : mercredi 10 septembre 2003 10:03 Objet : Indexed Properties problem / what version of struts is compatible

[resend] indexed properties without setFoo(foo, index)

2003-09-09 Thread Michael Muller
The following article seems to differ in approach from how the posters to this forum implement indexed properties in struts: http://www.developer.com/java/other/article.php/2233591 In this article, the author uses a DynaActionForm which automatically builds an array of normal beans. By normal, I

Re: [resend] indexed properties without setFoo(foo, index)

2003-09-09 Thread Mark Lowe
On Tuesday, September 9, 2003, at 06:00 PM, Michael Muller wrote: The following article seems to differ in approach from how the posters to this forum implement indexed properties in struts: http://www.developer.com/java/other/article.php/2233591 In this article, the author uses a DynaActionForm

indexed properties

2003-09-08 Thread Michael Muller
The following article seems to differ in approach from how the posters to this forum implement indexed properties in struts: http://www.developer.com/java/other/article.php/2233591 In this article, the author uses a DynaActionForm which automatically builds an array of normal beans. By normal

Re: writing an actionform for nested indexed properties

2003-08-23 Thread cam
cc: Subject: writing an actionform for nested indexed properties 08/21/2003 10:00 AM Please respond to Struts Users

writing an actionform for nested indexed properties

2003-08-21 Thread Cameron Hickey
I am trying to write an actionform which will properly handle an array of indexed properties which look like this: ip[0].itemPropertys[0].itemPropertyId ip[0].itemPropertys[0].value ip[1].itemPropertys[0].itemPropertyId ip[1].itemPropertys[0].value etc... In my Action form, what getters

Re: writing an actionform for nested indexed properties

2003-08-21 Thread Nicholas L Mohler
: Subject: writing an actionform for nested indexed properties 08/21/2003 10:00

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-14 Thread Sridhar Kotagiri
(Indexed Properties) I'm totally confused you say that I need to write these methods Here's your iterate tag: logic:iterate id=ipAddress type=com.register.struts.account.IpAddress name=editAdvancedForm property=alist And here are html:text tags: html:text name=ipAddress property=domainName

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-14 Thread Sridhar Kotagiri
' Subject: RE: BeanUtils.Populate exception(Indexed Properties) 4)Now Im able to diplay in the jsp page but when I submit this page its throwing javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java :1098) exception. See the response

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-14 Thread Sridhar Kotagiri
To: 'Struts Users Mailing List' Subject: RE: BeanUtils.Populate exception(Indexed Properties) 4)Now Im able to diplay in the jsp page but when I submit this page its throwing javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-14 Thread Mohan Radhakrishnan
] Sent: Friday, August 08, 2003 8:26 PM To: Struts Users Mailing List Subject: BeanUtils.Populate exception(Indexed Properties) 1)I have an arraylist called alist which contain collection of Beans(IpAddress) I provided the getter and setter methods for alist and getIpAddress(int index

Re: Concept clear for Indexed properties

2003-08-14 Thread atta-ur rehman
, August 08, 2003 9:10 AM Subject: Concept clear for Indexed properties Hi, I want to make my concept clear 1)I have an ActionForm which contains an ArrayList this stores collection of beans which are called IpAddress 2)Now I write the setter and getter methods for ArrayList in the ActionForm 3

Concept clear for Indexed properties

2003-08-14 Thread Sridhar Kotagiri
that in the first case the getter method with indexed property for IpAddress is being called. Thanks! Sridhar -Original Message- From: Sridhar Kotagiri Sent: Friday, August 08, 2003 11:36 AM To: Struts Users Mailing List Subject: RE: BeanUtils.Populate exception(Indexed Properties) I'm

BeanUtils.Populate exception(Indexed Properties)

2003-08-11 Thread Sridhar Kotagiri
1)I have an arraylist called alist which contain collection of Beans(IpAddress) I provided the getter and setter methods for alist and getIpAddress(int index) and setIpAddress(int index,IpAddress ip) for the bean. 2)This bean has two properties domainName and ipValue,wrote the getter and setter

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-11 Thread Slattery, Tim - BLS
I'm totally confused you say that I need to write these methods Here's your iterate tag: logic:iterate id=ipAddress type=com.register.struts.account.IpAddress name=editAdvancedForm property=alist And here are html:text tags: html:text name=ipAddress property=domainName indexed=true/

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-09 Thread Slattery, Tim - BLS
4)Now Im able to diplay in the jsp page but when I submit this page its throwing javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java :1098) exception. See the response I made a couple of hours ago on this same issue. I just

Re: Indexed Properties

2003-07-29 Thread Nicholas L Mohler
cc: Subject: Re: Indexed Properties 07/28/2003 08:44

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
, 2003 2:57 AM Subject: Re: Indexed Properties Atta, It sounds to me like you have it. As long as your names match up, it should work fine. Ajay has given a full code example that looks good. Nick atta-ur rehman [EMAIL PROTECTED

RE: Indexed Properties

2003-07-29 Thread Paananen, Tero
What i'm still missing what is updated when i submit the form? where can i get updated values from? my ActionForm has list attirbute called blocks each element in the list is a Block bean object. The Block bean has getter/setters for id, name and category. Two strategies: 1. Update

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:04 AM Subject: RE: Indexed Properties What i'm still missing what is updated when i submit the form? where can i get updated values from? my ActionForm has list attirbute called blocks each element

RE: Indexed Properties

2003-07-29 Thread Paananen, Tero
but this code always prints the values that i set the first time page was shown! Beats me...the code looked fine to me. Maybe something wrong with your action mappings and form bean configurations? Or the JSP the values are changed on. -TPP

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
so you are saying that ideally the the beans collection in my ActionForm should be updated on form submission? - Original Message - From: Paananen, Tero [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:30 AM Subject: RE: Indexed

RE: Indexed Properties

2003-07-29 Thread Paananen, Tero
so you are saying that ideally the the beans collection in my ActionForm should be updated on form submission? The attribute values in the beans held in the collection should change on form submission, yes. -TPP - This

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
path=/test.jsp/ /action my form class extends ActionForm. any ideas? ATTA - Original Message - From: Paananen, Tero [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:43 AM Subject: RE: Indexed Properties so you are saying that ideally

Re: Indexed Properties

2003-07-29 Thread Nicholas L Mohler
and confirm that your indexed properties are named correctly. You should see block[0].id, block[0].name, block[0].category. If none of this helps, I'm not sure where else to look. It sounds like everything else is lining up... Nick

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
, after all ;) My sincere thanks for your help and patience! It took some time, but was worth it! ATTA - Original Message - From: Nicholas L Mohler [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 11:19 AM Subject: Re: Indexed Properties

Validation of Indexed Properties

2003-07-28 Thread Nicholas L Mohler
Hi, I am currently imple,enting the Struts validator into our web app. All is going pretty well with the exception of client-side indexed property validation. I have looked at the Validator documentation, and gone through this list looking for some idea that will give me a clue as to what I

RE: Indexed Properties

2003-07-28 Thread Paananen, Tero
I've been reading an indexed properties article at: http://jakarta.apache.org/struts/faqs/indexedprops.html Also read http://www.developer.com/java/other/article.php/2233591 Very helpful. -TPP - This email may contain

Re: Indexed Properties

2003-07-28 Thread atta-ur rehman
Thanks. It was helpful. But it still leaves me thinking if Indexed Properties are meant ONLY for DynaActionForm type of forms? I'm still unable to use them by using an array in my conventional ActionForm. ATTA - Original Message - From: Paananen, Tero [EMAIL PROTECTED] To: 'Struts

Re: Indexed Properties

2003-07-28 Thread Nicholas L Mohler
Atta, You can use indexed properties in your ActionForm class. The key is having all of the correct methods in your form class. 1) Getter and setter: You need a get/Set method for the collection that you refer to in your jsp. for example: public Collection getLocations() public void

Re: Indexed Properties

2003-07-28 Thread atta-ur rehman
Mohler [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, July 28, 2003 11:58 AM Subject: Re: Indexed Properties Atta, You can use indexed properties in your ActionForm class. The key is having all of the correct methods in your form class. 1) Getter

Re: Indexed Properties

2003-07-28 Thread Nicholas L Mohler
: Subject: Re: Indexed Properties 07/28/2003 03:44

  1   2   3   >