[gatein-issues] [JBoss JIRA] (GTNPORTAL-1720) Rename the confusing methods setFullRender/getFullRender in PortalRequestHandler

Khoi Nguyen (Updated) (JIRA) jira-events at lists.jboss.org
Wed Oct 26 00:50:45 EDT 2011


     [ https://issues.jboss.org/browse/GTNPORTAL-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Khoi Nguyen updated GTNPORTAL-1720:
-----------------------------------

    Labels: portal-s45 synced  (was: portal-s45)

    
> Rename the confusing methods setFullRender/getFullRender  in PortalRequestHandler
> ---------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-1720
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-1720
>             Project: GateIn Portal
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Minh Hoang TO
>            Assignee: Minh Hoang TO
>              Labels: portal-s45, synced
>             Fix For: 3.2.0-M01
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> {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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list