Re: [Stripes-users] Mapped property ignored if value is empty??

2009-04-01 Thread Phil Sladen
es are you using? Just curious if it is an old one or current? Brandon On Mon, Mar 30, 2009 at 4:04 AM, Phil Sladen wrote: I have an actionbean property "HashMap tagMap" that is used to gather dynamically generated form values from input fields named like "tagMap[propName]". W

Re: [Stripes-users] Mapped property ignored if value is empty??

2009-03-31 Thread Phil Sladen
sion. Stripes treats nulls and blank strings the same way, and I find it very natural. Why do you need to put a blank on a map? Just to know that the user inserted a concrete param name? You have other options, eg. as you are dynamically inserting text inputs, add a hidden with the param name…  

Re: [Stripes-users] Mapped property ignored if value is empty??

2009-03-31 Thread Phil Sladen
Ok, this seems like a genuine issue to me. Unless someone can put me right about this I will raise it in JIRA, if I can remember how to do that. Thanks. --- On Mon, 30/3/09, Phil Sladen wrote: From: Phil Sladen Subject: Re: [Stripes-users] Mapped property ignored if value is empty?? To

Re: [Stripes-users] Mapped property ignored if value is empty??

2009-03-30 Thread Phil Sladen
30 March, 2009, 10:24 AM What are you trying to do? Do you want Stripes to raise a validation error because you have a �...@validate(required=true)”? Or do you want Stripes to insert an empty string in that map because “” is a valid value?   De: Phil Sladen [mailto:phil.sla...@yahoo.co.uk

[Stripes-users] Mapped property ignored if value is empty??

2009-03-30 Thread Phil Sladen
I have an actionbean property "HashMap tagMap" that is used to gather dynamically generated form values from input fields named like "tagMap[propName]". Works fine as long as the value in the form field is not empty. But if it is empty, it appears that DefaultActionBeanPropertyBinder.validateRe

Re: [Stripes-users] Please can someone elaborate on decision STS-464

2008-04-25 Thread Phil Sladen
does make sense. But it would be nice if there was a way :) Evgeny Shepelyuk-2 wrote: > > 25.04.08 в 15:24 Phil Sladen в своём письме писал(а): > >> >> I have been recommending Stripes to a friend on mine, but unfortunately >> he >> immediately stumbled up

[Stripes-users] Please can someone elaborate on decision STS-464

2008-04-25 Thread Phil Sladen
I have been recommending Stripes to a friend on mine, but unfortunately he immediately stumbled upon the issue that you have to have to explicitly make a call to UseActionBean to use your actionbean in a pre-action JSP. Please can someone explain why the bean shouldn't be available by default. Tha