[forge-issues] [JBoss JIRA] (FORGE-1595) Being able to create an empty JSF backing bean

George Gastaldi (JIRA) issues at jboss.org
Thu May 8 11:55:56 EDT 2014


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

George Gastaldi updated FORGE-1595:
-----------------------------------

           Status: Closed  (was: Pull Request Sent)
    Fix Version/s: 2.5.1.Final
                       (was: 2.x Future)
       Resolution: Done


> Being able to create an empty JSF backing bean
> ----------------------------------------------
>
>                 Key: FORGE-1595
>                 URL: https://issues.jboss.org/browse/FORGE-1595
>             Project: Forge
>          Issue Type: Sub-task
>          Components: Scaffold
>    Affects Versions: 2.0.0.Final
>            Reporter: Antonio Goncalves
>            Assignee: Antonio Goncalves
>            Priority: Minor
>             Fix For: 2.5.1.Final
>
>
> At the moment the only way to generate JSF backing beans is with scaffolding. To save time and help the developer in creating new backing beans, it would be good to have a command such :
> {code}
> faces-new-bean --named MyBean
> {code}
> This will create a {{MyBean}}, with no scope, under the {{view}} package. You could also give a different sub-package with :
> {code}
> faces-new-page --named MyBean --targetPackage view.admin
> {code}
> This will create the page under {{view/admin/MyBean.java}}. 
> {code}
> @Named
> public class MyBean {
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the forge-issues mailing list