[JBoss JIRA] (FORGE-1788) DOT generation should be part of the release process
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1788:
--------------------------------------
Summary: DOT generation should be part of the release process
Key: FORGE-1788
URL: https://issues.jboss.org/browse/FORGE-1788
Project: Forge
Issue Type: Enhancement
Components: Maven
Affects Versions: 2.5.0.Final
Reporter: George Gastaldi
Fix For: 2.x Future
The furnace-maven-plugin DOT generation is not used at all during an addon development. We should move it to a release profile.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (FORGE-1780) "Addon: New UI Command" should default commandName based on type name camelcase
by Daniel Cunha (JIRA)
[ https://issues.jboss.org/browse/FORGE-1780?page=com.atlassian.jira.plugin... ]
Daniel Cunha commented on FORGE-1780:
-------------------------------------
Sorry, the NewUICommandWizard doesn't use Strings of the roaster.
But, I created the UIString into util package of the ui-api module.
> "Addon: New UI Command" should default commandName based on type name camelcase
> -------------------------------------------------------------------------------
>
> Key: FORGE-1780
> URL: https://issues.jboss.org/browse/FORGE-1780
> Project: Forge
> Issue Type: Enhancement
> Components: Addon Development, Builtin Plugins
> Affects Versions: 2.5.0.Final
> Reporter: Lincoln Baxter III
> Assignee: Daniel Cunha
> Labels: starter
> Fix For: 2.x Future
>
>
> addon-new-ui-command --named TechNewPropertyCommand --commandName xxxxxxx
> This should be the default commandName value for this scenario:
> addon-new-ui-command --named TechNewPropertyCommand --commandName tech-new-property
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (FORGE-1780) "Addon: New UI Command" should default commandName based on type name camelcase
by Daniel Cunha (JIRA)
[ https://issues.jboss.org/browse/FORGE-1780?page=com.atlassian.jira.plugin... ]
Daniel Cunha commented on FORGE-1780:
-------------------------------------
I saw that NewUICommandWizard class use the Strings of the roaster.
I created the method there. :-)
> "Addon: New UI Command" should default commandName based on type name camelcase
> -------------------------------------------------------------------------------
>
> Key: FORGE-1780
> URL: https://issues.jboss.org/browse/FORGE-1780
> Project: Forge
> Issue Type: Enhancement
> Components: Addon Development, Builtin Plugins
> Affects Versions: 2.5.0.Final
> Reporter: Lincoln Baxter III
> Assignee: Daniel Cunha
> Labels: starter
> Fix For: 2.x Future
>
>
> addon-new-ui-command --named TechNewPropertyCommand --commandName xxxxxxx
> This should be the default commandName value for this scenario:
> addon-new-ui-command --named TechNewPropertyCommand --commandName tech-new-property
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (FORGE-1780) "Addon: New UI Command" should default commandName based on type name camelcase
by Daniel Cunha (JIRA)
[ https://issues.jboss.org/browse/FORGE-1780?page=com.atlassian.jira.plugin... ]
Daniel Cunha commented on FORGE-1780:
-------------------------------------
Hi,
I did this issue, but I have a problem.
I created a method to do this task, but I don't know where put my code, into Strings class of the roaster or furnace.
What the better place?
> "Addon: New UI Command" should default commandName based on type name camelcase
> -------------------------------------------------------------------------------
>
> Key: FORGE-1780
> URL: https://issues.jboss.org/browse/FORGE-1780
> Project: Forge
> Issue Type: Enhancement
> Components: Addon Development, Builtin Plugins
> Affects Versions: 2.5.0.Final
> Reporter: Lincoln Baxter III
> Labels: starter
> Fix For: 2.x Future
>
>
> addon-new-ui-command --named TechNewPropertyCommand --commandName xxxxxxx
> This should be the default commandName value for this scenario:
> addon-new-ui-command --named TechNewPropertyCommand --commandName tech-new-property
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (FORGE-1787) When scaffolding with --webRoot parameter, pageTemplate.xhtml and search.xhtml are not right
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1787?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1787:
-------------------------------------
Description:
When scaffolding a JSF application, without using a {{--webRoot}} parameter, the navigation in the {{pageTemplate.xhtml}} works as expected :
{code}
scaffold-setup ;
scaffold-generate --targets org.agoncal.training.javaee6adv.model.Author ;
scaffold-generate --targets org.agoncal.training.javaee6adv.model.CD ;
{code}
The template navigation looks like :
{code}
<ul>
<li>
<h:link outcome="/CD/search" value="CD"/>
</li>
<li>
<h:link outcome="/author/search" value="Author"/>
</li>
</ul>
{code}
But if I specify the {{--webRoot}} parameter, then the navigation does not work as there is a {{/}} missing :
{code}
scaffold-setup ;
scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.Author ;
scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.CD ;
{code}
The template :
{code}
<ul>
<li>
<h:link outcome="admin/CD/search" value="CD"/>
</li>
<li>
<h:link outcome="admin/author/search" value="Author"/>
</li>
</ul>
{code}
The correct navigation would be :
{code}
<ul>
<li>
<h:link outcome="/admin/CD/search" value="CD"/>
</li>
<li>
<h:link outcome="/admin/author/search" value="Author"/>
</li>
</ul>
{code}
The only way to make it work is to add a {{/}} to the {{webroot}}, which is not very intuitive :
{code}
scaffold-setup ;
scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.Author ;
scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.CD ;
{code}
But this trick doesn't work for the {{search.xhtml}} page. The generated code is :
{code}
<h:link outcome="/genre/view">
<f:param name="id" value="#{_item.id}"/>
<h:outputText id="itemName" value="#{_item.name}"/>
</h:link>
{code}
The {{outcome}} is not right, and should contain a {{/admin}}
{code}
<h:link outcome="/admin/genre/view">
<f:param name="id" value="#{_item.id}"/>
<h:outputText id="itemName" value="#{_item.name}"/>
</h:link>
{code}
was:
When scaffolding a JSF application, without using a {{--webRoot}} parameter, the navigation in the {{pageTemplate.xhtml}} works as expected :
{code}
scaffold-setup ;
scaffold-generate --targets org.agoncal.training.javaee6adv.model.Author ;
scaffold-generate --targets org.agoncal.training.javaee6adv.model.CD ;
{code}
The template navigation looks like :
{code}
<ul>
<li>
<h:link outcome="/CD/search" value="CD"/>
</li>
<li>
<h:link outcome="/author/search" value="Author"/>
</li>
</ul>
{code}
But if I specify the {{--webRoot}} parameter, then the navigation does not work as there is a {{/}} missing :
{code}
scaffold-setup ;
scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.Author ;
scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.CD ;
{code}
The template :
{code}
<ul>
<li>
<h:link outcome="admin/CD/search" value="CD"/>
</li>
<li>
<h:link outcome="admin/author/search" value="Author"/>
</li>
</ul>
{code}
The correct navigation would be :
{code}
<ul>
<li>
<h:link outcome="/admin/CD/search" value="CD"/>
</li>
<li>
<h:link outcome="/admin/author/search" value="Author"/>
</li>
</ul>
{code}
The only way to make it work is to add a {{/}} to the {{webroot}}, which is not very intuitive :
{code}
scaffold-setup ;
scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.Author ;
scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.CD ;
{code}
> When scaffolding with --webRoot parameter, pageTemplate.xhtml and search.xhtml are not right
> --------------------------------------------------------------------------------------------
>
> Key: FORGE-1787
> URL: https://issues.jboss.org/browse/FORGE-1787
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Priority: Blocker
>
> When scaffolding a JSF application, without using a {{--webRoot}} parameter, the navigation in the {{pageTemplate.xhtml}} works as expected :
> {code}
> scaffold-setup ;
> scaffold-generate --targets org.agoncal.training.javaee6adv.model.Author ;
> scaffold-generate --targets org.agoncal.training.javaee6adv.model.CD ;
> {code}
> The template navigation looks like :
> {code}
> <ul>
> <li>
> <h:link outcome="/CD/search" value="CD"/>
> </li>
> <li>
> <h:link outcome="/author/search" value="Author"/>
> </li>
> </ul>
> {code}
> But if I specify the {{--webRoot}} parameter, then the navigation does not work as there is a {{/}} missing :
> {code}
> scaffold-setup ;
> scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.Author ;
> scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.CD ;
> {code}
> The template :
> {code}
> <ul>
> <li>
> <h:link outcome="admin/CD/search" value="CD"/>
> </li>
> <li>
> <h:link outcome="admin/author/search" value="Author"/>
> </li>
> </ul>
> {code}
> The correct navigation would be :
> {code}
> <ul>
> <li>
> <h:link outcome="/admin/CD/search" value="CD"/>
> </li>
> <li>
> <h:link outcome="/admin/author/search" value="Author"/>
> </li>
> </ul>
> {code}
> The only way to make it work is to add a {{/}} to the {{webroot}}, which is not very intuitive :
> {code}
> scaffold-setup ;
> scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.Author ;
> scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.CD ;
> {code}
> But this trick doesn't work for the {{search.xhtml}} page. The generated code is :
> {code}
> <h:link outcome="/genre/view">
> <f:param name="id" value="#{_item.id}"/>
> <h:outputText id="itemName" value="#{_item.name}"/>
> </h:link>
> {code}
> The {{outcome}} is not right, and should contain a {{/admin}}
> {code}
> <h:link outcome="/admin/genre/view">
> <f:param name="id" value="#{_item.id}"/>
> <h:outputText id="itemName" value="#{_item.name}"/>
> </h:link>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (FORGE-1787) When scaffolding with --webRoot parameter, pageTemplate.xhtml and search.xhtml are not right
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1787?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1787:
-------------------------------------
Summary: When scaffolding with --webRoot parameter, pageTemplate.xhtml and search.xhtml are not right (was: When scaffolding with --webRoot parameter, pageTemplate.xhtml is not right)
> When scaffolding with --webRoot parameter, pageTemplate.xhtml and search.xhtml are not right
> --------------------------------------------------------------------------------------------
>
> Key: FORGE-1787
> URL: https://issues.jboss.org/browse/FORGE-1787
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Priority: Blocker
>
> When scaffolding a JSF application, without using a {{--webRoot}} parameter, the navigation in the {{pageTemplate.xhtml}} works as expected :
> {code}
> scaffold-setup ;
> scaffold-generate --targets org.agoncal.training.javaee6adv.model.Author ;
> scaffold-generate --targets org.agoncal.training.javaee6adv.model.CD ;
> {code}
> The template navigation looks like :
> {code}
> <ul>
> <li>
> <h:link outcome="/CD/search" value="CD"/>
> </li>
> <li>
> <h:link outcome="/author/search" value="Author"/>
> </li>
> </ul>
> {code}
> But if I specify the {{--webRoot}} parameter, then the navigation does not work as there is a {{/}} missing :
> {code}
> scaffold-setup ;
> scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.Author ;
> scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.model.CD ;
> {code}
> The template :
> {code}
> <ul>
> <li>
> <h:link outcome="admin/CD/search" value="CD"/>
> </li>
> <li>
> <h:link outcome="admin/author/search" value="Author"/>
> </li>
> </ul>
> {code}
> The correct navigation would be :
> {code}
> <ul>
> <li>
> <h:link outcome="/admin/CD/search" value="CD"/>
> </li>
> <li>
> <h:link outcome="/admin/author/search" value="Author"/>
> </li>
> </ul>
> {code}
> The only way to make it work is to add a {{/}} to the {{webroot}}, which is not very intuitive :
> {code}
> scaffold-setup ;
> scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.Author ;
> scaffold-generate --webRoot /admin --targets org.agoncal.training.javaee6adv.model.CD ;
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months