Re: using portlet modes

2007-05-18 Thread Alexander Wallace
listeners. On May 10, 2007, at 6:07 PM, Ryan Wynn wrote: On 5/10/07, Alexander Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules

RE: using portlet modes

2007-05-18 Thread Cooper, Stephen
Discussion Subject: Re: using portlet modes I see... Indeed i can change the next page displayed doing this.. But i have not found how to switch the mode back to view so that the portlet decoration icons go back to the set displayed when in view mode... What I have is the page displayed normally under

Re: using portlet modes

2007-05-18 Thread Alexander Wallace
Message- From: Alexander Wallace [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 3:17 PM To: MyFaces Discussion Subject: Re: using portlet modes I see... Indeed i can change the next page displayed doing this.. But i have not found how to switch the mode back to view so

Re: using portlet modes

2007-05-17 Thread Alexander Wallace
mode. You do not need to introduce phase listeners. On May 10, 2007, at 6:07 PM, Ryan Wynn wrote: On 5/10/07, Alexander Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about

Re: using portlet modes

2007-05-17 Thread Scott O'Bryan
Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules to compensate? I'm doing stuff like this: If you hit the edit icon you are taken

Re: using portlet modes

2007-05-15 Thread Ryan Wynn
finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules to compensate? I'm doing stuff like this: If you hit the edit icon you are taken to the edit jsp correctly (so far so good) via

Re: using portlet modes

2007-05-11 Thread Alexander Wallace
Thank you very much for your reply... I will do some research on the jsf phases ... Any pointers is greatly appreciated also... Thanks! On May 10, 2007, at 6:07 PM, Ryan Wynn wrote: On 5/10/07, Alexander Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf

Re: using portlet modes

2007-05-11 Thread Alexander Wallace
! On May 10, 2007, at 6:07 PM, Ryan Wynn wrote: On 5/10/07, Alexander Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules to compensate? I'm

Re: using portlet modes

2007-05-11 Thread Alexander Wallace
I can't find much info about the suggestion you make in google... Any more details are greatly appreciated... Thanks! On May 10, 2007, at 6:07 PM, Ryan Wynn wrote: On 5/10/07, Alexander Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf at the very least

using portlet modes

2007-05-10 Thread Alexander Wallace
Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules to compensate? I'm doing stuff like this: If you hit the edit icon you are taken to the edit jsp correctly (so

Re: using portlet modes

2007-05-10 Thread Ryan Wynn
On 5/10/07, Alexander Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules to compensate? I'm doing stuff like this: If you hit the edit

Re: Do Portlet Modes and JSF navigation work together?

2006-02-28 Thread Todd Papaioannou
Stan Thanks for the reply. I took that section out, but that wasn't it. I'm wondering if perhaps I'm missing some jar file(s) and something is just silently failing in the background. Is there a list of jars I need to include with my portlet for MyFaces to work correctly? Thanks Todd Stan

RE: Do Portlet Modes and JSF navigation work together?

2006-02-28 Thread Stan Silvert
PROTECTED] callto://stansilvert -Original Message- From: Todd Papaioannou [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 3:31 PM To: MyFaces Discussion Subject: Re: Do Portlet Modes and JSF navigation work together? Stan Thanks for the reply. I took that section out

Do Portlet Modes and JSF navigation work together?

2006-02-27 Thread Papaioannou, Todd
I have been attempting to build a JSF based portlet with MyFaces and have been having a problem in getting JSF navigation to work with myfaces-1.1.1. I followed the instructions on the Wiki for how to create my own portlet and add edit modes. This works great and I can deploy it into my portal

RE: Do Portlet Modes and JSF navigation work together?

2006-02-27 Thread Papaioannou, Todd
attached the salient files from my portlet. Perhaps I've goofed elsewhere? Any insight greatly appreciated. Thanks Todd -Original Message- From: Stan Silvert [mailto:[EMAIL PROTECTED] Sent: Monday, February 27, 2006 1:45 PM To: MyFaces Discussion Subject: RE: Do Portlet Modes

RE: Do Portlet Modes and JSF navigation work together?

2006-02-27 Thread Papaioannou, Todd
page of the portlet, and then hit refresh. So I guess _something_ is wrong. I am not just sure what. Todd -Original Message- From: Papaioannou, Todd Sent: Monday, February 27, 2006 2:21 PM To: MyFaces Discussion Subject: RE: Do Portlet Modes and JSF navigation work together? I am

RE: Do Portlet Modes and JSF navigation work together?

2006-02-27 Thread Stan Silvert
-Original Message- From: Papaioannou, Todd [mailto:[EMAIL PROTECTED] Sent: Monday, February 27, 2006 5:21 PM To: MyFaces Discussion Subject: RE: Do Portlet Modes and JSF navigation work together? I am not getting any error in any log other than this one : 22:17:29,449 ERROR

RE: Portlet Modes

2005-10-13 Thread Stan Silvert
Subject: Re: Portlet Modes This description is off the top of my head, but I know for sure that I had problems when I didn't set it. There are some places in MyFaces where it needs to cast ExternalContext.getContext() as either a PortletContext or a ServletContext. MyFaces shouldn't

Re: Portlet Modes

2005-10-06 Thread Dave Brondsema
This description is off the top of my head, but I know for sure that I had problems when I didn't set it. There are some places in MyFaces where it needs to cast ExternalContext.getContext() as either a PortletContext or a ServletContext. MyFaces shouldn't require having a portlet.jar so it

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: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
Ok, I had already seen this wiki page. An implemented a subclass o MyFacesGenericPortlet that implements these methods. But it has some limitations. First: I can't call an managed bean action when the mode is changed. Second: The rules in navigation rules are not followed. Third: It don't

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
With your help I've made an improvement to the implementation in wiki page. Before calling nonFacesRequest I call an action of an bean called PortletBackBean. If this bean is not declared in managed beans, no method is called. I'm showing only doEdit, but the same can be applied to doView.

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
It can be improved by getting the action to be executed from portlet preferences. instead of fctx.getApplication().createMethodBinding(#{PortletBackBean.edit}, null); use fctx.getApplication().createMethodBinding(request.getPreferences().getValue(VIEW_ACTION,#{PortletBackBean.view}), null);

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
What is setPortletRequestFlag(request); for? Dave Brondsema wrote: Cool. Make sure you call setPortletRequestFlag(request); before nonFacesRequest. It might be useful to include part of this on the wiki page as an example for anyone else who wants to do that. Patrick Dalla Bernardina

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
New release of doEdit and doView: In this code, facesRender is called. An action configured in EDIT_ACTION portlet preference is called and the result is passed to handleNavigation. handle navigation looks for an navigation rule where from can be * or value of DEFAULT_EDIT portlet init

Re: portlet modes

2005-08-26 Thread Dave Brondsema
Dave Brondsema wrote: How can I create a link which changes portlet modes (view, edit, etc) and states (minimized, normal, etc)? portlet:actionURL var=viewURL portletMode=view/ gives me a URL but when I try to put it in a commandlink or outputlink it doesn't work. ${viewURL} isn't allowed

portlet modes

2005-08-24 Thread Dave Brondsema
How can I create a link which changes portlet modes (view, edit, etc) and states (minimized, normal, etc)? portlet:actionURL var=viewURL portletMode=view/ gives me a URL but when I try to put it in a commandlink or outputlink it doesn't work. ${viewURL} isn't allowed by the TLD and #{viewURL