Antonio Goncalves created FORGE-1879:
----------------------------------------
Summary: Missing a setter in the generated JSF Backing Bean
Key: FORGE-1879
URL:
https://issues.jboss.org/browse/FORGE-1879
Project: Forge
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Scaffold
Affects Versions: 2.6.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
Let's say we have a {{Publisher}} entity and we scaffold a JSF app from this entity,
we end up with a backing bean that looks like that :
{code}
@Named
@Stateful
@ConversationScoped
public class PublisherBean implements Serializable {
private Publisher publisher;
public Publisher getPublisher() {
return this.publisher;
}
...
{code}
There is no setter method on {{Publisher}}. It would be great to have one so it's
easier to test a backing bean with Arquillian (we then just set the Publisher)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)