[forge-issues] [JBoss JIRA] (FORGE-1879) Missing a setter in the generated JSF Backing Bean

George Gastaldi (JIRA) issues at jboss.org
Mon Jun 16 00:03:24 EDT 2014


     [ https://issues.jboss.org/browse/FORGE-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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)



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the forge-issues mailing list