-
Sub-task
-
Resolution: Done
-
Minor
-
2.0.0.Final
-
None
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 :
faces-new-bean --named MyBean
This will create a MyBean, with no scope, under the view package. You could also give a different sub-package with :
faces-new-page --named MyBean --targetPackage view.admin
This will create the page under view/admin/MyBean.java.
@Named public class MyBean { }
- relates to
-
FORGE-1792 Add scopes to a the faces-new-bean command
- Closed