Struts - indexed property problem with jdk1.5 - overloaded get/set method with same name - for Struts Team

2008-11-27 Thread Rajil
Hello Struts Guru; I am using jdk1.4, struts1.0 and tomcat4.1 for my application. And I wanted to upgrade my application to jdk1.5. Struts1.0 had some problem with jdk1.5. I was not able to interpret two property with the same name, one is indexed and other is not. E.g. I have one ActionForm

Struts - indexed property problem with jdk1.5 - overloaded get/set method with same name - for Struts Team

2008-11-26 Thread Rajil
Hello everyone; I am using jdk1.4, struts1.0 and tomcat4.1 for my application. And I wanted to upgrade my application to jdk1.5. Struts1.0 had some problem with jdk1.5. I was not able to interpret two property with the same name, one is indexed and other is not. E.g. I have one Acti

AW: Struts2: How to access indexed property (map) with dynamic index?

2008-09-25 Thread Keim, Markus
hy Barroso [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 25. September 2008 16:06 An: Struts Users Mailing List Betreff: Re: Struts2: How to access indexed property (map) with dynamic index? try: #fooMap[#item.fooId] On Thu, Sep 25, 2008 at 9:45 AM, Keim, Markus <[EMAIL PROTECTED]> wrote:

Re: Struts2: How to access indexed property (map) with dynamic index?

2008-09-25 Thread Musachy Barroso
try: #fooMap[#item.fooId] On Thu, Sep 25, 2008 at 9:45 AM, Keim, Markus <[EMAIL PROTECTED]> wrote: > Hello all, > > is it possible (and how) to access the values of an indexed property > (a map) with the Struts2 "property" tag by providing a dynamicaly > ret

Struts2: How to access indexed property (map) with dynamic index?

2008-09-25 Thread Keim, Markus
Hello all, is it possible (and how) to access the values of an indexed property (a map) with the Struts2 "property" tag by providing a dynamicaly retrieved/calculated index? In detail: Let's assume that "fooMap" is a simple Map that's provided by a Struts2 actio

Re: Reg: Problem related to setting up of Indexed property on Form Submit

2007-08-28 Thread kukreja sanjeev
tting up the Indexed property on form submit > in struts 2.x. It would be great if you can provide your valuable inputs to > rectify this. It would help if you described what the problem is... Is something not working, or are you just unsure how to do what you want to? If the latter, wh

Re: Reg: Problem related to setting up of Indexed property on Form Submit

2007-08-28 Thread kukreja sanjeev
tting up the Indexed property on form submit > in struts 2.x. It would be great if you can provide your valuable inputs to > rectify this. It would help if you described what the problem is... Is something not working, or are you just unsure how to do what you want to? If the latter, wh

Re: Reg: Problem related to setting up of Indexed property on Form Submit

2007-08-18 Thread Laurie Harper
kukreja sanjeev wrote: Hi Guys, I am facing problem related to setting up the Indexed property on form submit in struts 2.x. It would be great if you can provide your valuable inputs to rectify this. It would help if you described what the problem is... Is something not working, or are

Reg: Problem related to setting up of Indexed property on Form Submit

2007-08-18 Thread kukreja sanjeev
Hi Guys, I am facing problem related to setting up the Indexed property on form submit in struts 2.x. It would be great if you can provide your valuable inputs to rectify this. Thanks in Advance. Regards, Sanjeev - Take the Internet to Go: Yahoo!Go

Indexed Property and Hand Cranking Lazy List

2006-11-21 Thread Adam K
Hello all, I am sorry to subject this list to yet another person who doesn't understand something, but I can't for the life of me figure out hand cranking lazy lists. I am using 1.2.9 with java 1.5.0_06 And I can't get lazy lists to work. I am trying to use what I found at : http://wiki.apache.

Re: Indexed Property and Hand Cranking Lazy List

2006-11-21 Thread Hubert Rabago
Struts is getting confused by: public List getSkills() { return skills; } public void setSkills(Product skill) { this.skills.add(skill); } The getter and setter should be consistent. - Hmm... I just looked at the link you sent and it looks l

Re: Dynamic Indexed property

2006-08-03 Thread Puneet Lakhina
but this also throws an error saying that indexedProperty[<%=pageConte is an invalid indexed property. -- Puneet Little googling never hurt anybody.. The solution lies here http://struts.apache.org/1.2.4/faqs/indexedprops.html -- Puneet

Dynamic Indexed property

2006-08-03 Thread Puneet Lakhina
t;%=pageConte is an invalid indexed property. -- Puneet

indexed property validation

2006-05-04 Thread Carl Smith
I have an indexed property which is a tipical list of textboxes, I have a requirement to validate that the user need to at least enter values into one text box. How can you configure this using Struts "required" validator? Thanks

RE: indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-12 Thread Michael TALLET
will call setValue on the bean, and that's all Hope this helps -Message d'origine- De : Carl Smith [mailto:[EMAIL PROTECTED] Envoyé : mercredi 12 avril 2006 00:21 À : Struts Users Mailing List Objet : Re: indexed property validation error:java.lang.reflect.InvocationTarge

Re: indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-11 Thread Carl Smith
ields which are indexed property, I needs to validate all the text box contains a value other than null or empth string. When I click on save I got the error (see the bottom). Your helps are highly appreciated! jsp: (1) indexed property - text box Fields to be validated:

indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-10 Thread Carl Smith
I have a jsp containing three text fields which are indexed property, I needs to validate all the text box contains a value other than null or empth string. When I click on save I got the error (see the bottom). Your helps are highly appreciated! jsp: (1) indexed property - text

Re: indexed property validation: how to keep the value the user entered

2006-03-30 Thread Carl Smith
Your comments make great sense... I moved the initializing part from the displayAction to the reset method in the form bean as you suggested and it works as expected. Thanks. Laurie Harper <[EMAIL PROTECTED]> wrote: OK, so when validation fails Struts forwards to displayTesting w

Re: indexed property validation: how to keep the value the user entered

2006-03-29 Thread Laurie Harper
OK, so when validation fails Struts forwards to displayTesting which, in turn, forwards to /displayAction. In your DisplayAction class, you're overwriting the values of your form bean property, destroying the information Struts set there. You'll need to check if the property has already been i

Re: indexed property validation: how to keep the value the user entered

2006-03-27 Thread Carl Smith
First of all Thank you Laurie, you are the only one anwering my questions :): Here are my struts-config.xml entries for the actions and formbean ( I neglected the path and anything). Laurie Harper <[EMAIL PROTECTED]> wrote: We'll need to see

Re: indexed property validation: how to keep the value the user entered

2006-03-25 Thread Laurie Harper
We'll need to see the relevant parts of your struts-config.xml too (specifically, the form bean and action mapping definitions). L. Carl Smith wrote: I have a jsp containing an indexed test box field, and I need to validate the user enter a value into all the text boxes when clicking on the s

indexed property validation: how to keep the value the user entered

2006-03-24 Thread Carl Smith
I have a jsp containing an indexed test box field, and I need to validate the user enter a value into all the text boxes when clicking on the save button. Validation is done OK, but there is an issue. Let me give you an example illustrating the issue: if there are three text boxes, the user ente

Re: Is Struts supports indexed property like itemForSale[1].lineDetail[4].selected ... I searched but haven't found how?

2005-11-17 Thread David Gagnon
quot; validator I wrote: http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html#twolevels Niall - Original Message - From: "David Gagnon" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, November 16, 2005 1:07 PM Subject: Is Struts supports

Re: Is Struts supports indexed property like itemForSale[1].lineDetail[4].selected ... I searched but haven't found how?

2005-11-16 Thread Niall Pemberton
ginal Message - From: "David Gagnon" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, November 16, 2005 1:07 PM Subject: Is Struts supports indexed property like itemForSale[1].lineDetail[4].selected ... I searched but haven't found ho

Re: Is Struts supports indexed property like itemForSale[1].lineDetail[4].selected ... I searched but haven't found how?

2005-11-16 Thread Rahul Akolkar
On 11/16/05, David Gagnon <[EMAIL PROTECTED]> wrote: > Hi all, > > Sorry for this question that I tought trivial . but I haven't found my > answer in the list . .so I ask you. > > property="itemForSale" id="itemForSale" indexId="ctr" > >property="lineDetail" id="lineDetai

Is Struts supports indexed property like itemForSale[1].lineDetail[4].selected ... I searched but haven't found how?

2005-11-16 Thread David Gagnon
Hi all, Sorry for this question that I tought trivial . but I haven't found my answer in the list . .so I ask you. property="itemForSale" id="itemForSale" indexId="ctr" > property="lineDetail" id="lineDetail" indexId="ctr2"> property="

RE: DynaActionForm with indexed property - not updating

2005-07-04 Thread Mark Rehbein
dexed property - not updating You have named your indexed property in the DynaActionForm "rows" - but on your jsp you are using a var of "row" Either change the property defined in the DynaActionForm to "row" or change your jsp to refer to "rows"... Author

Re: DynaActionForm with indexed property - not updating

2005-07-04 Thread Niall Pemberton
You have named your indexed property in the DynaActionForm "rows" - but on your jsp you are using a var of "row" Either change the property defined in the DynaActionForm to "row" or change your jsp to refer to "rows"... Author:

Help: DynaActionForm with indexed property - not updating

2005-07-04 Thread Mark Rehbein
Hi, I've been trying to get the values in my dynaaction form to update. I have a "populator" Action that creates my TestRow[] object and adds it to the form. The dynaaction also has a simple String property which I also populate. I then forward to my HTML form that has the row fields indexed.

Re: Struts indexed property problem

2005-06-28 Thread Michael Jouravlev
You want bean utils to convert your proprietary value object into generic List? Umm, don't see how this is possible. Michael. On 6/28/05, Siena, Christina (.) <[EMAIL PROTECTED]> wrote: > As you can see, the forms implement programList differently which is the > cause of the problem. In order fo

Struts indexed property problem

2005-06-28 Thread Siena, Christina \(.\)
Hi, I've encountered an indexed property problem (common in Struts) when navigating from one page to another if checkboxes are checked in the page that I'm navigating from: [6/28/05 12:51:01:354 EDT] 44bb6cd5 WebGroup E SRVE0026E: [Servlet Error]-[BeanUtil

Re: problem with indexed property and logic:iterate

2005-06-14 Thread Nitesh
Just passing you a solution I had got from the user list earlier Nitesh - Original Message - From: "John Fitzpatrick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 03, 2005 6:06 PM Subject: Re: Problem using indexed properties and validator framework In the

problem with indexed property and logic:iterate

2005-06-14 Thread Marco Mistroni
Hello all, I have a DynaActionForm with two properties of type String[], one named priorities and the other named owner I am having problem in displaying their value in my jsp using logic:iterate My JSP is as follows

Validation of indexed property

2005-05-08 Thread Cliff Lam
Hi, Any one can send me some examples to do the validation of indexed property ?? As I find that JavascriptValidationTag just skip it . I'm using struts 1.1 Thanks a lot =) Cliff

Validate indexed property problem

2005-04-19 Thread Cliff Lam
Hi all, could any one send me some best practice about Validating indexed property? Thanks a lot =) Best wishes, Cliff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

indexed property is not populated

2004-12-18 Thread Evgeniy Strokin
Hi, I have a problem: Struts config file has: On JSP I have: It generates folowing HTML: But when I submit the form actual values in a bean are not updated. They are still the same. What do I do wrong? Thanks, Eugene __ Do you Yaho

RE: indexed property is not updated after submit

2004-12-16 Thread Kandula, Sunita
setter and getter methods are required. Your Collection of emails should be a ordered collection like a List. -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 3:38 PM To: Struts Users Mailing List Subject: RE: indexed property is not

RE: indexed property is not updated after submit

2004-12-15 Thread Sachin Bhutada
PROTECTED] Sent: Wednesday, December 15, 2004 11:42 PM To: 'Struts Users Mailing List' Subject: RE: indexed property is not updated after submit Could be done like this: <%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> -Original Mes

Re: indexed property is not updated after submit

2004-12-15 Thread Sebastián Gorgo
CTED] Sent: Wednesday, December 15, 2004 2:40 PM To: Struts Users Mailing List Subject: RE: indexed property is not updated after submit Thanks, I think I'm getting close)) But your example gives me this exception: --- Invalid argument looking up property model.currentP

