Yay, thanks!
We did not know that xmlforms would understand this syntax. that's why we
didn't use composition :)
hmm, schematrons don't accidently support composition too do they ? :)
> <snip/>
>
> > Does anyone have any ideas of how to get round this, or how we could
> > apporach this differently ? (besides using the adress(for example) bean
> > as a subclass for the other bean, this would break if we want to use more
> > then one generic bean)
>
> Why don't you use composition instead of inheritance?
>
> public class MyBean {
> private Address address;
> public Address getAddress() { return address; }
> public void setAddress(Address address) { this.address = address; }
> ...
> }
>
> <xf:textbox ref="/address/street" ...>
> <xf:textbox ref="/address/zipcode" ...>
>
> Ugo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]