[JBoss JIRA] (GTNPORTAL-2581) RichFaces is not defined after adding a RF portlet to a page
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2581?page=com.atlassian.jira.pl... ]
Peter Palaga updated GTNPORTAL-2581:
------------------------------------
Attachment: jsf2-rf4-hello-world-portlet.war
The portlet WAR which allows for omitting steps (2) and (3)
> RichFaces is not defined after adding a RF portlet to a page
> ------------------------------------------------------------
>
> Key: GTNPORTAL-2581
> URL: https://issues.jboss.org/browse/GTNPORTAL-2581
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: GateIn 3.4.0.Final
> Reporter: Peter Palaga
> Attachments: jsf2-rf4-hello-world-portlet.war
>
>
> (1) Start a fresh GateIn 3.4.0.Final:
> cd tmp
> wget http://downloads.jboss.org/gatein/Releases/Portal/3.4.0.Final/GateIn-3.4....
> unzip GateIn-3.4.0.Final-jbossas7.zip
> cd GateIn-3.4.0.Final-jbossas7/bin
> ./standalone.sh
> (2) Install gatein-bom-3.4
> git clone https://github.com/ppalaga/gatein-bom.github
> cd gatein-bom
> mvn install -Dgpg.skip=true
> (3) Pack and deploy jsf2-rf4-hello-world-portlet:
> cd tmp
> git clone https://github.com/ppalaga/gatein-portal-quickstart.git
> cd gatein-portal-quickstart/jsf2-rf4-hello-world-portlet
> mvn package jboss-as:deploy
> (4) In web browser:
> * login as root http://127.0.0.1:8080/portal/login?username=root&password=gtn&initialURI=...
> (5) In web browser:
> * Group > Administration > Application Registry > Import Applications
> * Site > Classic > Home
> * Site Editor > Edit Page
> * Drag jsf2-rf4-hello-world-portlet and drop it e.g. under the Home Page portlet
> * make the console with server log visible to you
> * Open developer tools (F12 in Chrome) and switch to Resources. Have a look at loaded scripts. Note that there are no PBR-related scripts there.
> (6) Hit Finish (Diskette Icon) in Page Editor dialog
> (7) UNEXPECTED: After hitting Finish, there comes a modal message in the browser window saying "RichFaces is not defined".
> * Note that while this message is being displayed, there is no change in the scripts compared to before (5).
> * Note that nothing happened in the server log.
>
> (8) Hit OK in the "RichFaces is not defined" alert.
> * Note that one or more PBR-related scripts were loaded. Some of them have error markers in them
> * Sometimes one or more org.exoplatform.portal.config.NoSuchDataExceptions appear in the server log
>
> The problem seems to be related to the fact that the inline JavaScript needed to render the rich:select component is evaluated before the needed js resources were loaded. After reloading the whole page or accessing the page from another session jsf2-rf4-hello-world-portlet works as expected.
> For further observations, define one more step:
> (9)
> * Site > Classic > Home
> * Site Editor > Edit Page
> * remove jsf2-rf4-hello-world-portlet from the page
> * Hit Finish (Diskette Icon) in Page Editor dialog
> When in the state after (8), one performs (9) and then again (5) and (6), "RichFaces is not defined" does not appear.
> "RichFaces is not defined" appears only when one signs out from the portal and signs in again between (9) and (5) of the previous scenario.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNPORTAL-2581) RichFaces is not defined after adding a RF portlet to a page
by Thomas Heute (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2581?page=com.atlassian.jira.pl... ]
Thomas Heute moved PBR-407 to GTNPORTAL-2581:
---------------------------------------------
Project: GateIn Portal (was: JBoss Portlet Bridge)
Key: GTNPORTAL-2581 (was: PBR-407)
Component/s: (was: RichFaces)
Security: Public
> RichFaces is not defined after adding a RF portlet to a page
> ------------------------------------------------------------
>
> Key: GTNPORTAL-2581
> URL: https://issues.jboss.org/browse/GTNPORTAL-2581
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: GateIn 3.4.0.Final
> Reporter: Peter Palaga
>
> (1) Start a fresh GateIn 3.4.0.Final:
> cd tmp
> wget http://downloads.jboss.org/gatein/Releases/Portal/3.4.0.Final/GateIn-3.4....
> unzip GateIn-3.4.0.Final-jbossas7.zip
> cd GateIn-3.4.0.Final-jbossas7/bin
> ./standalone.sh
> (2) Install gatein-bom-3.4
> git clone https://github.com/ppalaga/gatein-bom.github
> cd gatein-bom
> mvn install -Dgpg.skip=true
> (3) Pack and deploy jsf2-rf4-hello-world-portlet:
> cd tmp
> git clone https://github.com/ppalaga/gatein-portal-quickstart.git
> cd gatein-portal-quickstart/jsf2-rf4-hello-world-portlet
> mvn package jboss-as:deploy
> (4) In web browser:
> * login as root http://127.0.0.1:8080/portal/login?username=root&password=gtn&initialURI=...
> (5) In web browser:
> * Group > Administration > Application Registry > Import Applications
> * Site > Classic > Home
> * Site Editor > Edit Page
> * Drag jsf2-rf4-hello-world-portlet and drop it e.g. under the Home Page portlet
> * make the console with server log visible to you
> * Open developer tools (F12 in Chrome) and switch to Resources. Have a look at loaded scripts. Note that there are no PBR-related scripts there.
> (6) Hit Finish (Diskette Icon) in Page Editor dialog
> (7) UNEXPECTED: After hitting Finish, there comes a modal message in the browser window saying "RichFaces is not defined".
> * Note that while this message is being displayed, there is no change in the scripts compared to before (5).
> * Note that nothing happened in the server log.
>
> (8) Hit OK in the "RichFaces is not defined" alert.
> * Note that one or more PBR-related scripts were loaded. Some of them have error markers in them
> * Sometimes one or more org.exoplatform.portal.config.NoSuchDataExceptions appear in the server log
>
> The problem seems to be related to the fact that the inline JavaScript needed to render the rich:select component is evaluated before the needed js resources were loaded. After reloading the whole page or accessing the page from another session jsf2-rf4-hello-world-portlet works as expected.
> For further observations, define one more step:
> (9)
> * Site > Classic > Home
> * Site Editor > Edit Page
> * remove jsf2-rf4-hello-world-portlet from the page
> * Hit Finish (Diskette Icon) in Page Editor dialog
> When in the state after (8), one performs (9) and then again (5) and (6), "RichFaces is not defined" does not appear.
> "RichFaces is not defined" appears only when one signs out from the portal and signs in again between (9) and (5) of the previous scenario.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNWCI-37) Improve AuthenticationListener/AuthenticationEvent
by Marek Posolda (JIRA)
Marek Posolda created GTNWCI-37:
-----------------------------------
Summary: Improve AuthenticationListener/AuthenticationEvent
Key: GTNWCI-37
URL: https://issues.jboss.org/browse/GTNWCI-37
Project: GateIn Web Container Integration
Issue Type: Enhancement
Affects Versions: 2.3.0.Alpha01
Reporter: Marek Posolda
Priority: Minor
Fix For: 2.3.0.Alpha01
WCI has some AuthenticationListeners, which can react to authentication. It could be nice if:
1) AuthenticationEvent has information about whole credentials (including username, password). Currently it has information only about username but not about password.
2) Event is executed even if authentication is unsuccessful. In this case, we can have some enum AuthenticationStatus { SUCCESS, FAILURE } which will track if authentication was successful or not.
So overally the AuthenticationEvent constructor can look like:
{code}
public AuthenticationEvent(
AuthenticationEventType type, AuthenticationStatus status, HttpServletRequest request, HttpServletResponse response,
Credentials credentials, ServletContainerContext containerContext)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNPORTAL-2557) Publish Earlier Releases
by Fernando Ribeiro (JIRA)
Fernando Ribeiro created GTNPORTAL-2557:
-------------------------------------------
Summary: Publish Earlier Releases
Key: GTNPORTAL-2557
URL: https://issues.jboss.org/browse/GTNPORTAL-2557
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Fernando Ribeiro
The earlier releases of GateIn Portal should be available for download, perhaps in an "Archive" linked from "Downloads", even if they are not maintained anymore, to make it easier for developers who are maintaining older installations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNPORTAL-2572) Native requirejs javascript support for GateIn
by Vu Viet Phuong (JIRA)
Vu Viet Phuong created GTNPORTAL-2572:
-----------------------------------------
Summary: Native requirejs javascript support for GateIn
Key: GTNPORTAL-2572
URL: https://issues.jboss.org/browse/GTNPORTAL-2572
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.4.0.Final
Reporter: Vu Viet Phuong
- GateIn have supported requirejs, we always wrapped "module" js code to make it work transparently with requirejs. But some time, we have js lib that is already wrapped, it doesn't need to be wrapped by GateIn --> we should support this "native" requirejs lib
- Add more examples about amd javascript usage
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNPORTAL-2570) The compilation failed in JDK7
by Trong Tran (JIRA)
Trong Tran created GTNPORTAL-2570:
-------------------------------------
Summary: The compilation failed in JDK7
Key: GTNPORTAL-2570
URL: https://issues.jboss.org/browse/GTNPORTAL-2570
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.4.0.Final
Reporter: Trong Tran
Fix For: 3.5.0.Beta01
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GateIn Portal Component Portal Data 3.5.0.Beta01-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ exo.portal.component.portal ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ exo.portal.component.portal ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ exo.portal.component.portal ---
[INFO] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ exo.portal.component.portal ---
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ exo.portal.component.portal ---
[INFO] Compiling 253 source files to /qa/services/hudson/hudson_workspace/workspace/gatein_portal_trunk_oraclejdk1.7/component/portal/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /qa/services/hudson/hudson_workspace/workspace/gatein_portal_trunk_oraclejdk1.7/component/portal/src/main/java/org/exoplatform/portal/mop/user/UserPortalImpl.java:[374,19] [deprecation] resolvePath(UserNodeFilterConfig,String) in UserPortal has been deprecated
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] About to process the type org.exoplatform.portal.mop.Visible
/qa/services/hudson/hudson_workspace/workspace/gatein_portal_trunk_oraclejdk1.7/component/portal/src/main/java/org/exoplatform/portal/tree/list/ListTree.java:[72,63] error: parent has private access in ListTree
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving /qa/services/hudson/hudson_workspace/workspace/gatein_portal_trunk_oraclejdk1.7/component/portal/pom.xml to /qa/hudson_master/hudson_home/hudson_workspace/jobs/gatein_portal_trunk_oraclejdk1.7/modules/org.exoplatform.portal$exo.portal.component.portal/builds/2012-09-09_15-32-46/archive/org.exoplatform.portal/exo.portal.component.portal/3.5.0.Beta01-SNAPSHOT/exo.portal.component.portal-3.5.0.Beta01-SNAPSHOT.pom
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months