You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2006/05/23 15:45:30 UTC
[jira] Updated: (ADFFACES-12) af:tree Need better error message for
missing form tag
[ http://issues.apache.org/jira/browse/ADFFACES-12?page=all ]
Adam Winer updated ADFFACES-12:
-------------------------------
Summary: af:tree Need better error message for missing form tag (was: Need better error message for missing form tag)
Assign To: Adam Winer
Most components should do this correctly already; af:tree is an exception, and is what is covered here.
> 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