Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1593 Being able to create our own JSF artifacts
  3. FORGE-1595

Being able to create an empty JSF backing bean

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Minor Minor
    • 2.6.0.Final
    • 2.0.0.Final
    • Scaffold
    • 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 {
      }
      

              agoncal Antonio Goncalves (Inactive)
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: