I have a Company object that's attached to my User object with the following
JPA configuration:
@ManyToOne(cascade = CascadeType.ALL, optional=true)
@JoinColumn(name="company_id")
public Company getCompany() {
return company;
}
In my userForm.jsp, I'm trying to render allow users to edit the company
name with the following textfield:
<s:textfield key="user.company.name" required="false" cssClass="text large"
/>
In my i18n bundle, I have two keys:
company.name=Acme, Inc.
user.company.name=Company Name
For some reason, "Acme, Inc." is getting rendered as the label instead of
"Company Name". As far as I can tell, this is a bug in Struts 2.0.6. Should
I enter an issue for it in JIRA?
Thanks,
Matt
--
View this message in context:
http://www.nabble.com/%3Cs%3Atextfield-key%3E-reads-wrong-key-from-i18n-bundle-tf3871460.html#a10968459
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]