[JBoss JIRA] Created: (GTNPORTAL-1720) Rename the confusing methods setFullRender/getFullRender in PortalRequestHandler
by Minh Hoang TO (JIRA)
Rename the confusing methods setFullRender/getFullRender in PortalRequestHandler
---------------------------------------------------------------------------------
Key: GTNPORTAL-1720
URL: https://jira.jboss.org/browse/GTNPORTAL-1720
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Minh Hoang TO
{code:java}
/**
* Sets a boolean value to force whether portal will be fully rendered
* and it is only effective to an Ajax request.<p/>
*
* if the value is set to <code>true</code>, it means :<br/>
*
* 1) Only portal ui components are rendered <br/>
* 2) Portlets will be fully rendered if are inner of the portal ui components being updated
*
* @param forceFullUpdate
*/
final public void setFullRender(boolean forceFullUpdate)
{
this.forceFullUpdate = forceFullUpdate;
}
{code}
As mentioned in the Javadoc, while AJAX update is used, the forceFullUpdate decide whether only component of portal (ie: The components outside portlet window UIPortlet such as UIMaskWorkspace, UIWorkingWorkspace,...)
The name of method is very confusing. If we wish to update only components of portal, we have to call setFullRender(true) (I'm sure that most developers think of setFullRender(false) )
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (GTNPORTAL-2007) Wrong merged JS after undeploy JS module in JavascriptConfigService
by Khoi Nguyen (JIRA)
Wrong merged JS after undeploy JS module in JavascriptConfigService
-------------------------------------------------------------------
Key: GTNPORTAL-2007
URL: https://issues.jboss.org/browse/GTNPORTAL-2007
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Khoi Nguyen
Assignee: Khoi Nguyen
Fix For: 3.2.0-M02
1) After undeploy WebApp --> need to remove corresponding JS modules, and refresh merged JS, but JavascriptConfigService.getMergedJavascript() still return "old" string. And extended JS modules are not merged in refeshMergedJavascript method of the service, lastModified time should be reset also
2) After the first call to getMergedJavascript method. Can't deploy more "normal" JS modules or "extended" JS module
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months