Got it working.
In haste when building my example I decided to 'save time' by creating
my Person class as an inner class to my ActionBean (I also failed to
mention this too you apologies) but thanks to my lack of understanding
on innerclass instantiation I did not release this would cause any
prob
I'll pick this up on Monday, thanks for your suggestions
Cheers,
Phil
On Fri, Mar 5, 2010 at 6:28 PM, Freddy Daoud wrote:
> Hi Phil,
>
> Just got a working example. Things for you to try out:
>
> * the @ValidateNestedProperties({...}) belongs on the private
> List people field, the getter method
Hi Phil,
Just got a working example. Things for you to try out:
* the @ValidateNestedProperties({...}) belongs on the private
List people field, the getter method, or the setter method,
not on the event handler;
* make sure that you have a public no-args constructor, public
Person() {}, in the P
Sure thing Freddy, actionBean:
private List people;
//called in default 'view' handler method so intial form is
populate with people data that can be updated
public void prepareView(){
people = new ArrayList();
people.add(new Person("tom",
Hi Phil,
- DefaultActionBeanPropertyBinder - Running binding for property with
- name: people[0].email
- DefaultActionBeanPropertyBinder - Converting 1 value(s) using
- converter net.sourceforge.stripes.validation.StringTypeConverter
- DefaultActionBeanPropertyBinder - Could not bind property w
Having trouble finding out the issue here, debug gives the following
information:
DefaultActionBeanPropertyBinder - Running binding for property with
name: people[0].email
DefaultActionBeanPropertyBinder - Converting 1 value(s) using
converter net.sourceforge.stripes.validation.StringTypeConvert
Ha - excellent thank you Freddy
On Thu, Mar 4, 2010 at 11:33 AM, Freddy Daoud wrote:
> Hi Phil,
>
> net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder
> is where the magic happens :-)
>
> Cheers,
> Freddy
>
> On Thu, 4 Mar 2010 11:22:08 +, "phillip darley"
> said:
>> Hi,
>>
>
Hi Phil,
net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder
is where the magic happens :-)
Cheers,
Freddy
On Thu, 4 Mar 2010 11:22:08 +, "phillip darley"
said:
> Hi,
>
> I've created a simple actionBean and jsp based on the example given @
> http://www.stripesframework.org/
Hi,
I've created a simple actionBean and jsp based on the example given @
http://www.stripesframework.org/display/stripes/Indexed+Properties.
When I submit to my actionbean event handler the People List is empty.
Which stripes classes are responsible for grabbing the indexed
properties from the r