Populating collection in struts 2 Action properties

2007-02-03 Thread zafer Mohamed
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

Re: Populating collection in struts 2 Action properties

2007-02-03 Thread zafer Mohamed
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

Re: [S2] Re: Populating collection in struts 2 Action properties

2007-02-03 Thread zafer Mohamed
. 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

Re: [S2] Re: Populating collection in struts 2 Action properties

2007-02-03 Thread zafer Mohamed
- 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

Re: will validation include custom error tag in the next releases?

2007-02-03 Thread zafer Mohamed
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

Re: [S2] Re: Populating collection in struts 2 Action properties

2007-02-03 Thread zafer Mohamed
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

[s2] Autopopupation of fields fails with "enctype="multipart/form-data" in form

2007-02-04 Thread zafer Mohamed
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 _

Re: [s2] Autopopupation of fields fails with "enctype="multipart/form-data" in form

2007-02-04 Thread zafer Mohamed
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

[s2] SlashesInActionNames + wildcard mapping

2007-03-18 Thread zafer Mohamed
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.