[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-46) ClassCastException in WYSIWYG component

Patrice Lamarque (JIRA) jira-events at lists.jboss.org
Mon Oct 19 03:57:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/GTNPORTAL-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490298#action_12490298 ] 

Patrice Lamarque commented on GTNPORTAL-46:
-------------------------------------------

The code wrongly assumes an HttpServletRequest :

{code}
...
   public void processRender(WebuiRequestContext context) throws Exception
   {
      HttpServletRequest request = context.getRequest();  // in GateIn, we get a RenderRequestImpl  
...
{code} 

> ClassCastException in WYSIWYG component 
> ----------------------------------------
>
>                 Key: GTNPORTAL-46
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-46
>             Project: GateIn Portal
>          Issue Type: Bug
>          Components: User Interface
>    Affects Versions: 3.0.0-Beta01
>            Reporter: Patrice Lamarque
>             Fix For: 3.0.0-Beta02
>
>
> WYSIWYG component cannot render properly in GateIn due to a ClassCastException.
> I get this stacktrace :
> java.lang.ClassCastException: org.gatein.pc.portlet.impl.jsr168.api.RenderRequestImpl
> at org.exoplatform.webui.form.wysiwyg.UIFormWYSIWYGInput.processRender(UIFormWYSIWYGInput.java:154)
> at org.exoplatform.webui.core.UIContainer.renderUIComponent(UIContainer.java:297)
> at org.exoplatform.forum.webui.popup.UIForumInputWithActions.processRender(UIForumInputWithActions.java:100)
> at org.exoplatform.webui.core.UIContainer.renderChild(UIContainer.java:282)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list