[JBoss JIRA] (FORGE-2368) Being able to create a new JSF Template
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2368:
----------------------------------------
Summary: Being able to create a new JSF Template
Key: FORGE-2368
URL: https://issues.jboss.org/browse/FORGE-2368
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.16.2.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
At the moment the only JSF template that is generated is through scaffolding. It would be good to have a command to create a template such as :
{code}
faces-new-template --named mytemplate
{code}
This will create a mytemplate.xhtml under the {{resources}} webapp directory. You could also give a different directory with :
{code}
faces-new-template --named mytemplate --targetDirectory admin
{code}
This will create the page under webapp/resources/admin/mytemplate.xhtml.
{code}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<title>#{empty pageTitle ? 'Page Title' : pageTitle}</title>
</h:head>
<h:body>
<ui:debug rendered="#{facesContext.application.projectStage == 'Development'}" />
<div id="content">
<h1>
<ui:insert name="header" />
</h1>
<h2>
<ui:insert name="subheader" />
</h2>
<ui:insert name="main" />
</div>
</div>
<footer>
<p>Powered by <a href="http://jboss.org/forge">Forge</a></p>
</footer>
</h:body>
</html>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
[JBoss JIRA] (FORGE-1436) Implement 'help' command as a source of general guidance and flow control
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1436?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1436:
-------------------------------------
Parent Issue: FORGE-1926 (was: FORGE-1433)
> Implement 'help' command as a source of general guidance and flow control
> -------------------------------------------------------------------------
>
> Key: FORGE-1436
> URL: https://issues.jboss.org/browse/FORGE-1436
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> I find this one usefull and it could even add more content (such as mentioning the {{man}} command...
> {code}
> [no project] Forge $ help
> Welcome to JBoss Forge, a next-generation interactive Shell and project-generation tool. If you find yourself lost, or uncertain how to complete an operation, you may press the <TAB> key for command-completion, or <TAB><TAB> for hints while typing a command.
> Type 'list-commands' for a list of available commands in the current Resource context.
> You are not working on a project. Type 'help new-project' to get started.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
[JBoss JIRA] (FORGE-2194) Generated JAX-RS endpoing code from entities is wrong for primitive types
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2194?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2194.
----------------------------------
Fix Version/s: 2.17.0.Final
(was: 2.x Future)
Resolution: Done
> Generated JAX-RS endpoing code from entities is wrong for primitive types
> -------------------------------------------------------------------------
>
> Key: FORGE-2194
> URL: https://issues.jboss.org/browse/FORGE-2194
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.13.0.Final
> Reporter: Marián Labuda
> Assignee: George Gastaldi
> Fix For: 2.17.0.Final
>
>
> I used forge to generate JAX-RS endpoints from Entities (those were created by reversed engineering from H2 database). Entity contains primitive long type for ID. In generated JAX-RS endpoint there is a method update which looks like this
> {code}public Response update(@PathParam("id") long id, ConferenceDTO dto){code}
> even though there is a primitive long ID as parameter, the method generate this code
> {code} (!id.equals(dto.getId())){code} which is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
[JBoss JIRA] (FORGE-2194) Generated JAX-RS endpoing code from entities is wrong for primitive types
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2194?page=com.atlassian.jira.plugin... ]
George Gastaldi reassigned FORGE-2194:
--------------------------------------
Assignee: George Gastaldi (was: Vineet Reynolds)
> Generated JAX-RS endpoing code from entities is wrong for primitive types
> -------------------------------------------------------------------------
>
> Key: FORGE-2194
> URL: https://issues.jboss.org/browse/FORGE-2194
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.13.0.Final
> Reporter: Marián Labuda
> Assignee: George Gastaldi
> Fix For: 2.x Future
>
>
> I used forge to generate JAX-RS endpoints from Entities (those were created by reversed engineering from H2 database). Entity contains primitive long type for ID. In generated JAX-RS endpoint there is a method update which looks like this
> {code}public Response update(@PathParam("id") long id, ConferenceDTO dto){code}
> even though there is a primitive long ID as parameter, the method generate this code
> {code} (!id.equals(dto.getId())){code} which is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
[JBoss JIRA] (FORGE-2367) StackOverflowError in UI
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2367?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2367:
----------------------------------------
The Netbeans Plugin portal is now updated, enjoy! :)
> StackOverflowError in UI
> ------------------------
>
> Key: FORGE-2367
> URL: https://issues.jboss.org/browse/FORGE-2367
> Project: Forge
> Issue Type: Bug
> Components: UI - NetBeans
> Affects Versions: 2.16.2.Final
> Environment: Ubuntu Linux 14.04
> JDK 8u25
> NetBeans 8.0.2
> Reporter: Leonardo Zanivan
> Assignee: George Gastaldi
> Attachments: arquillian-setup.png, stackoverflow.txt
>
>
> I'm trying to use Arquillian Setup command inside NetBeans IDE and i'm getting a StackOverflowError in JBoss Forge after choosing the test framework (JUnit or TestNG).
> I've tried in the command line and it works fine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
[JBoss JIRA] (FORGE-2367) StackOverflowError in UI
by Leonardo Zanivan (JIRA)
[ https://issues.jboss.org/browse/FORGE-2367?page=com.atlassian.jira.plugin... ]
Leonardo Zanivan commented on FORGE-2367:
-----------------------------------------
thanks [~gastaldi]
> StackOverflowError in UI
> ------------------------
>
> Key: FORGE-2367
> URL: https://issues.jboss.org/browse/FORGE-2367
> Project: Forge
> Issue Type: Bug
> Components: UI - NetBeans
> Affects Versions: 2.16.2.Final
> Environment: Ubuntu Linux 14.04
> JDK 8u25
> NetBeans 8.0.2
> Reporter: Leonardo Zanivan
> Assignee: George Gastaldi
> Attachments: arquillian-setup.png, stackoverflow.txt
>
>
> I'm trying to use Arquillian Setup command inside NetBeans IDE and i'm getting a StackOverflowError in JBoss Forge after choosing the test framework (JUnit or TestNG).
> I've tried in the command line and it works fine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
[JBoss JIRA] (FORGE-2367) StackOverflowError in UI
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2367?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2367.
----------------------------------
Resolution: Done
Fixed on 1.0.9.Final. Thank you!
> StackOverflowError in UI
> ------------------------
>
> Key: FORGE-2367
> URL: https://issues.jboss.org/browse/FORGE-2367
> Project: Forge
> Issue Type: Bug
> Components: UI - NetBeans
> Affects Versions: 2.16.2.Final
> Environment: Ubuntu Linux 14.04
> JDK 8u25
> NetBeans 8.0.2
> Reporter: Leonardo Zanivan
> Assignee: George Gastaldi
> Attachments: arquillian-setup.png, stackoverflow.txt
>
>
> I'm trying to use Arquillian Setup command inside NetBeans IDE and i'm getting a StackOverflowError in JBoss Forge after choosing the test framework (JUnit or TestNG).
> I've tried in the command line and it works fine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months