incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Closed: (ADFFACES-12) af:tree Need better error message for missing form tag
Date Tue, 23 May 2006 15:52:30 GMT
     [ http://issues.apache.org/jira/browse/ADFFACES-12?page=all ]
     
Adam Winer closed ADFFACES-12:
------------------------------

    Resolution: Fixed

> af:tree Need better error message for missing form tag
> ------------------------------------------------------
>
>          Key: ADFFACES-12
>          URL: http://issues.apache.org/jira/browse/ADFFACES-12
>      Project: MyFaces ADF-Faces
>         Type: Improvement

>     Reporter: Stephen Friedrich
>     Assignee: Adam Winer

>
> When an input component is used, but is not nested inside a <af:form> tag, ADF-Faces
throws a NPE without any hint to the actual mistake.
> This situation should be detected, and an exception with a proper description should
be thrown.
> Little issues like this one can cause hours of work for the beginning user like me or
the other guy on the mailing list who posted this code:
> {code}
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
> <f:view>
>    <af:document>
>        <f:facet name="metaContainer">
>            <f:verbatim>
>                <meta http-equiv="expires" content="0" />
>                <meta http-equiv="pragma" content="no-cache" />
>                <meta http-equiv="cache-control" content="no-cache, must-revalidate"
/>
>            </f:verbatim>
>        </f:facet>
>        <af:tree var="node" value="#{treeModel.model}">
>          
>     <f:facet name="nodeStamp">
>            <af:outputText value="#{node.name}"/>
>      </f:facet>
>        </af:tree>
>    </af:document>
> </f:view>{code}

-- 
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


Mime
View raw message