myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Langer (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-325) gets an ClassCastException on using forceId and forceIdIndex in t:HtmlSelectOneRadio along with Myfaces and facelets
Date Thu, 03 Aug 2006 10:51:15 GMT
    [ http://issues.apache.org/jira/browse/TOMAHAWK-325?page=comments#action_12425490 ] 
            
Alexander Langer commented on TOMAHAWK-325:
-------------------------------------------

Is there a reason you removed the "escape" attribute with this patch, or was it by mistake
when trying to fix the above bug?  All other HtmlSelect*-components still use it.

This is your commit:
http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/ext/HtmlSelectOneRadio.java?r1=351675&r2=354412&pathrev=354412

Maybe you mistakenly removed the EscapeCapable as well when trying to patch the issue above.
 At least now you can't use a non-escaping version of HtmlSelectOneRadio, which is bad.

Please check.









> gets an ClassCastException on using forceId and forceIdIndex  in t:HtmlSelectOneRadio
along with Myfaces and facelets
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-325
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-325
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>         Environment: N/A
>            Reporter: alvin antony
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.2
>
>         Attachments: HtmlComponentUtils.java, HtmlSelectOneRadio.java
>
>
> I get This exception in two places. once on rendering the radio buttons and agian here(org.apache.myfaces.component.html.ext.HtmlSelectOneRadio.validateValue(HtmlSelectOneRadio.java:64))
> here is the error stack trace. 
> java.lang.ClassCastException
> 	at org.apache.myfaces.component.html.ext.HtmlSelectOneRadio.validateValue(HtmlSelectOneRadio.java:64)
> 	at javax.faces.component.UIInput.validate(UIInput.java:269)
> 	at javax.faces.component.UIInput.processValidators(UIInput.java:144)
> 	at javax.faces.component.UIData.process(UIData.java:623)
> 	at javax.faces.component.UIData.processColumnChildren(UIData.java:607)
> 	at javax.faces.component.UIData.processValidators(UIData.java:496)
> 	at org.apache.myfaces.component.html.ext.HtmlDataTableHack.processValidators(HtmlDataTableHack.java:114)
> 	at org.apache.myfaces.component.html.ext.HtmlDataTable.processValidators(HtmlDataTable.java:220)
> 	at javax.faces.component.UIForm.processValidators(UIForm.java:68)
> 	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:607)
> 	at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:259)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
> 	at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)
> 	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
> 	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
> 	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> 	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:123)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> 	at de.mindmatters.faces.spring.support.RequestHandledFilter.doFilter(RequestHandledFilter.java:150)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> 	at com.bmw.gss.client.dms.DmsFilter.doFilter(DmsFilter.java:39)
> 	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:137)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> 	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
> 	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
> 	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
> 	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

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