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

Mikhail Vitenkov closed RF-6832.
--------------------------------

    Assignee: Nick Belaevski  (was: Tsikhon Kuprevich)


Verified at 3.3.1.BETA5

> ColumnsHandler swallows exceptions, hides major rendering issues
> ----------------------------------------------------------------
>
>                 Key: RF-6832
>                 URL: https://jira.jboss.org/jira/browse/RF-6832
>             Project: RichFaces
>          Issue Type: Patch
>    Affects Versions: 3.3.1
>            Reporter: Thomas W
>            Assignee: Nick Belaevski
>             Fix For: 3.3.1
>
>
> The // TODO below has send me on a long search on why columns just did not 
> render in the table.... A very simple change to either propagate the 
> exception or log as error that will go a long way....
>   /*
>    * (non-Javadoc)
>    * 
>    * @see 
> org.richfaces.taglib.ComponentHandler#apply(com.sun.facelets.FaceletContext,
>    *      javax.faces.component.UIComponent)
>    */
>   //@Override
>   public void apply(FaceletContext ctx, UIComponent parent)
>   throws IOException, FacesException, ELException {
>  
>    IterationContext iterationContext = new IterationContext();
>    iterationContextLocal.set(iterationContext);
>  
>    clearOldColumns(ctx.getFacesContext(), parent);
>    prepare(ctx);  // prepare data 
>  
>    try {
>     while (hasNext()) {  // for each
>      exposeVariables(ctx);
>      handler.apply(ctx, parent);
>      next(ctx);
>     }
>    } catch (Exception e) {
>     // TODO: handle exception
>    } finally {
>     release();
>     unExposeVariables(ctx);
>    }
>  
>   }
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to