[ANNOUNCE] Release of Apache MyFaces Portlet Bridge 3.0.0-alpha (Portlet Bridge for JSF 2.0)

2011-04-07 Thread Michael Freedman
. Release Notes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310733version=12316085 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310733version=12316085 Enjoy! Michael Freedman

Re: org.apache.myfaces.ERROR_HANDLER with portlet-bridge

2011-03-08 Thread Michael Freedman
... Is it better to use com.sun.facelets.FaceletPortletViewHandler ? Le 07/03/2011 22:44, Michael Freedman a écrit : No idea -- as this is an error rendering a resource accessed via http (i.e. not through the portlet -- but as a consequence of rendering a portlet). Obviously there is an issue

Re: org.apache.myfaces.ERROR_HANDLER with portlet-bridge

2011-03-07 Thread Michael Freedman
No idea -- as this is an error rendering a resource accessed via http (i.e. not through the portlet -- but as a consequence of rendering a portlet). Obviously there is an issue with the preferencesController managed bean. What scope is it at? Can you set a breakpoint in geet/set localeItems

[ANNOUNCE] Release of Apache MyFaces Portlet Bridge 2.0.0 [aka JSR 329's RI]

2011-01-18 Thread Michael Freedman
/ReleaseNote.jspa?version=12313608styleName=HtmlprojectId=12310733 The JSR 329 specification is available at http://www.jcp.org/en/jsr/detail?id=329 Enjoy! Michael Freedman

[ANNOUNCE] Release of Apache MyFaces Portlet Bridge TCK for JSR-329 v1.0.0 [aka JSR 329's TCK]

2011-01-18 Thread Michael Freedman
directory in subversion at: * http://svn.apache.org/repos/asf/myfaces/portlet-bridge/tck/tags/jsr329-1.0.0 The TCK User manual is included in the distribution. The JSR 329 specification is available at http://www.jcp.org/en/jsr/detail?id=329 Enjoy! Michael Freedman

Re: TRinidad + Portlet-Bridge ViewExpired in Internet Explorer

2010-10-28 Thread Michael Freedman
. I hope not to have made you lose too much time. Le 27/10/2010 22:48, Michael Freedman a écrit : Can you give us some additional details? 1. Can you confirm that /stylesheets/desktop/welcome.jsf is a valid viewId/view you have provided in the app? I.e. its not a resource/stylesheet

Re: TRinidad + Portlet-Bridge ViewExpired in Internet Explorer

2010-10-27 Thread Michael Freedman
Can you give us some additional details? 1. Can you confirm that /stylesheets/desktop/welcome.jsf is a valid viewId/view you have provided in the app? I.e. its not a resource/stylesheet referenced in the markup of a view? 2. Describe the various steps you take before this problem

Re: PortletBridge starting portlet problem

2010-08-31 Thread Michael Freedman
-lille1.fr/get?k=QxI6pCDOMWM12k0bTdJ Thank you in advance. Michael Freedman a �crit : This feels more environmental than anything else. Is this still just the situation when accessing from an iPhone user-agent? The regular user-agent still works fine? Can you send me a complete

[ANNOUNCE] Release of Apache MyFaces Portlet Bridge 1.0.0

2010-07-22 Thread Michael Freedman
is available in the central Maven repository under Group ID org.apache.myfaces.portlet-bridge. Release Notes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12313582styleName=HtmlprojectId=12310733 Enjoy! Michael Freedman

[ANNOUNCE] Release of Apache MyFaces Portlet Bridge TCK for JSR-301 v1.0.0

2010-07-22 Thread Michael Freedman
is only available as a source distribution because the test harness is run as a build target. The distribution includes the maven build scripts, tests, and test harness as well as a user's guide. To download the TCK: * http://myfaces.apache.org/portlet-bridge/jsr301tck.html Enjoy! Michael

Re: PortletBridge starting portlet problem

2010-07-13 Thread Michael Freedman
) mPortletRequest.getAttribute(Bridge.PORTLET_LIFECYCLE_PHASE)) --- May be, have I missed something in config files ? I think there is something wrong between trinidad and portletBridge... Michael Freedman a écrit : Looks like its failing in this line in Trinidad

Re: PortletBridge starting portlet problem

