Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0.0.Final
    • Fix Version/s: 2.6.0.Final
    • Component/s: Scaffold
    • Labels:
      None

      Description

      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 {
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  agoncal Antonio Goncalves
                  Reporter:
                  agoncal Antonio Goncalves
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: