I am struggling to populate a collection in the struts action's attribute. My
scenario is similiar to below
public class PersonAction extends ActionSupport {
private Person person;
public void setPerson(Person
person){ this.person = person}
public Person getPerson(){ return person}
pu
an (0) for your name field, i.e
I didn't test it myself, so try it at your own risk :-)
Saul
zafer Mohamed wrote:
> I am struggling to populate a collection in the struts action's attribute. My
> scenario is similiar to below
>
> public class PersonAction extends
.
Thanks
Zafer
- Original Message
From: Dave Newton <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Saturday, February 3, 2007 1:24:58 PM
Subject: [S2] Re: Populating collection in struts 2 Action properties
--- zafer Mohamed <[EMAIL PROTECTED]> wrote:
> I am strug
- Original Message
From: Dave Newton <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Saturday, February 3, 2007 3:38:03 PM
Subject: Re: [S2] Re: Populating collection in struts 2 Action properties
--- zafer Mohamed <[EMAIL PROTECTED]> wrote:
> I have Person-conversio
You should be able to do this, be writing your own theme. Look in the
struts2-core-2.0.1.jar, all the themes are in "templates" folder, use them as
reference. You should know freemarker to do this, but I should be easy..
Zafer
- Original Message
From: Struts2 Fan <[EMAIL PROTECTED]>
To
uary 3, 2007 4:33:21 PM
Subject: Re: [S2] Re: Populating collection in struts 2 Action properties
--- zafer Mohamed <[EMAIL PROTECTED]> wrote:
> Initializing the collection also did not help. If
> possible can you please let me know what are the
> conversion-properties files u have
I have a form with the enctype set to "enctype="multipart/form-data" as I am
uploading a file, the form also contains some other fields. On submission the
autopopulation of other fields fails, but it works correctly if I remove the
enctype="multipart/form-data". Any idea..?
Thanks
Zafer
_
2) check if you have any custom filter in front of your action - the
multipart parser requires a 'virgin' request object, without accessing
any params in it prior to multiparse analysis. If you try to operate
on the request earlier - multiparser is not able to finish his task.
regards
D
or
There is no Action mapped for action name user/profile. - [unknown location]
I have tried using "*/*" as wild card , but no luck. Is it a bug..?
Thanks
Zafer Mohamed
Get your own web address.
9 matches
Mail list logo