[
https://issues.jboss.org/browse/FORGE-446?page=com.atlassian.jira.plugin....
]
Richard Kennard resolved FORGE-446.
-----------------------------------
Resolution: Won't Fix
Whilst Metawidget *does* support public fields, I had to turn it off because JSP/JSF EL
itself does not support public fields. Perhaps you can raise a JIRA with them :)
Support use of public fields as well as getters and setters
-----------------------------------------------------------
Key: FORGE-446
URL:
https://issues.jboss.org/browse/FORGE-446
Project: Forge
Issue Type: Bug
Components: Scaffold
Reporter: Pete Muir
Assignee: Richard Kennard
Given an entity
{code:java}
@Embeddable
public class Address {
public String street;
public String city;
public String country;
}
{code}
and a use
{code:java}
@Embedded
private Address address;
{code}
If the embeddable entity had getters and setters, this would have correctly generated an
embedded CRUD, however, as it was public fields it didn't.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira