it is necessary to contribute your Address type to 
the DefaultDataTypeAnalyzer (it's not explicitly 
mentioned in that ticket :)):

public void contributeDefaultDataTypeAnalyzer(MappedConfiguration<Class, 
String> configuration)
{
        configuration.add(Address.class, "address")
}






Kristian Marinkovic <[EMAIL PROTECTED]> 
16.07.2008 12:44
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
"Tapestry users" <users@tapestry.apache.org>
Kopie

Thema
Re: [T5] BeanEditForm: Howto include complex properties?






hi Andy,

take a look at https://issues.apache.org/jira/browse/TAPESTRY-2460

there is a working example in the comments.
g,
kris




Andy Pahne <[EMAIL PROTECTED]> 
16.07.2008 12:17
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
Tapestry users <users@tapestry.apache.org>
Kopie

Thema
[T5] BeanEditForm: Howto include complex properties?







Hi,

I have a bean Customer:


class Customer{

     pribate Address address;

     // getter and setter omitted

}





Address is defined like that:


class Address{

    private String line1;
    private String line2;
    ...

     // getter and setter omitted

}



How can I make the BeanEditForm component include the properties of 
Address?


Andy



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



Reply via email to