[richfaces-issues] [JBoss JIRA] Resolved: (RF-6832) ColumnsHandler swallows exceptions, hides major rendering issues
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Thu Apr 16 20:54:22 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-6832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-6832.
--------------------------------
Resolution: Done
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
> 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: Tsikhon Kuprevich
> 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
More information about the richfaces-issues
mailing list