[
https://jira.jboss.org/browse/GTNPORTAL-1720?page=com.atlassian.jira.plug...
]
Minh Hoang TO updated GTNPORTAL-1720:
-------------------------------------
Description:
{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 decides
whether only components of portal (ie: The components outside portlet window UIPortlet
such as UIMaskWorkspace, UIWorkingWorkspace,...) are updated by AJAX
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) )
was:
{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) )
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 decides
whether only components of portal (ie: The components outside portlet window UIPortlet
such as UIMaskWorkspace, UIWorkingWorkspace,...) are updated by AJAX
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