[JBoss JIRA] Commented: (RF-1289) Getting A4J Undefined though My renderer is properly adding support as child to the component.
by Karthik M (JIRA)
[ http://jira.jboss.com/jira/browse/RF-1289?page=comments#action_12389234 ]
Karthik M commented on RF-1289:
-------------------------------
Hi Nick , Alexej,
Please help me i have 3 components which are stuck because of this issue..any help is very appreciated. if issue is not on ur side please have a look at my code and let me know what code of mine might be causing ajax4jsf to fail..
Thanks..
> Getting A4J Undefined though My renderer is properly adding support as child to the component.
> ----------------------------------------------------------------------------------------------
>
> Key: RF-1289
> URL: http://jira.jboss.com/jira/browse/RF-1289
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Environment: Windows , Tomcat , Java 1.5, ajax4jsf1.1.0 , oscacche2.3.2
> Reporter: Karthik M
> Assigned To: Alexej Kushunin
> Fix For: 3.2.0
>
> Attachments: ajax4jsf Help.zip, web.xml
>
> Original Estimate: 4 days
> Remaining Estimate: 4 days
>
> To replicate this behaviour follow these steps:
> 1) create a custom component and its rendrerer.
> 2) In this parent renderere code try to create 2 child components to this parent component programatically (say 2 input texts..).
> 3) Each of this individual child components has to be ajax aware. So we add support objects to it with neccessary metadata.
> 4) in the xhtml try to verfy whether all the components are rendrered correctly and whether their defined events fire AJAX call.
> There is a thread on this forum where i have staed ths problem...URL is attached..
> I have already set code to sergeysmirnov(a)dev.java.net with subject Query on ajax4jsf.
> I have noted that till the last line of my renderer code all flow is correct..only whne HTML is generated it has no AJAX script declaration or support objects...but the A4J submit function exists...
> I have tried with several beta as well as stable versions but it did not work.
> Please help with this issue..kindly suggest any ideas to make this work..
--
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
18 years, 4 months
[JBoss JIRA] Assigned: (RF-1289) Getting A4J Undefined though My renderer is properly adding support as child to the component.
by Nick Belaevski (JIRA)
[ http://jira.jboss.com/jira/browse/RF-1289?page=all ]
Nick Belaevski reassigned RF-1289:
----------------------------------
Assignee: Alexej Kushunin (was: Nick Belaevski)
> Getting A4J Undefined though My renderer is properly adding support as child to the component.
> ----------------------------------------------------------------------------------------------
>
> Key: RF-1289
> URL: http://jira.jboss.com/jira/browse/RF-1289
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Environment: Windows , Tomcat , Java 1.5, ajax4jsf1.1.0 , oscacche2.3.2
> Reporter: Karthik M
> Assigned To: Alexej Kushunin
> Fix For: 3.2.0
>
> Attachments: ajax4jsf Help.zip, web.xml
>
> Original Estimate: 4 days
> Remaining Estimate: 4 days
>
> To replicate this behaviour follow these steps:
> 1) create a custom component and its rendrerer.
> 2) In this parent renderere code try to create 2 child components to this parent component programatically (say 2 input texts..).
> 3) Each of this individual child components has to be ajax aware. So we add support objects to it with neccessary metadata.
> 4) in the xhtml try to verfy whether all the components are rendrered correctly and whether their defined events fire AJAX call.
> There is a thread on this forum where i have staed ths problem...URL is attached..
> I have already set code to sergeysmirnov(a)dev.java.net with subject Query on ajax4jsf.
> I have noted that till the last line of my renderer code all flow is correct..only whne HTML is generated it has no AJAX script declaration or support objects...but the A4J submit function exists...
> I have tried with several beta as well as stable versions but it did not work.
> Please help with this issue..kindly suggest any ideas to make this work..
--
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
18 years, 4 months
[JBoss JIRA] Commented: (RF-657) Components description should be reviewed.
by Korluzhenko Veronika (JIRA)
[ http://jira.jboss.com/jira/browse/RF-657?page=comments#action_12389082 ]
Korluzhenko Veronika commented on RF-657:
-----------------------------------------
improved description for dataList, dataDefinitionList, etc. added pictures, rewrote desctiption for dataTable.
> Components description should be reviewed.
> -------------------------------------------
>
> Key: RF-657
> URL: http://jira.jboss.com/jira/browse/RF-657
> Project: RichFaces
> Issue Type: Task
> Components: doc
> Affects Versions: 3.2.0
> Reporter: Svetlana mukhina
> Assigned To: Korluzhenko Veronika
> Fix For: 3.2.0
>
>
> Review the following components: rich:dataGrid, rich:dataList, rich:dataDefinitionList, rich:dataOrderedList, rich:push, a4j:portlet, and etc. add new info on them if necessary
--
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
18 years, 4 months
[JBoss JIRA] Created: (RF-1395) OrderingList: java.lang.IllegalArgumentException
by Aleksej Yanul (JIRA)
OrderingList: java.lang.IllegalArgumentException
------------------------------------------------
Key: RF-1395
URL: http://jira.jboss.com/jira/browse/RF-1395
Project: RichFaces
Issue Type: Bug
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
Fix For: 3.1.3
When delete all elements threw exception
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException
at javax.faces.model.ListDataModel.getRowData(ListDataModel.java:139)
at org.ajax4jsf.model.SequenceDataModel.getRowData(SequenceDataModel.java:147)
at org.ajax4jsf.component.UIDataAdaptor.getRowData(UIDataAdaptor.java:242)
at org.richfaces.component.UIOrderingList$CommonItemState.isSelected(UIOrderingList.java:156)
at org.richfaces.renderkit.OrderingListRendererBase.encodeControlsFacets(OrderingListRendererBase.java:357)
at org.richfaces.renderkit.html.OrderingListRenderer.doEncodeEnd(OrderingListRenderer.java:313)
at org.richfaces.renderkit.html.OrderingListRenderer.doEncodeEnd(OrderingListRenderer.java:341)
at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
at org.richfaces.renderkit.OrderingListRendererBase.encodeEnd(OrderingListRendererBase.java:338)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:143)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:86)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:134)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:86)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:134)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:86)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:134)
at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:122)
at org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:553)
at org.ajax4jsf.context.AjaxContextImpl.renderAjaxRegion(AjaxContextImpl.java:289)
at org.ajax4jsf.context.AjaxContextImpl$2.invoke(AjaxContextImpl.java:204)
at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnComponent(JsfOneOneInvoker.java:78)
at org.ajax4jsf.context.AjaxContextImpl.invokeOnComponent(AjaxContextImpl.java:160)
at org.ajax4jsf.context.AjaxContextImpl.renderSubmittedAjaxRegion(AjaxContextImpl.java:218)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:239)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
--
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
18 years, 4 months
[JBoss JIRA] Commented: (RF-186) Portlet integration for JBoss Portal, portals jsr-168
by Armin Vogt (JIRA)
[ http://jira.jboss.com/jira/browse/RF-186?page=comments#action_12388997 ]
Armin Vogt commented on RF-186:
-------------------------------
Hi there,
have a look at http://jira.jboss.com/jira/browse/RF-572 :
i did a small example project with the Richfaces suggestionBox working within a portlet. It deploys under Portal 2.6.2 (thus using Sun-RI).
The example was derived from the portlet example in Richfaces project, Thanks for that!
You need Richfaces 3.2.0-SNAPSHOT (at least the portlet.jar). That comes with the right GenericFacesPortlet. I stripped down the web.xml and faces.config to the minimum. No need to bundle any other faces implementation.
Have fun
> Portlet integration for JBoss Portal, portals jsr-168
> -----------------------------------------------------
>
> Key: RF-186
> URL: http://jira.jboss.com/jira/browse/RF-186
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.0.0
> Environment: Jboss Portal, last version = 2.6 (for ajax capability in portlet
> Reporter: Antoine Herzog
> Assigned To: Alexander Smirnov
> Fix For: 3.0.2
>
> Attachments: PortletViewHandler.java, richfacesTest-app.ear, RudderPortletDriver.java
>
>
> Using RichFaces in portlets would be great.
> Julien Viet, of portal team, has just made the ajax capability in portlets.
> see : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035623#4035623
> And for the rest :
> http://wiki.jboss.org/wiki/Wiki.jsp?page=JSFInPortletEnvironment
> From my try of RichFaces in JBoss Portal 2.4.1 :
> DataTable does not work : it throw a :
> java.lang.ClassCastException: org.jboss.portlet.JBossRenderResponse
> when trying to cast the renderResponse from portal into a Http type class.
> I will try the nightly build, if someone can say that some component may have yet been corrected.
> and I will fill the wiki page JSFInPortletEnvironment with what is working and what not.
--
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
18 years, 4 months
[JBoss JIRA] Commented: (RF-572) ClassCastException when trying to access a JSF Portlet using RichFaces
by Viggo Navarsete (JIRA)
[ http://jira.jboss.com/jira/browse/RF-572?page=comments#action_12388983 ]
Viggo Navarsete commented on RF-572:
------------------------------------
Armin_Vogt: Thanks for valuable input!:) I will try this on Monday when I get back to work. I still haven't figured out exactly how to configure web.xml, faces-config.xml and portlet.xml with the correct stuff to get a Portlet with RichFaces to work. Hopefully this will get me even closer to the solution :)
I will give feedback on Monday!
> 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-session.war, portlet-jsfrichfacesdemo.war, portlet-jsfrichfacesdemo.war, PortletContextImpl.java, ServletContextImpl.java, SessionAttributesNames.java, suggestionBoxDemo-Portal2.6.2.zip
>
>
> 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
18 years, 4 months