You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno Aranda (JIRA)" <de...@myfaces.apache.org> on 2006/01/02 16:19:03 UTC

[jira] Closed: (MYFACES-983) Unnecessary check for UIForm component in ScheduleDetailedDayRenderer

     [ http://issues.apache.org/jira/browse/MYFACES-983?page=all ]
     
Bruno Aranda closed MYFACES-983:
--------------------------------

    Fix Version: Nightly
     Resolution: Fixed

Sounds ok to me... I've fixed that in the svn. Thanks Peter!

> Unnecessary check for UIForm component in ScheduleDetailedDayRenderer
> ---------------------------------------------------------------------
>
>          Key: MYFACES-983
>          URL: http://issues.apache.org/jira/browse/MYFACES-983
>      Project: MyFaces
>         Type: Bug
>     Versions: Nightly
>     Reporter: Peter Mahoney
>     Priority: Minor
>      Fix For: Nightly

>
> ScheduleDetailedDayRenderer includes the lines:
>         UIForm parentForm = getParentForm(schedule);
>         if (parentForm == null)
>         {
>             throw new NullPointerException("No parent UIForm found");
>         }
> However, if the schedule is readonly then the form component is not required e.g. on a printable page.

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