[JBoss JIRA] (FORGE-1787) When scaffolding with --webRoot parameter, pageTemplate.xhtml and search.xhtml are not right
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1787?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1787:
--------------------------------------
Fix Version/s: 2.6.1.Final
(was: 2.6.0.Final)
> 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
> Assignee: Ivan St. Ivanov
> Priority: Blocker
> Fix For: 2.6.1.Final
>
>
> 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, 6 months
[JBoss JIRA] (FORGE-1851) scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1851?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1851.
----------------------------------
> scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
> ----------------------------------------------------------------------------------------------------
>
> Key: FORGE-1851
> URL: https://issues.jboss.org/browse/FORGE-1851
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 2.5.1.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 2.5.1.Final
>
>
> Gist https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
> This occurs when you type the following commands :
> {code}
> [Devoxx]$ project-new --named cdbookstore --topLevelPackage org.agoncal.cdbookstore --type war --finalName cdbookstore ;
> [cdbookstore]$ jpa-generate-entities-from-tables --jdbcUrl jdbc:postgresql://localhost:5432/postgres --userName postgres --userPassword postgres --driverLocation /Users/antoniombp/.m2/repository/org/postgresql/postgresql/9.3-1100-jdbc3/postgresql-9.3-1100-jdbc3.jar --hibernateDialect PostgreSQL\ :\ org.hibernate.dialect.PostgreSQLDialect ;
> [cdbookstore]$ scaffold-setup ;
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> {code}
> The code completion for command {{scaffold-generate}} only brings the {{--provider}} and {{--webRoot}} options. Only if you fill them that {{--targets}} is shown :
> {code}
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> [cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
> --targets --pageTemplate
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1035) Add Codestyle project to Forge Core
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1035?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1035:
-----------------------------------
Issue Type: Task (was: Feature Request)
> Add Codestyle project to Forge Core
> -----------------------------------
>
> Key: FORGE-1035
> URL: https://issues.jboss.org/browse/FORGE-1035
> Project: Forge
> Issue Type: Task
> Components: Forge Build, Usability
> Reporter: Lennart Jörelid
> Assignee: Lennart Jörelid
> Fix For: 1.x Future, 2.x Future
>
>
> Add a Codestyle project to the Forge Core repository.
> The Codestyle project should hold
> # Maven plugin configuration (Checkstyle or PMD or Findbugs, for example)
> # IDE codestyle configuration (for Eclipse, IntelliJ IDEA and optionally others)
> # License texts (for use by licence plugins) if necessary
> # Maven Enforcer rules
> A similar example of a Codestyle project can be seen in the Codestyle project
> found under the documentation link in https://bitbucket.org/lennartj/nazgul_tools/wiki/Home
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1035) Add Codestyle project to Forge Core
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1035?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1035:
-----------------------------------
Issue Type: Feature Request (was: Enhancement)
> Add Codestyle project to Forge Core
> -----------------------------------
>
> Key: FORGE-1035
> URL: https://issues.jboss.org/browse/FORGE-1035
> Project: Forge
> Issue Type: Feature Request
> Components: Forge Build, Usability
> Reporter: Lennart Jörelid
> Assignee: Lennart Jörelid
> Fix For: 1.x Future, 2.x Future
>
>
> Add a Codestyle project to the Forge Core repository.
> The Codestyle project should hold
> # Maven plugin configuration (Checkstyle or PMD or Findbugs, for example)
> # IDE codestyle configuration (for Eclipse, IntelliJ IDEA and optionally others)
> # License texts (for use by licence plugins) if necessary
> # Maven Enforcer rules
> A similar example of a Codestyle project can be seen in the Codestyle project
> found under the documentation link in https://bitbucket.org/lennartj/nazgul_tools/wiki/Home
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1851) scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-1851?page=com.atlassian.jira.plugin... ]
Vineet Reynolds resolved FORGE-1851.
------------------------------------
Assignee: Vineet Reynolds
Fix Version/s: 2.5.1.Final
Resolution: Done
Resolved in commit: https://github.com/forge/core/commit/ba9d0c9d24acae50980970673469f37f39e5...
The isSetup invocation did not set the Project instance for the scaffold provider, thus causing an NPE and preventing Aesh from obtaining a complete list of navigation result entries to use for populating the autocomplete list.
> scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
> ----------------------------------------------------------------------------------------------------
>
> Key: FORGE-1851
> URL: https://issues.jboss.org/browse/FORGE-1851
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 2.5.1.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 2.5.1.Final
>
>
> Gist https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
> This occurs when you type the following commands :
> {code}
> [Devoxx]$ project-new --named cdbookstore --topLevelPackage org.agoncal.cdbookstore --type war --finalName cdbookstore ;
> [cdbookstore]$ jpa-generate-entities-from-tables --jdbcUrl jdbc:postgresql://localhost:5432/postgres --userName postgres --userPassword postgres --driverLocation /Users/antoniombp/.m2/repository/org/postgresql/postgresql/9.3-1100-jdbc3/postgresql-9.3-1100-jdbc3.jar --hibernateDialect PostgreSQL\ :\ org.hibernate.dialect.PostgreSQLDialect ;
> [cdbookstore]$ scaffold-setup ;
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> {code}
> The code completion for command {{scaffold-generate}} only brings the {{--provider}} and {{--webRoot}} options. Only if you fill them that {{--targets}} is shown :
> {code}
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> [cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
> --targets --pageTemplate
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1851) scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-1851?page=com.atlassian.jira.plugin... ]
Vineet Reynolds updated FORGE-1851:
-----------------------------------
Affects Version/s: 2.5.1.Final
(was: 2.5.0.Final)
> scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
> ----------------------------------------------------------------------------------------------------
>
> Key: FORGE-1851
> URL: https://issues.jboss.org/browse/FORGE-1851
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 2.5.1.Final
> Reporter: Vineet Reynolds
>
> Gist https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
> This occurs when you type the following commands :
> {code}
> [Devoxx]$ project-new --named cdbookstore --topLevelPackage org.agoncal.cdbookstore --type war --finalName cdbookstore ;
> [cdbookstore]$ jpa-generate-entities-from-tables --jdbcUrl jdbc:postgresql://localhost:5432/postgres --userName postgres --userPassword postgres --driverLocation /Users/antoniombp/.m2/repository/org/postgresql/postgresql/9.3-1100-jdbc3/postgresql-9.3-1100-jdbc3.jar --hibernateDialect PostgreSQL\ :\ org.hibernate.dialect.PostgreSQLDialect ;
> [cdbookstore]$ scaffold-setup ;
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> {code}
> The code completion for command {{scaffold-generate}} only brings the {{--provider}} and {{--webRoot}} options. Only if you fill them that {{--targets}} is shown :
> {code}
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> [cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
> --targets --pageTemplate
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1851) scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1851?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1851:
-------------------------------------
Description:
Gist https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
This occurs when you type the following commands :
{code}
[Devoxx]$ project-new --named cdbookstore --topLevelPackage org.agoncal.cdbookstore --type war --finalName cdbookstore ;
[cdbookstore]$ jpa-generate-entities-from-tables --jdbcUrl jdbc:postgresql://localhost:5432/postgres --userName postgres --userPassword postgres --driverLocation /Users/antoniombp/.m2/repository/org/postgresql/postgresql/9.3-1100-jdbc3/postgresql-9.3-1100-jdbc3.jar --hibernateDialect PostgreSQL\ :\ org.hibernate.dialect.PostgreSQLDialect ;
[cdbookstore]$ scaffold-setup ;
[cdbookstore]$ scaffold-generate -- TAB
--provider --webRoot
{code}
The code completion for command {{scaffold-generate}} only brings the {{--provider}} and {{--webRoot}} options. Only if you fill them that {{--targets}} is shown :
{code}
[cdbookstore]$ scaffold-generate -- TAB
--provider --webRoot
[cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
--targets --pageTemplate
{code}
was:Gist https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
> scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.
> ----------------------------------------------------------------------------------------------------
>
> Key: FORGE-1851
> URL: https://issues.jboss.org/browse/FORGE-1851
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 2.5.0.Final
> Reporter: Vineet Reynolds
>
> Gist https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
> This occurs when you type the following commands :
> {code}
> [Devoxx]$ project-new --named cdbookstore --topLevelPackage org.agoncal.cdbookstore --type war --finalName cdbookstore ;
> [cdbookstore]$ jpa-generate-entities-from-tables --jdbcUrl jdbc:postgresql://localhost:5432/postgres --userName postgres --userPassword postgres --driverLocation /Users/antoniombp/.m2/repository/org/postgresql/postgresql/9.3-1100-jdbc3/postgresql-9.3-1100-jdbc3.jar --hibernateDialect PostgreSQL\ :\ org.hibernate.dialect.PostgreSQLDialect ;
> [cdbookstore]$ scaffold-setup ;
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> {code}
> The code completion for command {{scaffold-generate}} only brings the {{--provider}} and {{--webRoot}} options. Only if you fill them that {{--targets}} is shown :
> {code}
> [cdbookstore]$ scaffold-generate -- TAB
> --provider --webRoot
> [cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
> --targets --pageTemplate
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1848) IDE loose defaultValue on dependent field update
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1848?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1848:
-------------------------------------------
This should be resolved.. if you check logs I'm guessing you'll find that parser-java was not starting. Turns out this is a bug in CDI where it does not like anonymous classes in types that can't be classloaded... fixed the offending file, need to file a bug with weld to prevent in future.
> IDE loose defaultValue on dependent field update
> ------------------------------------------------
>
> Key: FORGE-1848
> URL: https://issues.jboss.org/browse/FORGE-1848
> Project: Forge
> Issue Type: Bug
> Components: UI - Eclipse
> Reporter: Aslak Knutsen
>
> Setup:
> 2 DropDown lists, where the second DropDown's value depend on the value of the first DropDown.
> Steps:
> 1. Select a value from DropDown 1
> 2. DropDown 2 now has the defaultValue selected
> 3. Select a new value from DropDown 1
> Step 4 - Expected:
> DropDown 2 should now have the new defaultValue selected
> Step 4 - Behavior:
> DropDown 2's valueChoices are updated, but no defaultSelection is done
> Example command:
> https://github.com/aslakknutsen/plugin-arquillian/blob/8e3dfd162126cada80...
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months