]
George Gastaldi updated FORGE-1879:
-----------------------------------
Priority: Blocker (was: Major)
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
Assignee: Antonio Goncalves
Priority: Blocker
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)