myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Goodin (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-231) java.lang.InstantiationException with inputHidden Tag
Date Thu, 05 May 2005 05:20:06 GMT
java.lang.InstantiationException with inputHidden Tag
-----------------------------------------------------

         Key: MYFACES-231
         URL: http://issues.apache.org/jira/browse/MYFACES-231
     Project: MyFaces
        Type: Bug
    Versions: Nightly Build    
 Environment: Tomcat 5.0, win2k, jdk 1.4.2_06
    Reporter: Brandon Goodin


An abstract class is specified for the inputHidden tag in the myfaces_html.tld and an InstantiationException
is being thrown on the JSP because it cannot instantiate an abstract class.

java.lang.InstantiationException
	at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

--- myfaces_html.tld fragment ---

<!-- input_hidden -->
    <tag>
        <name>inputHidden</name>
        <tag-class>org.apache.myfaces.taglib.html.HtmlInputHiddenTagBase</tag-class>
        <body-content>JSP</body-content>
        &ui_input_attributes;
        <!-- HiddenRenderer attributes -->
    </tag>

The only implementation of the abstract HtmlInputHiddenTagBase that i could find is org.apache.myfaces.taglib.html.ext.HtmlInputHiddenTag.
I am assuming this is suppossed to be specified as the tag-class rather than the HtmlInputHiddenTagBase.

Thanks

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