[forge-issues] [JBoss JIRA] (FORGE-1879) Missing a setter in the generated JSF Backing Bean
Antonio Goncalves (JIRA)
issues at jboss.org
Sun Jun 15 17:29:24 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Goncalves updated FORGE-1879:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/forge/core/pull/473
> 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
> 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