Hello,

I have an opbject that looks like this:

Profile {
  String name;
  Account account;

   String getName();
   Account getAccount();
}

Account {
  String name;
  String getName();
}

In my jsp, I have code like this:

...
...
...
<html:text name="profile" property="account.name" value="Foo" />
...
...
...

This generates:

<td><input type="text" name="profile.name" value="Foo"></td>

I'm using DynaValidatorActionForm's to validate the data. Whenever I use my page, I get an error saying that the account name property isn't set. I am positive it's because of the period (.) in the name of the attribute. Is there a way for me to get around this problem?

Thanks,

L


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



Reply via email to