Documentation about MyFacesGenericPortlet

2007-05-09 Thread Kevin Irmscher
Hi is there any documentation available about the structure of MyFaces, especially about MyFacesGenericPortlet. I'm looking for an overview how the JSF lifecycle is mapped to the portlet lifecycle, sequence diagrams and so on. I couldn't find this information on the web. Can anybody provide

Re: Documentation about MyFacesGenericPortlet

2007-05-09 Thread Ryan Wynn
On 5/9/07, Kevin Irmscher [EMAIL PROTECTED] wrote: Hi is there any documentation available about the structure of MyFaces, especially about MyFacesGenericPortlet. I'm looking for an overview how the JSF lifecycle is mapped to the portlet lifecycle, sequence diagrams and so on. From what I've

Re: Documentation about MyFacesGenericPortlet

2007-05-09 Thread Scott O'Bryan
MyFacesGenericPortlet. I'm looking for an overview how the JSF lifecycle is mapped to the portlet lifecycle, sequence diagrams and so on. From what I've seen of the source code this is the mapping: Portlet Action Phase Restore view Apply request values; process events Process validations

Problems with MyFacesGenericPortlet and WSRP

2007-05-08 Thread Kevin Irmscher
Hi, using MyFacesGenericPortlet to convert a JSF application into a portlet works great. However, there are some problems if a JSF portlet is exposed through WSRP. I'm using Liferay 4.2.2 as WSRP producer which contains an implementation of WSRP4J to expose portlets. 1. Resource URLs (e.g

RE: exception handling in subclass of MyFacesGenericPortlet

2006-11-28 Thread Nebinger, David
of MyFacesGenericPortlet Hi folks! Is there a way to handle exceptions in a subclass of the MyFacesGenericPortlet? I want to show a different page with a different message if an exception is thrown. regards Steven

exception handling in subclass of MyFacesGenericPortlet

2006-11-27 Thread Stefan Gesigora
Hi folks! Is there a way to handle exceptions in a subclass of the MyFacesGenericPortlet? I want to show a different page with a different message if an exception is thrown. regards Steven

Re: problem MyFacesGenericPortlet

2006-11-13 Thread Benjamin Bratkus
, I'm trying to create a portlet with MyFaces simple example. I'm using MyFacesGenericPortlet and Pluto 1.1.0. This is my portlet.xml portlet-app xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd; version=1.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema

problem MyFacesGenericPortlet

2006-11-11 Thread Jose Merchan Bosch
Hi, I'm trying to create a portlet with MyFaces simple example. I'm using MyFacesGenericPortlet and Pluto 1.1.0. This is my portlet.xml portlet-app xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd; version=1.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance

Re: problem MyFacesGenericPortlet

2006-11-11 Thread Matthias Wessendorf
is your app including the portlet-api jar? On 11/11/06, Jose Merchan Bosch [EMAIL PROTECTED] wrote: Hi, I'm trying to create a portlet with MyFaces simple example. I'm using MyFacesGenericPortlet and Pluto 1.1.0. This is my portlet.xml portlet-app xmlns=http://java.sun.com/xml/ns

Re: problem MyFacesGenericPortlet

2006-11-11 Thread Jose Merchan Bosch
:106) is your app including the portlet-api jar? On 11/11/06, Jose Merchan Bosch [EMAIL PROTECTED] wrote: Hi, I'm trying to create a portlet with MyFaces simple example. I'm using MyFacesGenericPortlet and Pluto 1.1.0. This is my portlet.xml portlet-app xmlns=http

Using MyFacesGenericPortlet with Bea Weblogic Portal 8.1

2006-08-16 Thread Stefan Aigner
Hi all, I want to use MyFacesGenericPortlet to convert existing portlets running under Bea Weblogic Portal 8.1 SP5 to use JSF. I am relatively new to this, so I started with the MyFaces expamples app. I tried to convert it into a portlet by following the steps under http://wiki.apache.org

Re: Using MyFacesGenericPortlet with Bea Weblogic Portal 8.1

2006-08-16 Thread Dave Brondsema
Stefan Aigner wrote: Hi all, I want to use MyFacesGenericPortlet to convert existing portlets running under Bea Weblogic Portal 8.1 SP5 to use JSF. I am relatively new to this, so I started with the MyFaces expamples app. I tried to convert it into a portlet by following the steps under

Re: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash.

2006-04-17 Thread Dave Brondsema
Marcio E Miranda wrote: Hi, This may or may not be specific to the portlet implementation of My Faces, but when a portlet implementing MyFacesGenericPortlet is maximized in Liferay, the following exception is thrown: Do you think this is a My Faces issue? The others portlets

RE: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash.

2006-04-14 Thread Stan Silvert
and see what happens. Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 8:55 PM To: MyFaces Discussion Subject: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay

RE: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash.

2006-04-14 Thread Marcio E Miranda
: sexta-feira, 14 de abril de 2006 15:27 To: MyFaces Discussion Subject: RE: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash. Im not sure what the problem is but I find it strange that maximize would cause a call to processAction(). Im not sure if processAction

RE: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash.

2006-04-14 Thread Stan Silvert
] callto://stansilvert From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 5:31 PM To: MyFaces Discussion Subject: RE: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash. Yes, From what I got in the logs, the processAction

Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash.