RE: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
ing getEmailAddress() { > > return emailAddress; > > } > > > > /** > > * @param string > > */ > > public void setEmailAddress(String string) { > >emailAddress = string; > > } > > > > > > >

RE: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
t; > /** > * @param string > */ > public void setEmailAddress(String string) { >emailAddress = string; > } > > > > -Original Message- > From: Evgeniy Strokin > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 2:40 PM > To: Struts Users Mailing List

RE: indexed property is not updated after submit

2004-12-15 Thread Kandula, Sunita
setEmailAddress(String string) { emailAddress = string; } -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 2:40 PM To: Struts Users Mailing List Subject: RE: indexed property is not updated after submit Thanks, I think I'm getting

RE: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
> -Original Message- > From: Evgeniy Strokin > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 10:04 AM > To: [EMAIL PROTECTED] > Subject: indexed property is not updated after > submit > > > Hi, > I have a problem: > Struts config file ha

Re: indexed property is not updated after submit

2004-12-15 Thread Sebastián Gorgo
Evgeniy Strokin wrote: Thanks, but the server doesn't respond. Could you sent the pdf or copy and past the page from pdf. I'm really stack with this problem and appreciate any help. --- Sebastián Gorgo <[EMAIL PROTECTED]> wrote: Evgeniy Strokin wrote: Hi, I have a problem: Struts config file has:

