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

Reply via email to