myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sean schofield (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Closed: (MYFACES-231) java.lang.InstantiationException with inputHidden Tag
Date Wed, 25 May 2005 12:54:57 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-231?page=all ]
     
sean schofield closed MYFACES-231:
----------------------------------

     Resolution: Fixed
    Fix Version: Nightly Build

Thanks for the fix Bruno.  Looking at the SVN comments it turns out I introduced this bug
while addressing a separate problem.  I forgot that the base class was abstract (my bad.)

> 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
>     Assignee: sean schofield
>      Fix For: Nightly Build
>  Attachments: HtmlInputHiddenTag_PATCH.txt, myfaces_html_tld_PATCH.txt
>
> 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