RE: indexed property is not updated after submit

2004-12-15 Thread Kandula, Sunita
Could be done like this: <%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: indexed property i

Re: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
Thanks, but the server doesn't respond. Could you sent the pdf or copy and past the page from pdf. I'm really stack with this problem and appreciate any help. --- Sebastián Gorgo <[EMAIL PROTECTED]> wrote: > Evgeniy Strokin wrote: > > Hi, > > I have a problem: > > Struts config file has: > > > >

Re: indexed property is not updated after submit

2004-12-15 Thread Sebastián Gorgo
Evgeniy Strokin wrote: Hi, I have a problem: Struts config file has: On JSP I have: property="model.currentPerson.contactInfo.emails" name="form" > It generates folowing HTML: But when I submit the form actual values in a bean are not updated. They are still the same. This is my Bean: p

indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
Hi, I have a problem: Struts config file has: On JSP I have: It generates folowing HTML: But when I submit the form actual values in a bean are not updated. They are still the same. This is my Bean: package com.mycomp.securityadmin; public class SecurityAdminModel implements Serializ

indexed property and checkbox (may be newbye question)

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(); } /** * Permet

Re: Indexed Property!!

2004-09-03 Thread Fulco
Maybe you should expose your problem with some more details ;o) RamKumar wrote: Hi, Indexed property methods are not getting called if i use expression language in html:multibox tag. Why is this?. I am using tomcat 5.0. Any clues, thanks, Ramkumar

Indexed Property!!

2004-09-02 Thread RamKumar
Hi, Indexed property methods are not getting called if i use expression language in html:multibox tag. Why is this?. I am using tomcat 5.0. Any clues, thanks, Ramkumar

Indexed Property with checkbox

2004-06-14 Thread Davide Gurgone
tEsami(int index, String value) { esami[index] = value; } In the JSP I have in session *another* object called "esami" that contains a list of checkboxes: ]" value="" id=""/> this code whant to replicate the

R: Indexed property throws exception - HELP!

2004-05-17 Thread Andrea M
-Messaggio originale- Da: Phan, Hienthuc T (Rosetta) [mailto:[EMAIL PROTECTED] Inviato: lunedì 17 maggio 2004 18.59 A: [EMAIL PROTECTED] Oggetto: Indexed property throws exception - HELP! Priorità: Alta Hi, I encountered an index out of bound exception when using the indexed property. The pro

Indexed property throws exception - HELP!

2004-05-17 Thread Phan, Hienthuc T (Rosetta)
Hi, I encountered an index out of bound exception when using the indexed property. The problem I'm facing is that I can't debug this. The exception is not thrown either in the the form or the action. Do you know what cause this? <101017> <[ServletContext(id=4601745,nam

indexed property not working

2004-05-06 Thread Rassmann, Natalie D
Hi - I have an arraylist within an arraylist and I am trying to iterate throught it. When I use indexed on the item; it doesn't seem to be indexing the name. Here is a code snippet: When I look at the generated source code I see the following being generated: Start

Re: Creating an indexed property of DynaActionForms

2004-04-21 Thread Niall Pemberton
ArrayList of LazyDynaBeans. Niall - Original Message - From: "Nathan Ewing" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 10:51 PM Subject: RE: Creating an indexed property of DynaActionForms

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Nathan Ewing
ng List Cc: Subject:Re: Creating an indexed property of DynaActionForms OK, then I repeat my earlier answer - use (or at least look at) the "Lazy" versions I wrote. http://www.niallp.pwp.blueyonder.co.uk/ is all it needs. If you look at the get(String name, int index) method

Re: Creating an indexed property of DynaActionForms

2004-04-21 Thread Niall Pemberton
s. Niall - Original Message - From: "Nathan Ewing" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 10:51 PM Subject: RE: Creating an indexed property of DynaActionForms Let me rephrase :) "its MUCH

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Nathan Ewing
the same form). How could I make this work? Writing regular non-dynbeans would multiply maintenance incredibly. Nathan -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 5:08 PM To: Struts Users Mailing List Subject: Re: Creating

Re: Creating an indexed property of DynaActionForms

2004-04-21 Thread Niall Pemberton
age - From: "Nathan Ewing" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 9:44 PM Subject: RE: Creating an indexed property of DynaActionForms Lemme give an example, Lets say I have a form for Cars. The main

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Nathan Ewing
easier to save these records to the database if everything is represented as DynaForms. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 4:27 PM To: Struts Users Mailing List Subject: Re: Creating an indexed property of DynaActionForms I

Re: Creating an indexed property of DynaActionForms

2004-04-21 Thread Niall Pemberton
p Should populate an ArrayList of LazyDynaBeans containing property1 and property2 Niall - Original Message - From: "Nathan Ewing" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 8:53 PM Su

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Nathan Ewing
, April 21, 2004 7:44 AM To: Struts Users Mailing List Subject: RE: Creating an indexed property of DynaActionForms Use the lazyValidatorActionForm, which allows you to keep things request scope when using arrays. http://www.niallp.pwp.blueyonder.co.uk

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Nathan Ewing
List Subject: RE: Creating an indexed property of DynaActionForms I don't think using the lazy beans is a bad approach and if you look at the code, there is very little of it. I got half way to implementing the approach, but the piece I was building was shut down so I don't know how effec

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Takhar, Sandeep
than Ewing [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 1:48 PM To: Struts Users Mailing List Subject: RE: Creating an indexed property of DynaActionForms I briefly toyed with the idea of trying to fix the flaw myself, but I looked at the struts source code and the change would not be a t

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Nathan Ewing
Subject: RE: Creating an indexed property of DynaActionForms I couldn't think of one. sandeep -Original Message- From: Nathan Ewing [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:00 AM To: Struts Users Mailing List Subject: RE: Creating an indexed property of DynaActionForm

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Takhar, Sandeep
I couldn't think of one. sandeep -Original Message- From: Nathan Ewing [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:00 AM To: Struts Users Mailing List Subject: RE: Creating an indexed property of DynaActionForms I take it then that there is no way to use n

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Nathan Ewing
ndeep -Original Message- From: Nathan Ewing [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: Creating an indexed property of DynaActionForms I'm trying to figure out how to define and use a DynaActionForm which has an indexed property that

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Takhar, Sandeep
From: Nathan Ewing [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: Creating an indexed property of DynaActionForms I'm trying to figure out how to define and use a DynaActionForm which has an indexed property that is another DynaActionForm. I'

Creating an indexed property of DynaActionForms

2004-04-20 Thread Nathan Ewing
I'm trying to figure out how to define and use a DynaActionForm which has an indexed property that is another DynaActionForm. I'm using struts 1.1. Here is something like what I mean: First my sample struts-