2010-07-08 Thread Michael Freedman
) at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:636) ... 40 more Michael Freedman a écrit : Hum... This is what I see for line 428 (BridgeImpl.doFacesRequest(BridgeImpl.java:428): if (request.getPortletSession().getAttribute(key) == null) As the request object

Re: PortletBridge starting portlet problem

2010-07-06 Thread Michael Freedman
Hum... This is what I see for line 428 (BridgeImpl.doFacesRequest(BridgeImpl.java:428): if (request.getPortletSession().getAttribute(key) == null) As the request object has already been dereferenced before this line, the only way, that I can see, that this can throw a NullPointerException

Re: Trinidad PortletBridge buttons don't work fine

2010-07-01 Thread Michael Freedman
I wonder if this problem is the same as PORTLETBRIDGE-100 https://issues.apache.org/jira/browse/PORTLETBRIDGE-100 (https://issues.apache.org/jira/browse/PORTLETBRIDGE-100): The first page of the JSF sample CarDemo has you set the locale for the demo. You choose a language/region and the

Re: MyFaces JSF-Portlet Bridge and Facelets

2010-06-17 Thread Michael Freedman
Michael Freedman Thu, 10 Jun 2010 08:06:17 -0700 What bridge are you using? It sounds like the myfaces bridge that was included in MyFaces 1.1. The information referenced in the cited posting concerning the provided portletFaceletViewHandler concerns the JSR 301/329 bridges (Portlet 1.0 Bridge

Re: MyFaces JSF-Portlet Bridge and Facelets

2010-06-15 Thread Michael Freedman
-Portlet Bridge and Facelets Michael Freedman Thu, 10 Jun 2010 08:06:17 -0700 What bridge are you using? It sounds like the myfaces bridge that was included in MyFaces 1.1. The information referenced in the cited posting concerning the provided portletFaceletViewHandler concerns the JSR 301/329

Re: MyFaces JSF-Portlet Bridge and Facelets

2010-06-10 Thread Michael Freedman
What bridge are you using? It sounds like the myfaces bridge that was included in MyFaces 1.1. The information referenced in the cited posting concerning the provided portletFaceletViewHandler concerns the JSR 301/329 bridges (Portlet 1.0 Bridge for JavaServer Faces 1.2 and Portlet 2.0

Re: portletbridge action don't work

2010-06-10 Thread Michael Freedman
Any chance you can send us the (source) code for this sample so I can look through it and try to see what might be wrong? Also can you clarify what your problem is? Are you saying that it only runs as a servlet and not as a portlet? I.e. you can register the portlet but it never renders?

Re: Portletbride and Trinidad skin not found

2010-06-10 Thread Michael Freedman
Can you provide more information? What specific warnings are you seeing? Anything else? On 6/10/2010 6:50 AM, Yves Deschamps wrote: Hi, My JSF Trinidad application (servlet) run. But in portlet mode the skins are not found (warning message)... An idea ?

Re: Error with deploying portlet in uportal with portlet bridge

2010-05-26 Thread Michael Freedman
You seem to have the Faces servlet defined twice: as Faces Servlet and faces while only having the Faces Servlet mapped to a path (*.jsf) -- see bold sections below. Alas, the bridge uses a simple parser which only expects to find one servlet defintion for Faces. Since faces is the last one

Re: About the h:outputLink in Portlet Bridge still redirect out of portal

2010-04-14 Thread Michael Freedman
Can you try, instead? h:outputLink value=pages/calculator.jsf?javax.portlet.faces.ViewLink=true h:outputText value=outputlink/ /h:outputLink The bridge doesn't deal with quoted queryString values. Try the above and if it still doesn't work, send me the generated markup as you did below.

Re: Myfaces Portlet Bridge error on deploy

2010-04-01 Thread Michael Freedman
What version of Faces are you using and is it Mojarra or MyFaces? I suspect Mojarra based on the problem you describe. If Mojarra try upgrading to 1.2_13. Liferay has a bug in it that prevents the bridge from caching/restoring the javax.servlet.include attributes leading to the problem you are

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
Not quite true. Facelets native ViewHandler is servlet dependent. The trick for running Facelets in a portlet environment via a bridge is to provide an alternative ViewHandler using the portlet APIs and configuring this ViewHandler in your faces-config.xml. So yes the MyFace Portlet bridge

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
FAQ, news, and info | twitter: jsfcentral +1 203-404-4848 x3 Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 On Thu, Mar 18, 2010 at 9:44 AM, Michael Freedman michael.freed...@oracle.com mailto:michael.freed...@oracle.com wrote: Not quite true. Facelets native

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter: jsfcentral +1 203-404-4848 x3 Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 On Thu, Mar 18, 2010 at 9:44 AM, Michael Freedman michael.freed...@oracle.com mailto:michael.freed...@oracle.com

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
to use the same view handler to view the app directly. So, I'd like the source to your modifications if you are willing to share. Thanks. On 3/18/2010 1:10 PM, Michael Freedman wrote: The current facelets distributions contains a portlet demo that includes the source

Re: MyFaces 1.2.6, JBoss PortletBridge 1.0.0CR3 Postback with LifeRay 5.2.3

2010-03-17 Thread Michael Freedman
I don't think this is related. FYI ... there are two types of state (potentially) being managed/preserved by the bridge: 1) action parameters saved and reexposed during the render this is off by default -- there is a portlet init parameter you set to enable this 2) request scope

Re: MyFaces 1.2.6, JBoss PortletBridge 1.0.0CR3 Postback with LifeRay 5.2.3

2010-03-17 Thread Michael Freedman
You will need to do a little digging to see if your intuition is right. Double check the html source in the browser of the page that contains the commandLink. Does is look like the reference tries to submit the form that the commandLink is contained within (via javascript)? If so, can you

Re: MyFaces deployment error on eXo PC (portlet container)

2009-08-05 Thread michael freedman
. michael freedman wrote: Fernando, For the bridge/myfaces1.2.7 deploy -- did you look at the log files? Can you post (the perinent portions of the catalina.log and localhost.log). I was able to deploy a bridge/myfaces1.2.7 without error. It happened to be a portlet 2.0 version

Re: MyFaces deployment error on eXo PC (portlet container)

2009-08-04 Thread michael freedman
Fernando, For the bridge/myfaces1.2.7 deploy -- did you look at the log files? Can you post (the perinent portions of the catalina.log and localhost.log). I was able to deploy a bridge/myfaces1.2.7 without error. It happened to be a portlet 2.0 version of the bridge but it shouldn't

Re: MyFaces deployment error on eXo PC (portlet container)

2009-08-04 Thread michael freedman
problem -- so pelase double check the logs. michael freedman wrote: Fernando, For the bridge/myfaces1.2.7 deploy -- did you look at the log files? Can you post (the perinent portions of the catalina.log and localhost.log). I was able to deploy a bridge/myfaces1.2.7 without error

Re: JSR 301 portlet bridge for Portlet 2.0 specs

2009-01-20 Thread michael freedman
To Saurabh M Agarwal/India/i...@ibmin cc Subject Fwd: Fwd: [PORTAL] JSR301 portal bridge -- Forwarded message -- From: michael freedman michael.freed...@oracle.com Date: Fri, Dec 5, 2008 at 12:11 AM Subject: Re: Fwd: [PORTAL] JSR301 portal

Re: [PORTAL] JSR301 portal bridge

2008-11-20 Thread michael freedman
Following up with a little more detail: As Scott says JSR 301 is working on two specifications: Portlet 1.0 Bridge for JavaServer Faces Portlet 2.0 Bridge for JavaServer Faces The Portlet 1.0 Bridge has just completed its Public Review and I am about to post the Proposed Final Draft. The

Re: About Portlets 2.0 and JSF

2008-03-06 Thread Michael Freedman
FYI ... here are the preliminary thoughts related to Portlet 2.0 Coordination features (events and public parameters) that are being worked on in the JSR 301 EG -- the plan is to have an Early Public Draft and hopefully an basic impl of the RI (MyFaces PortletBridge project between mid-April

Re: Portlet Environment and Orchestra

2008-02-06 Thread Michael Freedman
Attached is the current draft of chapter 8 on the JSR 301 spec (portlet bridge). It describes things developers of Faces extensions should be aware of to cohabitate with a bridge/run in a portlet environment. The short answer to your question is no, the bridge won't help you here. Portlet 1.0

Re: R: JBoss Portal and encodeNamespace

2008-01-31 Thread Michael Freedman
Yes, JBoss likely complies with the spec in that the TCK tests are too loose. I will forward this to the JSR 286 spec lead for comment/potential improvement in the 286 spec -- but as Scott points out the use of getNameSpace is clear -- it is to be used for prefixing ids/names in markup

Re: R: JBoss Portal and encodeNamespace

2008-01-31 Thread Michael Freedman
FYI ... I contacted the JBoss rep in JSR 301 and he indicates this is a known problem which will be fixed soon: You are correct:http://jira.jboss.com/jira/browse/JBPORTAL-1875. And this should be fixed in the upcoming 2.6.4 release (Feb 11) -Mike- Michael Freedman wrote: Yes, JBoss

Re: Myfaces/Tomahawk on IBM WebSphere Portal Server 6

2007-10-24 Thread Michael Freedman
FYI ... The preliminary RI for JSR-301 Faces Portlet Bridge should be exposed as a new MyFaces subproject in the next day or two. You might consider switching to using this bridge going forward as the JSR has/is trying to account for all the various issues folks have run into with past