2006-04-13 Thread Marcio E Miranda
Hi, This may or may not be specific to the portlet implementation of My Faces, but when a portlet implementing MyFacesGenericPortlet is maximized in Liferay, the following exception is thrown: 00:35:32,497 INFO [STDOUT] javax.portlet.PortletException 00:35:32,497 INFO [STDOUT

RE: MyFacesGenericPortlet messing with PortletPreferences in Liferay?

2006-04-04 Thread Marcio E Miranda
suspicious of MyFaces. But in the end MyFaces has nothing to do with it. Thanks anyway. Marcio. From: Stan Silvert [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 3 de abril de 2006 22:08 To: MyFaces Discussion Subject: RE: MyFacesGenericPortlet messing with PortletPreferences in Liferay

RE: MyFacesGenericPortlet messing with PortletPreferences in Liferay?

2006-04-03 Thread Stan Silvert
PROTECTED] callto://stansilvert From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:30 PM To: MyFaces Discussion Subject: MyFacesGenericPortlet messing with PortletPreferences in Liferay? Hi, If I run the following code in the doView method of a portlet

Null Pointer Excetpion in MyFacesGenericPortlet

2005-12-13 Thread Stefan Tausendpfund
Hello, we created an portal application on JBoss Server 4.0.3SP1 with portal 2.0.1RC3 using myfaces MyFacesGenericPortlet. We have several pages and several portlets in one page. One portlet is present in all pages. If I make an action on this portlet (portletwindow0) and switch the page

RE: Null Pointer Excetpion in MyFacesGenericPortlet

2005-12-13 Thread Stan Silvert
Hi Stefan, Can you move this question to the JBoss Portal forums? This way Julien from the JBoss Portal team will see it. He is the lead for JBoss Portal. I wrote the MyFacesGenericPortlet. I haven't had time to think it all the way through, but I'm guessing that it will take all three of us

Re: Portlet Modes (was: Issue with MyFacesGenericPortlet)

2005-10-05 Thread Dave Brondsema
Patrick Dalla Bernardina wrote: How can I call an managed bean action when portlet mode (EDIT,VIEW) is changed and process the navigation rules to discover the page to be rendered? You can use http://wiki.apache.org/myfaces/UsingPortletModes as a starting point. To invoke a managed bean

Re: Issue with MyFacesGenericPortlet

2005-10-04 Thread Galen Dunkleberger
As a work around I simpliy extended MyFacesGenericPortlet and overrode the processAction method like this... Code: /** * Called by the portlet container to allow the portlet to process an action request. */public void processAction(ActionRequest request, ActionResponse

Re: Issue with MyFacesGenericPortlet

2005-10-04 Thread Patrick Dalla Bernardina
first and see if you've ever come across the problem. So I'm using JBoss Portal 2.0.1 RC1 with the latest nightly build of MyFaces. If I use the default portal and create a new portlet using MyFacesGenericPortlet the interface renders, I can navigate to my portlet, everything works great. If I

Issue with MyFacesGenericPortlet

2005-10-03 Thread Galen Dunkleberger
using MyFacesGenericPortlet the interface renders, I can navigate to my portlet, everything works great. If I declare a separate portal instance within the portal server (so i now have a *-portal.xml configuration file) and I say I want to use one of my MyFacesGenericPortlet's as the default portlet

Re: Issue with MyFacesGenericPortlet

2005-10-03 Thread Galen Dunkleberger
in the processAction method of the MyFacesGenericPortlet and if it's null perform the same actions that occur in the nonFacesRequest method where you create a new viewRoot and set the viewId to be the default view? Or is there a better solution?On 10/3/05, Galen Dunkleberger [EMAIL PROTECTED] wrote:Not

Re: NullPointerException when using MyFacesGenericPortlet

2005-09-12 Thread Dave Brondsema
Yes it does, if you use MyFacesGenericPortlet. If you want to have a default view for each portlet mode, see http://wiki.apache.org/myfaces/UsingPortletModes javaone9 wrote: Does portlet work well with JSF page navigation? Thanks. */Dave Brondsema [EMAIL PROTECTED]/* wrote: Any ideas

Re: NullPointerException when using MyFacesGenericPortlet

2005-09-07 Thread Dave Brondsema
If you subclass MyFacesGenericPortlet and call nonFacesRequest(...) you must first call setPortletRequestFlag(request); This is very non-obvious and so I'll suggest a better way in a new thread Dave Brondsema wrote: I'm developing a portlet using MyFaces and extending

Re: NullPointerException when using MyFacesGenericPortlet

2005-09-06 Thread Dave Brondsema
Any ideas? Or is there a better place to ask this? Dave Brondsema wrote: I'm developing a portlet using MyFaces and extending the MyFacesGenericPortlet class. After working some and doing several redeploys, I get the following NPE. I have to restart Tomcat for it to work again. Any idea

NullPointerException when using MyFacesGenericPortlet

2005-08-29 Thread Dave Brondsema
I'm developing a portlet using MyFaces and extending the MyFacesGenericPortlet class. After working some and doing several redeploys, I get the following NPE. I have to restart Tomcat for it to work again. Any idea why? Thanks! Aug 29, 2005 3:49:18 PM

MyFacesGenericPortlet

2005-08-26 Thread Patrick Dalla Bernardina
When I execute nonFacesRequest to go to a view without obeying navigation-rules the state of Navigation is not saved. So, after that, when I click the maximize or restore button of portlet the portlet goes back to the previous page. How can I change this navigation state?

Two MyFacesGenericPortlet in same Portal Page

2005-08-16 Thread Patrick Dalla Bernardina
Hi, I'm facing some problems in deployment of myfaces on jboss and the myfacesgenericportlet in jbossportal. I don't know if the problem is with myfaces or jbossportal. Maybe someone had this problem too: When I deploy two portlets that implements MyFacesGenericPortlet in the same page