Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 PortletFaces Community Member 21 marzo 2012 12.24
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 22 marzo 2012 3.21
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 PortletFaces Community Member 22 marzo 2012 4.13
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 23 marzo 2012 15.00
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 26 marzo 2012 17.20
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 26 marzo 2012 17.42
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 PortletFaces Community Member 27 marzo 2012 4.10
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 27 marzo 2012 6.02
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 PortletFaces Community Member 27 marzo 2012 8.21
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 27 marzo 2012 8.52
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Ingo Schildmann 3 aprile 2012 9.17
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 3 aprile 2012 11.17
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 6 aprile 2012 8.19
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 4 settembre 2012 12.13
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Vijayan M 10 maggio 2012 2.34
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 4 settembre 2012 12.14
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1 Neil Griffin 6 aprile 2012 6.21
PortletFaces Community Member
PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
21 marzo 2012 12.24
Risposta

PortletFaces Community Member

Punteggio: Regular Member

Messaggi: 201

Data di Iscrizione: 2 aprile 2012

Messaggi recenti

Hi,

I try to use RichFaces 4.2 in Liferay 6.1 with PortletFaces Bridge 2.0.1, but have problems.

Liferay uses Tomcat 7, so I use javax.servlet 3.0 and don't declare the Resource Servlet

I've added a simple portlet with a rich:calendar as attachment which builds with maven.

If you deploy it, you can see:

1. There should be a calendar-icon.png next to input field, but the ResourceServlet can't find it.

2. The calendar popup works, but curiously only when manual input is disabled.

3. The log shows NullPointerExceptions
java.lang.NullPointerException
at org.portletfaces.bridge.container.PortletContainerFactoryImpl.getPort
letContainer(PortletContainerFactoryImpl.java:58)
at org.portletfaces.bridge.application.ResourceHandlerImpl.createResourc
e(ResourceHandlerImpl.java:148)
at org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHan
dlerImpl.java:265)
at org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHan
dlerImpl.java:273)
at com.sun.faces.application.resource.ResourceHandlerImpl.handleResource
Request(ResourceHandlerImpl.java:251)
at org.portletfaces.bridge.application.ResourceHandlerImpl.handleResourc
eRequest(ResourceHandlerImpl.java:367)
at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(Reso
urceHandlerImpl.java:257)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:407)
at org.richfaces.webapp.ResourceServlet.httpService(ResourceServlet.java
:110)

Has anyone experience if there's a comibination of richfaces und portletfaces bridge, that works?
Are there known bugs that might be fixed in the next versions of richfaces or portletfaces bridge?

Regards, Ingo
Allegati: rich-calendar-test.zip (5,2k)
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
22 marzo 2012 3.21
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

Please give it a try with Liferay 6.0 and see if the error goes away. I'd be interested to know if that works. We're adding compatibility for Liferay 6.1 in the Bridge at this time but a release won't be ready for about 2 more weeks.
PortletFaces Community Member
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
22 marzo 2012 4.13
Risposta

PortletFaces Community Member

Punteggio: Regular Member

Messaggi: 201

Data di Iscrizione: 2 aprile 2012

Messaggi recenti

I've installed Liferay 6.0.6. Because it uses Tomcat 6, I've changed the web.xml to version 2.5 and declared the org.richfaces.webapp.ResourceServlet.

calendarIcon.png can't still be found with this path
/rich-calendar-portlet-test-1.0.0/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.Final/Static/DEFAULT/org.richfaces.images/calendarIcon.png

The popup still works only when manual input is disabled.

The NullPointerException doesn't appear anymore in the log, but after reloading the paget now this Exception occurs:

10:56:12,801 ERROR [ETagFilter:136] java.lang.IllegalStateException: Die Anwendung wurde bei Systemstart nicht einwandfrei initialisiert, Factory konnte nicht gefunden werden: javax.faces.render.RenderKitFactory
java.lang.IllegalStateException: Die Anwendung wurde bei Systemstart nicht einwandfrei initialisiert, Factory konnte nicht gefunden werden: javax.faces.render.RenderKitFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:815)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:317)
at com.sun.faces.context.FacesContextImpl.<init>(FacesContextImpl.java:128)
at com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:93)
at org.richfaces.context.FileUploadFacesContextFactory.getFacesContext(FileUploadFacesContextFactory.java:143)
at com.sun.faces.context.InjectionFacesContextFactory.getFacesContext(InjectionFacesContextFactory.java:121)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:399)
at org.richfaces.webapp.ResourceServlet.httpService(ResourceServlet.java:110)
at org.richfaces.webapp.ResourceServlet.service(ResourceServlet.java:105)
...

The translation of the German message is:
Application was not properly initialized at startup, could not find Factory: javax.faces.render.RenderKitFactory

I've added the changed project.
Allegati: rich-calendar-test-liferay6.0.zip (5,4k)
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
23 marzo 2012 15.00
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

I just developed a demo RichFaces portlet using a SNAPSHOT of version 3.0 of the bridge (scheduled to be released around April 6th).

With this demo I was able to reproduce the resource handling problems with RichFaces. I was debugging the RichFaces code trying to figure out what's going on, but I'm out of time for today. I'll pick this up again on Monday if I can.
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
26 marzo 2012 17.20
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

I was able to make rich:calendar work with the following in WEB-INF/web.xml:

 1    <context-param>
 2        <param-name>org.richfaces.resourceMapping.enabled</param-name>
 3        <param-value>true</param-value>
 4    </context-param>
 5    <servlet>
 6        <servlet-name>Resource Servlet</servlet-name>
 7        <servlet-class>org.richfaces.webapp.ResourceServlet</servlet-class>
 8        <load-on-startup>1</load-on-startup>
 9    </servlet>
