Has anyone had any joy nesting Beans in DynaActionForms with out using indexed properties..

<form-property name="bean" type="com.sparrow.Bean" />

..
package com.sparrow;

public class Bean {
        private foo;

        public String getFoo() {
                return foo;
        }

        public setFoo(String str) {
                this.foo = str;
        }
}
..

..Then i'm trying

<html:text name="bean" property="foo" />

But rather than rendering like this...

<input type="text" name="bean.foo" />

..it renders as..

<input type="text" name="foo"/>

I've been doing this a lot with indexed properties and it works a treat, but seems not to work in the way one would imagine with straight nesting.

Cheers Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to