that worked.
thanks
S
-Original Message-
From: Frank Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 12:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Multiple Values In Form Hidden Parameter
Alternatively, tokenize the String parameter to your setter and store it as
Alternatively, tokenize the String parameter to your setter and store it as
appropriate in your array in your bean.
From: Rob McBride <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sub
Hi Sahil,
You can do this sort of thing by using indexed properties:
But in your bean you will need to add getters and setters that include
the index as a parameter:
private void setSvalues(int index, String val)
{
svalues[index] = val;
}
private String getSvalues(int index)
{
return
Hi,
I'd like to pass multiple values in my form hidden parameter. Is there any
way i can do this?
Bean:
private String []svalues;
private String []getSvalues(){
return svalues;
}
private void setSvalues(String []vals){
svalues = vals;
}
TIA
S
---
4 matches
Mail list logo