10    <servlet-mapping>
11        <servlet-name>Resource Servlet</servlet-name>
12        <url-pattern>/org.richfaces.resources/*</url-pattern>
13    </servlet-mapping>


And then I had to add the following to WEB-INF/liferay-plugin-package.xml:

1speed-filters-enabled=false


The exception you mentioned is causes by the Liferay speed filters. When enabled, the Liferay header-filter and etag-filter will be invoked for *.png which is why the calendar icon was not rendering.
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
26 marzo 2012 17.42
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

Note that I tried it with the 3.0.0 version of the bridge, which is scheduled for release on or about April 5th (next week). I didn't try it with a 2.x version of the bridge.
PortletFaces Community Member
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
27 marzo 2012 4.10
Risposta

PortletFaces Community Member

Punteggio: Regular Member

Messaggi: 201

Data di Iscrizione: 2 aprile 2012

Messaggi recenti

Thank you for your help, Neil.
The IllegalStateException isn't thrown anymore, but the calendar icon still can't be loaded, although I added "speed-filters-enabled=false" to liferay-plucking-package.properties.

<img id="A9652:form:calendarPopupButton" class="rf-cal-btn " style="vertical-align: middle" src="/rich-calendar-portlet-test-1.0.0/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.Final/Packed/DEFAULT/org.richfaces.images/calendarIcon.png"

I'll try again with the new bridge as soon as it's available.
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
27 marzo 2012 6.02
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

Do you see any exceptions reported?
PortletFaces Community Member
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
27 marzo 2012 8.21
Risposta

PortletFaces Community Member

Punteggio: Regular Member

Messaggi: 201

Data di Iscrizione: 2 aprile 2012

Messaggi recenti

No, there aren't any exceptions reported.
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
27 marzo 2012 8.52
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

OK bridge version 3.0.0-BETA1 is on schedule for release next week, around Wed April 4th or Thursday April 5th.
Ingo Schildmann
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
3 aprile 2012 9.17
Risposta

Ingo Schildmann

Punteggio: New Member

Messaggi: 10

Data di Iscrizione: 21 dicembre 2011

Messaggi recenti

If your account at www.portletfaces.org had the same email address as your account at liferay.com then the posts you made at portletfaces.org should still be authored with your name.


Unfortunately that is not the case.
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
3 aprile 2012 11.17
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

Hi Ingo,

My apologies -- very sorry about that. I just updated my blog post, letting people know that portletfaces.org accounts created after January 19, 2012 would appear as "PortletFaces Community User".

Trying to get the release done by Friday so it might be next week before I can comment further on this forum post with more technical information.

Kind Regards,

Neil
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
6 aprile 2012 6.21
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

Just wanted to mention that in my testing of 3.0.0-BETA1, that liferay-faces-bridge is working equally well in Liferay 6.0 and Liferay 6.1, and that I am not encountering the NullPointerException in PortletContainerFactoryImpl.getPortletContainer(...) mentioned at the top of this thread. So that's good news. emoticon
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
6 aprile 2012 8.19
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

For an issue related to this see FACES-263.
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
4 settembre 2012 12.13
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

The 3.0.0-BETA1 release is out. The liferay.com website should be updated later today or tomorrow with the download links.

For now, you can read the description of the RichFaces4 demo portlet here:
http://www.liferay.com/community/liferay-projects/liferay-faces/demos#richfaces4-portlet

And you can download it from here:
http://www.liferay.com/community/liferay-projects/liferay-faces/demos#richfaces4-portlet
Vijayan M
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
10 maggio 2012 2.34
Risposta

Vijayan M

Punteggio: New Member

Messaggi: 11

Data di Iscrizione: 9 maggio 2012

Messaggi recenti

Hello,
I have dowloaded richfaces4-portlet-3.1.0-BETA2.war and added below rich:extendedDataTable inside applicant.xhtml to test rich:extendedDataTable. I do not see the colors / image rendered.

 1<aui:layout id="extTabls">
 2        <rich:extendedDataTable value="#{applicantBackingBean.modelBeans}"
 3            var="modelBean" id="table" frozenColumns="1" clientRows="25"
 4            style="height:300px; width:500px;" selectionMode="none">
 5                <f:facet name="header">
 6                    <h:outputText value="Candidate List" />
 7                </f:facet>
 8                <rich:column>
 9                    <f:facet name="header">
10                        <h:outputText value="City" />
11                    </f:facet>
12                    <h:outputText value="#{modelBean.city}" />
13                </rich:column>
14                <rich:column>
15                    <f:facet name="header">
16                        <h:outputText value="Comments" />
17                    </f:facet>
18                    <h:outputText value="#{modelBean.comments}" />
19                </rich:column>   
20                <rich:column>
21                    <f:facet name="header">
22                        <h:outputText value="Email" />
23                    </f:facet>
24                    <h:outputText value="#{modelBean.emailAddress}" />
25                </rich:column>                   
26            </rich:extendedDataTable>
27    </aui:layout>

 1    public List<ApplicantModelBean> getModelBeans() {
 2        List<ApplicantModelBean> modelBeans = new ArrayList<ApplicantModelBean>();
 3        ApplicantModelBean modelBean = new ApplicantModelBean();
 4        modelBean.setCity("City");
 5        modelBean.setComments("Comments");
 6        modelBean.setEmailAddress("sdsdf@hfhf.com");
 7       
 8        ApplicantModelBean modelBean1 = new ApplicantModelBean();
 9        modelBean1.setCity("City 111");
10        modelBean1.setComments("Comments 111");
11        modelBean1.setEmailAddress("sdsdf1111@hfhf.com");
12       
13        ApplicantModelBean modelBean2 = new ApplicantModelBean();
14        modelBean2.setCity("City 2222");
15        modelBean2.setComments("Comments 2222");
16        modelBean2.setEmailAddress("sdsdf222@hfhf.com");
17       
18        modelBeans.add(modelBean);
19        return modelBeans;
20    }
Allegati: rich extendedDataTable.bmp (911,1k)
Neil Griffin
RE: PortletFaces Bridge 2.0.1, Richfaces 4.2 and Liferay 6.1.0-ce-ga1
4 settembre 2012 12.14
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2056

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

Vijayan,

Very sorry, somehow I missed your message -- Perhaps the notification system didn't send me an email. Are you still having trouble seeing the colors/image being rendered?

Neil