Say that I have
a bean Company.java:
class Company {
private String name;
private String city;
}
a page CreateCompany.java:
class CreateCompany {
private Company company;
void onValidate() {
System.out.println("name: " + company.getName() + " city: " +
company.getCity());
}
a template CreateCompany.tpl
<html xmlns:t="">
<t:beaneditform t:id="company">
<t:parameter name="city">
<t:label for="city"/>
<t:textfield t:value="company.city" t:id="city"/>
</t:parameter>
</t:beaneditform>
</html>
I fill in values for both fields and I submit. The println will print
the value for the name but the city will be NULL. How come?
Best regards,
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]