[JBoss JIRA] Assigned: (RF-843) Tab Panel doesn't switches except client mode.
by Anton Belevich (JIRA)
[ http://jira.jboss.com/jira/browse/RF-843?page=all ]
Anton Belevich reassigned RF-843:
---------------------------------
Assignee: Ilya Shaikovsky (was: Anton Belevich)
fix version in trunk 3.2.0
> Tab Panel doesn't switches except client mode.
> ----------------------------------------------
>
> Key: RF-843
> URL: http://jira.jboss.com/jira/browse/RF-843
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: JSF 1.2
> Facelets 1.1.12
> Tomcat 6
> RF 3.1.0 RC5
> Reporter: Ilya Shaikovsky
> Assigned To: Ilya Shaikovsky
> Fix For: 3.2.0, 3.1.1
>
>
> <ui:define name="body">
> <h:form>
> <rich:tabPanel switchType="ajax">
> <rich:tab label="test 1">
> <h:inputText value="#{person.prop1}" ></h:inputText>
> <rich:messages/>
> </rich:tab>
> <rich:tab label="Sample 2" immediate="true">
> <h:inputText value="#{person.prop2}" required="true"></h:inputText>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> <a4j:log popup="false"></a4j:log>
> </ui:define>
> This tabpanel doesn't switches. Behaviour returns to normal when I use immediate="false" on the tab control.
> Besides - there is no messages on the page.
> As I see from phasetracker second phase - fails.
> In client side log there is -
> debug[14:26:12,241]: Attempt to update part of page for Id: j_id2:j_id6
> debug[14:26:12,241]: call getElementById for id= j_id2:j_id6
> error[14:26:12,242]: New node for ID j_id2:j_id6 is not present in response
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Reopened: (RF-843) Tab Panel doesn't switches except client mode.
by Anton Belevich (JIRA)
[ http://jira.jboss.com/jira/browse/RF-843?page=all ]
Anton Belevich reopened RF-843:
-------------------------------
Assignee: Anton Belevich (was: Viktor Volkov)
> Tab Panel doesn't switches except client mode.
> ----------------------------------------------
>
> Key: RF-843
> URL: http://jira.jboss.com/jira/browse/RF-843
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: JSF 1.2
> Facelets 1.1.12
> Tomcat 6
> RF 3.1.0 RC5
> Reporter: Ilya Shaikovsky
> Assigned To: Anton Belevich
> Fix For: 3.2.0, 3.1.1
>
>
> <ui:define name="body">
> <h:form>
> <rich:tabPanel switchType="ajax">
> <rich:tab label="test 1">
> <h:inputText value="#{person.prop1}" ></h:inputText>
> <rich:messages/>
> </rich:tab>
> <rich:tab label="Sample 2" immediate="true">
> <h:inputText value="#{person.prop2}" required="true"></h:inputText>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> <a4j:log popup="false"></a4j:log>
> </ui:define>
> This tabpanel doesn't switches. Behaviour returns to normal when I use immediate="false" on the tab control.
> Besides - there is no messages on the page.
> As I see from phasetracker second phase - fails.
> In client side log there is -
> debug[14:26:12,241]: Attempt to update part of page for Id: j_id2:j_id6
> debug[14:26:12,241]: call getElementById for id= j_id2:j_id6
> error[14:26:12,242]: New node for ID j_id2:j_id6 is not present in response
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Commented: (RF-572) ClassCastException when trying to access a JSF Portlet using RichFaces
by Thomas Heute (JIRA)
[ http://jira.jboss.com/jira/browse/RF-572?page=comments#action_12379859 ]
Thomas Heute commented on RF-572:
---------------------------------
I missed that RichFaces already includes it's own FacesContextFactory that handles both a-la MyFaces.
That's a pity if we really have to build yet another bridge (as done for now)
> ClassCastException when trying to access a JSF Portlet using RichFaces
> ----------------------------------------------------------------------
>
> Key: RF-572
> URL: http://jira.jboss.com/jira/browse/RF-572
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: RealFaces 3.1.0.SNAPSHOT (sourcecode retrieved and built manually from svn 08.08.2007 )
> JSF Portlet Bridge 1.2.1 from Sun
> JBoss Portal 2.6.1.GA
> JBoss AS 4.2.1.GA
> JDK 1.5.0_08
> Postgresql 8.x database
> Linux Kubuntu 6.10
> Reporter: Viggo Navarsete
> Assigned To: Alexander Smirnov
> Fix For: 3.2.0
>
> Attachments: AbstractExternalContext.java, ContextAttributesMap.java, ContextMap.java, EnumerationIterator.java, FacesContextImpl.java, portlet-jsfrichfacesdemo.war, portlet-jsfrichfacesdemo.war, PortletContextImpl.java, ServletContextImpl.java, SessionAttributesNames.java
>
>
> I have created a JSF portlet using the latest RichFaces source code from svn. I have added a <rich:panel> to my jsp page, deployed it to my jboss portal, created a portlet instance and added it to a page. When trying to access the page I get the following stacktrace:
> 08:37:37,523 WARN [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN
> 08:37:39,853 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
> java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacade
> at com.sun.faces.portlet.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
> at org.ajax4jsf.resource.InternetResourceService.getFacesContext(InternetResourceService.java:317)
> at org.ajax4jsf.resource.InternetResourceService.getResourceContext(InternetResourceService.java:251)
> at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:162)
> at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
> at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:259)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
> Please read the JBoss Forum reference for more information about configuration of my web.xml, portlet.xml and other "war-file-specific-things".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Commented: (RF-572) ClassCastException when trying to access a JSF Portlet using RichFaces
by Mike (JIRA)
[ http://jira.jboss.com/jira/browse/RF-572?page=comments#action_12379615 ]
Mike commented on RF-572:
-------------------------
I added a working example portlet (at least in JBOSS Portal 2.6.1GA)
http://jira.jboss.com/jira/secure/attachment/12316176/portlet-jsfrichface...
Just use the org.ajax4jsf.portlet.AjaxFacesPortlet instead of the sun implementation of generic portlet.
Ahh and i needed to redefine the ajax-context as the faces-config.xml merging doesn't work right (I think thats due to renaming of a4j-portlet.jar to portlet-.....jar)
so I added:
<managed-bean>
<managed-bean-name>ajaxContext</managed-bean-name>
<managed-bean-class>org.ajax4jsf.portlet.PortletAjaxContext</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
Therefore this "bug"-report might be closed - as its not a richfaces problem after all...
> ClassCastException when trying to access a JSF Portlet using RichFaces
> ----------------------------------------------------------------------
>
> Key: RF-572
> URL: http://jira.jboss.com/jira/browse/RF-572
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: RealFaces 3.1.0.SNAPSHOT (sourcecode retrieved and built manually from svn 08.08.2007 )
> JSF Portlet Bridge 1.2.1 from Sun
> JBoss Portal 2.6.1.GA
> JBoss AS 4.2.1.GA
> JDK 1.5.0_08
> Postgresql 8.x database
> Linux Kubuntu 6.10
> Reporter: Viggo Navarsete
> Assigned To: Alexander Smirnov
> Fix For: 3.2.0
>
> Attachments: AbstractExternalContext.java, ContextAttributesMap.java, ContextMap.java, EnumerationIterator.java, FacesContextImpl.java, portlet-jsfrichfacesdemo.war, portlet-jsfrichfacesdemo.war, PortletContextImpl.java, ServletContextImpl.java, SessionAttributesNames.java
>
>
> I have created a JSF portlet using the latest RichFaces source code from svn. I have added a <rich:panel> to my jsp page, deployed it to my jboss portal, created a portlet instance and added it to a page. When trying to access the page I get the following stacktrace:
> 08:37:37,523 WARN [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN
> 08:37:39,853 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
> java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacade
> at com.sun.faces.portlet.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
> at org.ajax4jsf.resource.InternetResourceService.getFacesContext(InternetResourceService.java:317)
> at org.ajax4jsf.resource.InternetResourceService.getResourceContext(InternetResourceService.java:251)
> at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:162)
> at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
> at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:259)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
> Please read the JBoss Forum reference for more information about configuration of my web.xml, portlet.xml and other "war-file-specific-things".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Updated: (RF-572) ClassCastException when trying to access a JSF Portlet using RichFaces
by Mike (JIRA)
[ http://jira.jboss.com/jira/browse/RF-572?page=all ]
Mike updated RF-572:
--------------------
Attachment: portlet-jsfrichfacesdemo.war
This is a richfaces + ajax4jsf test portlet running on JBOSS 2.6.1GA
> ClassCastException when trying to access a JSF Portlet using RichFaces
> ----------------------------------------------------------------------
>
> Key: RF-572
> URL: http://jira.jboss.com/jira/browse/RF-572
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: RealFaces 3.1.0.SNAPSHOT (sourcecode retrieved and built manually from svn 08.08.2007 )
> JSF Portlet Bridge 1.2.1 from Sun
> JBoss Portal 2.6.1.GA
> JBoss AS 4.2.1.GA
> JDK 1.5.0_08
> Postgresql 8.x database
> Linux Kubuntu 6.10
> Reporter: Viggo Navarsete
> Assigned To: Alexander Smirnov
> Fix For: 3.2.0
>
> Attachments: AbstractExternalContext.java, ContextAttributesMap.java, ContextMap.java, EnumerationIterator.java, FacesContextImpl.java, portlet-jsfrichfacesdemo.war, portlet-jsfrichfacesdemo.war, PortletContextImpl.java, ServletContextImpl.java, SessionAttributesNames.java
>
>
> I have created a JSF portlet using the latest RichFaces source code from svn. I have added a <rich:panel> to my jsp page, deployed it to my jboss portal, created a portlet instance and added it to a page. When trying to access the page I get the following stacktrace:
> 08:37:37,523 WARN [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN
> 08:37:39,853 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
> java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacade
> at com.sun.faces.portlet.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
> at org.ajax4jsf.resource.InternetResourceService.getFacesContext(InternetResourceService.java:317)
> at org.ajax4jsf.resource.InternetResourceService.getResourceContext(InternetResourceService.java:251)
> at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:162)
> at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
> at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:259)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
> Please read the JBoss Forum reference for more information about configuration of my web.xml, portlet.xml and other "war-file-specific-things".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months