From issues at jboss.org Sat Feb 22 13:07:48 2014 Content-Type: multipart/mixed; boundary="===============1211321337798524036==" MIME-Version: 1.0 From: Antonio Goncalves (JIRA) To: forge-issues at lists.jboss.org Subject: [forge-issues] [JBoss JIRA] (FORGE-1594) Being able to create an empty JSF page Date: Sat, 22 Feb 2014 13:07:48 -0500 Message-ID: In-Reply-To: JIRA.12533019.1393092453261@jira02.app.mwc.hst.phx2.redhat.com --===============1211321337798524036== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Antonio Goncalves created FORGE-1594: ---------------------------------------- Summary: Being able to create an empty JSF page Key: FORGE-1594 URL: https://issues.jboss.org/browse/FORGE-1594 Project: Forge Issue Type: Sub-task Components: Scaffold Affects Versions: 2.0.0.Final Reporter: Antonio Goncalves Priority: Minor Fix For: 2.x Future At the moment the only way to generate JSF pages is with scaffolding. When = you create an application, you realize that these scaffolded pages are not = enough and that you need to create new ones. To save time and help the deve= loper in creating new pages, it would be good to have a command such : {code} faces-new-page --named mypage {code} This will create a mypage.xhtml on the root of the webapp directory. You co= uld also give a different directory with : {code} faces-new-page --named mypage --targetDirectory admin {code} This will create the page under webapp/admin/mypage.xhtml. = {code} mypage mypage {code} The name of the page {{mypage}} is used for the title, header, subheader. B= ut we could customize this using optional attributes for title, header, sub= header : {code} faces-new-page --named mypage --targetDirectory admin --title Administratio= n Page --header Admin Header --subheader Admin Sub Header {code} It would just create a minimum JSF page such as : {code} Admin Header Admin Sub Header {code} PS : I'm on holidays skiing, and the internet connection is really bad. So = I could search for similar JIRAs if they existed -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --===============1211321337798524036==--