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
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
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
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
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
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
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
!
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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.
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);
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
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
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
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
27 matches
Mail list logo