RE: [Trinidad] Component renderer cannot be found in portal context
Hi guys Do you have any clue on this case? Any help / idea might be helpful! As Trinidad claims to be JSR-168 compliant, I expect the flaw to be in my configuration files.. Has anyone got a working example of Trinidad running in a portlet? In the meantime I tried a few more things: - Adding a configuration parameter output-modeportlet/output-mode to trinidad-config.xml; doesn't change anything. - Removing Tomahawk; same thing. - Specifically set the render-type of the Trinidad components: exception saying Render context missing. - Change the user agent (which is unknown in both IE and Firefox) at runtime to Mozilla. -- User agent error disappears, but the render errors remain... Thanks a lot!! Cheers -Lorin -Original Message- From: Schoop Lorin ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED] Sent: Sunday, October 28, 2007 2:24 PM To: users@myfaces.apache.org Subject: [Trinidad] Component renderer cannot be found in portal context Hello I'd like to use Trinidad 1.0.3 in a portal application (Liferay 4.2.1 + JBOSS 4.0.4GA). Other portlets use MyFaces 1.1.5 + Tomahawk 1.1.6. Facelet is not being used so far. I've setup a simple portlet with a button which increments a counter value using PPR. When I run the example, I get the following error: 13:14:54,968 ERROR [STDERR] 28.10.2007 13:14:54 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl WARNING: The User-Agent null is unknown; creating an agent with unknown agent attributes. 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl, id=counterButton] rendererType = org.apache.myfaces.trinidad.Button 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl, id=counterButton] rendererType = org.apache.myfaces.trinidad.Button 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreOutputText[UIXFacesBeanImpl, id=_id14d23f80] rendererType = org.apache.myfaces.trinidad.Text 13:14:55,406 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreOutputText[UIXFacesBeanImpl, id=_id14d23f80] rendererType = org.apache.myfaces.trinidad.Text I think PPR is not the problem. I tried a different example without partialSubmit / partialTriggers attributes: same errors. Extracts of the related files are attached below. I appreciate your help very much!! Thanks in advance! Regards, -Lorin * TrinidadTest.jsp %@ page session=false contentType=text/html; charset=ISO-8859-1% %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% %@ taglib uri=http://java.sun.com/portlet; prefix=portlet% %@ taglib uri=http://myfaces.apache.org/trinidad; prefix=tr% portlet:defineObjects / link rel=stylesheet type=text/css href=%= renderResponse.encodeURL(renderRequest.getContextPath() + /css/basic.css) % / f:view tr:document id=trinidadDoc TITLEOrder Entry/TITLE tr:form id=trinidadForm tr:commandButton text=Increment Counter id=counterButton partialSubmit=true actionListener=#{trinidadTestBean.increment} / tr:outputText value=#{trinidadTestBean.counter} partialTriggers=counterButton / /tr:form /tr:document /f:view * TrinidadTestBean.java package test; import javax.faces.event.ActionEvent; public class TrinidadTestBean { private int counter = 0; public void increment(ActionEvent event) { // Change the text value counter++; } public int getCounter() { return counter; } public
Re: [Trinidad] Component renderer cannot be found in portal context
Lorin, Trinidad should be JSR-301 compliant although to be frank, the Bridge is brand spaking new so there might well be issues. What bridge are you trying to run Trinidad with? If it's anything OTHER then the new MyFaces portlet-bridge source, I really doubt it will work. For this project, we don't even have a website up but I'm hoping to have the code for a base website up by next Monday. Scott Lorin Schoop wrote: Hi guys Do you have any clue on this case? Any help / idea might be helpful! As Trinidad claims to be JSR-168 compliant, I expect the flaw to be in my configuration files.. Has anyone got a working example of Trinidad running in a portlet? In the meantime I tried a few more things: - Adding a configuration parameter output-modeportlet/output-mode to trinidad-config.xml; doesn't change anything. - Removing Tomahawk; same thing. - Specifically set the render-type of the Trinidad components: exception saying Render context missing. - Change the user agent (which is unknown in both IE and Firefox) at runtime to Mozilla. -- User agent error disappears, but the render errors remain... Thanks a lot!! Cheers -Lorin -Original Message- From: Schoop Lorin ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED] Sent: Sunday, October 28, 2007 2:24 PM To: users@myfaces.apache.org Subject: [Trinidad] Component renderer cannot be found in portal context Hello I'd like to use Trinidad 1.0.3 in a portal application (Liferay 4.2.1 + JBOSS 4.0.4GA). Other portlets use MyFaces 1.1.5 + Tomahawk 1.1.6. Facelet is not being used so far. I've setup a simple portlet with a button which increments a counter value using PPR. When I run the example, I get the following error: 13:14:54,968 ERROR [STDERR] 28.10.2007 13:14:54 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl WARNING: The User-Agent null is unknown; creating an agent with unknown agent attributes. 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl, id=counterButton] rendererType = org.apache.myfaces.trinidad.Button 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl, id=counterButton] rendererType = org.apache.myfaces.trinidad.Button 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreOutputText[UIXFacesBeanImpl, id=_id14d23f80] rendererType = org.apache.myfaces.trinidad.Text 13:14:55,406 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreOutputText[UIXFacesBeanImpl, id=_id14d23f80] rendererType = org.apache.myfaces.trinidad.Text I think PPR is not the problem. I tried a different example without partialSubmit / partialTriggers attributes: same errors. Extracts of the related files are attached below. I appreciate your help very much!! Thanks in advance! Regards, -Lorin * TrinidadTest.jsp %@ page session=false contentType=text/html; charset=ISO-8859-1% %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% %@ taglib uri=http://java.sun.com/portlet; prefix=portlet% %@ taglib uri=http://myfaces.apache.org/trinidad; prefix=tr% portlet:defineObjects / link rel=stylesheet type=text/css href=%= renderResponse.encodeURL(renderRequest.getContextPath() + /css/basic.css) % / f:view tr:document id=trinidadDoc TITLEOrder Entry/TITLE tr:form id=trinidadForm tr:commandButton text=Increment Counter id=counterButton partialSubmit=true actionListener=#{trinidadTestBean.increment} / tr:outputText
RE: [Trinidad] Component renderer cannot be found in portal context
Hi Scott. Thanks for your reply. I currently use this bridge : org.apache.portals.bridges.jsf.FacesPortlet. Do you think I should give it a try with org.apache.myfaces.portlet.MyFacesGenericPortlet? I found this on the myfaces wiki.. http://wiki.apache.org/myfaces/CreatingJSFPortlets Cheers Lorin -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 8:36 PM To: MyFaces Discussion Subject: Re: [Trinidad] Component renderer cannot be found in portal context Lorin, Trinidad should be JSR-301 compliant although to be frank, the Bridge is brand spaking new so there might well be issues. What bridge are you trying to run Trinidad with? If it's anything OTHER then the new MyFaces portlet-bridge source, I really doubt it will work. For this project, we don't even have a website up but I'm hoping to have the code for a base website up by next Monday. Scott Lorin Schoop wrote: Hi guys Do you have any clue on this case? Any help / idea might be helpful! As Trinidad claims to be JSR-168 compliant, I expect the flaw to be in my configuration files.. Has anyone got a working example of Trinidad running in a portlet? In the meantime I tried a few more things: - Adding a configuration parameter output-modeportlet/output-mode to trinidad-config.xml; doesn't change anything. - Removing Tomahawk; same thing. - Specifically set the render-type of the Trinidad components: exception saying Render context missing. - Change the user agent (which is unknown in both IE and Firefox) at runtime to Mozilla. -- User agent error disappears, but the render errors remain... Thanks a lot!! Cheers -Lorin -Original Message- From: Schoop Lorin ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED] Sent: Sunday, October 28, 2007 2:24 PM To: users@myfaces.apache.org Subject: [Trinidad] Component renderer cannot be found in portal context Hello I'd like to use Trinidad 1.0.3 in a portal application (Liferay 4.2.1 + JBOSS 4.0.4GA). Other portlets use MyFaces 1.1.5 + Tomahawk 1.1.6. Facelet is not being used so far. I've setup a simple portlet with a button which increments a counter value using PPR. When I run the example, I get the following error: 13:14:54,968 ERROR [STDERR] 28.10.2007 13:14:54 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl WARNING: The User-Agent null is unknown; creating an agent with unknown agent attributes. 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl, id=counterButton] rendererType = org.apache.myfaces.trinidad.Button 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl, id=counterButton] rendererType = org.apache.myfaces.trinidad.Button 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreOutputText[UIXFacesBeanImpl, id=_id14d23f80] rendererType = org.apache.myfaces.trinidad.Text 13:14:55,406 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreOutputText[UIXFacesBeanImpl, id=_id14d23f80] rendererType = org.apache.myfaces.trinidad.Text I think PPR is not the problem. I tried a different example without partialSubmit / partialTriggers attributes: same errors. Extracts of the related files are attached below. I appreciate your help very much!! Thanks in advance! Regards, -Lorin * TrinidadTest.jsp %@ page session=false contentType=text/html; charset
Re: [Trinidad] Component renderer cannot be found in portal context
Naa. That's the old MyFaces bridge. The current bridge is for JSF 1.2 only and is a myfaces subproject: https://svn.apache.org/repos/asf/myfaces/portlet-bridge/trunk. The 301 spec is still under public draft so the R.I. still has a way to go. But I have seen Trinidad run on the bridge code as it exists right now. We've also had some good luck with Oracle's bridge and for JSF 1.1 that will likely be the only bridge you can use. The reason for this is that there are several fundamental problems with getting JSF to work in a portal and many of the other bridges don't address these issues. JSR-301 does, as does (to a lesser degree) the Oracle Bridge. I would expect to see good things coming out of the Bridge project and Trinidad within the next few months. For now, however, you're welcome to use the brand new bridge with Trinidad. It should work and I will continue to make updates to Trinidad as needed to keep up with the latest enhancements to the 301 bridge. Also we're trying to gear up on the documentation and I think that some people from the EG are interested in starting up a wiki here at Apache so I'll let you know when that occurs. Scott Lorin Schoop wrote: Hi Scott. Thanks for your reply. I currently use this bridge : org.apache.portals.bridges.jsf.FacesPortlet. Do you think I should give it a try with org.apache.myfaces.portlet.MyFacesGenericPortlet? I found this on the myfaces wiki.. http://wiki.apache.org/myfaces/CreatingJSFPortlets Cheers Lorin -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 8:36 PM To: MyFaces Discussion Subject: Re: [Trinidad] Component renderer cannot be found in portal context Lorin, Trinidad should be JSR-301 compliant although to be frank, the Bridge is brand spaking new so there might well be issues. What bridge are you trying to run Trinidad with? If it's anything OTHER then the new MyFaces portlet-bridge source, I really doubt it will work. For this project, we don't even have a website up but I'm hoping to have the code for a base website up by next Monday. Scott Lorin Schoop wrote: Hi guys Do you have any clue on this case? Any help / idea might be helpful! As Trinidad claims to be JSR-168 compliant, I expect the flaw to be in my configuration files.. Has anyone got a working example of Trinidad running in a portlet? In the meantime I tried a few more things: - Adding a configuration parameter output-modeportlet/output-mode to trinidad-config.xml; doesn't change anything. - Removing Tomahawk; same thing. - Specifically set the render-type of the Trinidad components: exception saying Render context missing. - Change the user agent (which is unknown in both IE and Firefox) at runtime to Mozilla. -- User agent error disappears, but the render errors remain... Thanks a lot!! Cheers -Lorin -Original Message- From: Schoop Lorin ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED] Sent: Sunday, October 28, 2007 2:24 PM To: users@myfaces.apache.org Subject: [Trinidad] Component renderer cannot be found in portal context Hello I'd like to use Trinidad 1.0.3 in a portal application (Liferay 4.2.1 + JBOSS 4.0.4GA). Other portlets use MyFaces 1.1.5 + Tomahawk 1.1.6. Facelet is not being used so far. I've setup a simple portlet with a button which increments a counter value using PPR. When I run the example, I get the following error: 13:14:54,968 ERROR [STDERR] 28.10.2007 13:14:54 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl WARNING: The User-Agent null is unknown; creating an agent with unknown agent attributes. 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl, id=counterButton] rendererType = org.apache.myfaces.trinidad.Button 13:14:55,375 ERROR [STDERR
RE: [Trinidad] Component renderer cannot be found in portal context
Ok. Look's like I'll have to stick to the Oracle's JSF portlet bridge then, as we still use Liferay 4.2.1 and JSF1.1. Could you provide me with a download link for the bridge library? Thanks again! -Lorin -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 10:58 PM To: MyFaces Discussion Subject: Re: [Trinidad] Component renderer cannot be found in portal context Naa. That's the old MyFaces bridge. The current bridge is for JSF 1.2 only and is a myfaces subproject: https://svn.apache.org/repos/asf/myfaces/portlet-bridge/trunk. The 301 spec is still under public draft so the R.I. still has a way to go. But I have seen Trinidad run on the bridge code as it exists right now. We've also had some good luck with Oracle's bridge and for JSF 1.1 that will likely be the only bridge you can use. The reason for this is that there are several fundamental problems with getting JSF to work in a portal and many of the other bridges don't address these issues. JSR-301 does, as does (to a lesser degree) the Oracle Bridge. I would expect to see good things coming out of the Bridge project and Trinidad within the next few months. For now, however, you're welcome to use the brand new bridge with Trinidad. It should work and I will continue to make updates to Trinidad as needed to keep up with the latest enhancements to the 301 bridge. Also we're trying to gear up on the documentation and I think that some people from the EG are interested in starting up a wiki here at Apache so I'll let you know when that occurs. Scott Lorin Schoop wrote: Hi Scott. Thanks for your reply. I currently use this bridge : org.apache.portals.bridges.jsf.FacesPortlet. Do you think I should give it a try with org.apache.myfaces.portlet.MyFacesGenericPortlet? I found this on the myfaces wiki.. http://wiki.apache.org/myfaces/CreatingJSFPortlets Cheers Lorin -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 8:36 PM To: MyFaces Discussion Subject: Re: [Trinidad] Component renderer cannot be found in portal context Lorin, Trinidad should be JSR-301 compliant although to be frank, the Bridge is brand spaking new so there might well be issues. What bridge are you trying to run Trinidad with? If it's anything OTHER then the new MyFaces portlet-bridge source, I really doubt it will work. For this project, we don't even have a website up but I'm hoping to have the code for a base website up by next Monday. Scott Lorin Schoop wrote: Hi guys Do you have any clue on this case? Any help / idea might be helpful! As Trinidad claims to be JSR-168 compliant, I expect the flaw to be in my configuration files.. Has anyone got a working example of Trinidad running in a portlet? In the meantime I tried a few more things: - Adding a configuration parameter output-modeportlet/output-mode to trinidad-config.xml; doesn't change anything. - Removing Tomahawk; same thing. - Specifically set the render-type of the Trinidad components: exception saying Render context missing. - Change the user agent (which is unknown in both IE and Firefox) at runtime to Mozilla. -- User agent error disappears, but the render errors remain... Thanks a lot!! Cheers -Lorin -Original Message- From: Schoop Lorin ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED] Sent: Sunday, October 28, 2007 2:24 PM To: users@myfaces.apache.org Subject: [Trinidad] Component renderer cannot be found in portal context Hello I'd like to use Trinidad 1.0.3 in a portal application (Liferay 4.2.1 + JBOSS 4.0.4GA). Other portlets use MyFaces 1.1.5 + Tomahawk 1.1.6. Facelet is not being used so far. I've setup a simple portlet with a button which increments a counter value using PPR. When I run the example, I get the following error: 13:14:54,968 ERROR [STDERR] 28.10.2007 13:14:54 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl WARNING: The User-Agent null is unknown; creating an agent with unknown agent attributes. 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55
Re: [Trinidad] Component renderer cannot be found in portal context
I'm not sure what the stand-alone link for the bridge is. I've only ever got it from JDeveloper 10.1.3.x.. Hope that helps, Scott Lorin Schoop wrote: Ok. Look's like I'll have to stick to the Oracle's JSF portlet bridge then, as we still use Liferay 4.2.1 and JSF1.1. Could you provide me with a download link for the bridge library? Thanks again! -Lorin -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 10:58 PM To: MyFaces Discussion Subject: Re: [Trinidad] Component renderer cannot be found in portal context Naa. That's the old MyFaces bridge. The current bridge is for JSF 1.2 only and is a myfaces subproject: https://svn.apache.org/repos/asf/myfaces/portlet-bridge/trunk. The 301 spec is still under public draft so the R.I. still has a way to go. But I have seen Trinidad run on the bridge code as it exists right now. We've also had some good luck with Oracle's bridge and for JSF 1.1 that will likely be the only bridge you can use. The reason for this is that there are several fundamental problems with getting JSF to work in a portal and many of the other bridges don't address these issues. JSR-301 does, as does (to a lesser degree) the Oracle Bridge. I would expect to see good things coming out of the Bridge project and Trinidad within the next few months. For now, however, you're welcome to use the brand new bridge with Trinidad. It should work and I will continue to make updates to Trinidad as needed to keep up with the latest enhancements to the 301 bridge. Also we're trying to gear up on the documentation and I think that some people from the EG are interested in starting up a wiki here at Apache so I'll let you know when that occurs. Scott Lorin Schoop wrote: Hi Scott. Thanks for your reply. I currently use this bridge : org.apache.portals.bridges.jsf.FacesPortlet. Do you think I should give it a try with org.apache.myfaces.portlet.MyFacesGenericPortlet? I found this on the myfaces wiki.. http://wiki.apache.org/myfaces/CreatingJSFPortlets Cheers Lorin -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 8:36 PM To: MyFaces Discussion Subject: Re: [Trinidad] Component renderer cannot be found in portal context Lorin, Trinidad should be JSR-301 compliant although to be frank, the Bridge is brand spaking new so there might well be issues. What bridge are you trying to run Trinidad with? If it's anything OTHER then the new MyFaces portlet-bridge source, I really doubt it will work. For this project, we don't even have a website up but I'm hoping to have the code for a base website up by next Monday. Scott Lorin Schoop wrote: Hi guys Do you have any clue on this case? Any help / idea might be helpful! As Trinidad claims to be JSR-168 compliant, I expect the flaw to be in my configuration files.. Has anyone got a working example of Trinidad running in a portlet? In the meantime I tried a few more things: - Adding a configuration parameter output-modeportlet/output-mode to trinidad-config.xml; doesn't change anything. - Removing Tomahawk; same thing. - Specifically set the render-type of the Trinidad components: exception saying Render context missing. - Change the user agent (which is unknown in both IE and Firefox) at runtime to Mozilla. -- User agent error disappears, but the render errors remain... Thanks a lot!! Cheers -Lorin -Original Message- From: Schoop Lorin ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED] Sent: Sunday, October 28, 2007 2:24 PM To: users@myfaces.apache.org Subject: [Trinidad] Component renderer cannot be found in portal context Hello I'd like to use Trinidad 1.0.3 in a portal application (Liferay 4.2.1 + JBOSS 4.0.4GA). Other portlets use MyFaces 1.1.5 + Tomahawk 1.1.6. Facelet is not being used so far. I've setup a simple portlet with a button which increments a counter value using PPR. When I run the example, I get the following error: 13:14:54,968 ERROR [STDERR] 28.10.2007 13:14:54 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl WARNING: The User-Agent null is unknown; creating an agent with unknown agent attributes. 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,281 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=trinidadDoc] rendererType = org.apache.myfaces.trinidad.Document 13:14:55,375 ERROR [STDERR] 28.10.2007 13:14:55 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreForm