[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2006-02-07 Thread Michael Lipp (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12365406 
] 

Michael Lipp commented on MYFACES-549:
--

I don't think Liferay breaks the spec. See comments on MYFACES-821.


> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: 1.1.1
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
> Priority: Minor
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-10-03 Thread Tanju Erinmez (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12331198 
] 

Tanju Erinmez commented on MYFACES-549:
---

Hi Stan,

You might want to have a look at MYFACES-660 which I just entered. After having 
discussed the issue above with Brian Chan from Liferay, this behavior also 
appears on BEA.

Cheers,
Tanju

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: 1.1.1
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
> Priority: Minor
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-10-03 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12331181 
] 

Stan Silvert commented on MYFACES-549:
--

No need for a patch.  I don't want to add code to MyFaces just because LifeRay 
has a bug.   I'm sure they will want to fix this as soon as possible if they 
have not done so already because they are breaking the portlet spec.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: 1.1.1
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
> Priority: Minor
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-30 Thread Tanju Erinmez (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12330980 
] 

Tanju Erinmez commented on MYFACES-549:
---

Hi folks,

I haven't checked out zeroconfs demo but I have experienced a similar problem 
with liferay 3.6.1 ent and my demo app (which is attached in 
http://issues.apache.org/jira/browse/MYFACES-650). Once you have overcome this 
problem the next one is around at 
http://issues.apache.org/jira/browse/MYFACES-650).

I think this particular problem occurs when client state saving is used. Server 
state mode works for me.

The problem seems to be a liferay issue. I have noticed during debugging that 
the attribute map is not properly isolated from one RenderRequest to another. 
What basically happens, is that a serialized view is created and stored in the 
attribute map for subsequent processing in the very same RenderRequest of the 
first portlet. Now when the second portlet's RenderRequest is issued it finds 
an already serialized view in the attribute map and uses this one instead of 
creating its own. Consequently, the second portlet renders and writes out the 
state tree of the first portlet (you can see this if you compare the hidden 
field contents of the jsf_state_trees).

Now, if you issue an action in the second portlet the restore view phase sees a 
mismatch between its current view and what the state tree represents. It just 
gives up and goes straight to the render phase (which again writes out the 
wrong serialized view).

So basically, after startup you are set up on a wrong track and you gonna stay 
there for a long time without parole :-)

A quick and dirty resolution would be simply to manually remove this serialized 
attribute whenever a lifecycle.render has been concluded. 

Specifically, you need to create a custom portlet class, override  
facesRender() and copy the entire method content over from 
MyFacesGenericPortlet. And then add the following

  request.removeAttribute(JspStateManagerImpl.class.getName() + 
".SERIALIZED_VIEW");
  // this is not related to the problem but it doesn't  hurt to clean it up as 
well
  
request.removeAttribute("org.apache.myfaces.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID");
  

after 

  nonFacesRequest(request,  response);

and

  lifecycle.render(facesContext);


To recap this is not a myfaces problem and I don't have a proper setup right 
now handy with a virgin MyFacesGenericPortlet  to create a patch. But if this 
topic is still burning interest I'll be glad to create one and submit it to 
this thread.

Cheers,
Tanju


> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: 1.1.1
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
> Priority: Minor
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
> 

[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-14 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12329327 
] 

Stan Silvert commented on MYFACES-549:
--

You might try saving the view id in the portlet session instead of in a request 
attribute, but I'm not sure if it will work in all cases.  The only workaround 
that is sure to work is to fix LifeRay.  From what I have seen it looks like 
they are not following the portlet spec.  As I said, JBoss Portal and Pluto 
both do this correctly.  I assume that JetSpeed works as well but I haven't 
tried it.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-14 Thread zeroconf (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12324513 
] 

zeroconf commented on MYFACES-549:
--

I also opened a bug report on Liferay's JIRA - but withou any response

http://support.liferay.com/browse/LEP-507

Nhat Vo do you have any work arround to solve the navigation problem with more 
than one 
JSF portlet in Liferay? I'd like to write my portlets with JSF and Liferay - 
but that's just not 
possible at the moment :-( .

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-13 Thread Nhat Vo (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12324472 
] 

Nhat Vo commented on MYFACES-549:
-

Sorry Stan, I just did another test with jboss and it worked just like u said.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-13 Thread Nhat Vo (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12324467 
] 

Nhat Vo commented on MYFACES-549:
-

hi Stan,
sorry for the confusion,  I should have let you guys know I am commenting on 
this issue also. Anyhow, I am having similar problem with zeroconf, and I 
replied to zeroconf on Liferay forum. Let me clarify what I did.

I used cardemo (it works fine by itself), but instead of using everything, I 
added 4 jsp pages with 4 basic navigation setting two for each portlet (at the 
end of faces-config.xml), and modified it so that it displays 2 portlets inside 
jboss portal. No backing being used beans at all, just basic jsp files. The 
behavior was exactly the same with Liferay problem. The top portlet's 
functionalities were okay, but the bottom one rendered with the top portlet's 
setting, so the links of the second portlets were all wrong... In Liferay, we 
could move the portlets up and down, so when the bottom portlet moved up to the 
top, its functionalities were okay (after one or two action performed), but the 
one at the bottom broke.


> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
> 

[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-13 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12324443 
] 

Stan Silvert commented on MYFACES-549:
--

Oh wait.  It was Nhat Vo who attached cardemo.  I didn't realize that we had 
three people commenting on this.  I thought I was talking to the original 
poster the whole time.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-13 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12324442 
] 

Stan Silvert commented on MYFACES-549:
--

I didn't attach cardemo, you did.

Please answer my previous questions.  Also, are you running these two simple 
apps on LifeRay or JBoss Portal?  



> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-13 Thread zeroconf (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12324426 
] 

zeroconf commented on MYFACES-549:
--

No - I haven't tested the cardemo jet. I'll see if cardemo you attached is 
running in my environment.

I made to really simple JSF portlets as you can see above in my 
faces-config.xml.

JSF portlet 1 shows an default-view "/jsp/jsf1/index.jsp".On This page there is 
just one commandButton 
displayed which invokes action "p1next" which will take you to the next view 
"/jsp/jsf1/n1.jsp". 
>From there you get back to  "/jsp/jsf1/index.jsp" with action "p1back".

JSF Portlet 2 is doing exactly the same just with other views - they all have 
the prefix "/jsp/jsf2" and 
all actions have the prefix "p2" instead of "p1".

this are the two files for JSF portlet 1:
=

/jsp/jsf1/index.jsp:

<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>

(JSF portlet 1) index-view






/jsp/jsf1/n1.jsp:

<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>

(JSF portlet 1) next-view





> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apac

[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-12 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323305 
] 

Stan Silvert commented on MYFACES-549:
--

Now I need to be more specific.  When I said "Also, I tested two MyFaces 
portlets on the same page using the latest build and JBoss Portal 2.0 RC2 (an 
older version than the one you used)."  I meant the latest version of MyFaces 
that I built from SVN two days ago.  I used a patched version of JBoss Portal 
2.0 RC2 with this.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-12 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323302 
] 

Stan Silvert commented on MYFACES-549:
--

Nhat,

You need to be a bit more specific. Are you saying that the cardemo doesn't 
work by itself?  I thought the whole problem was with running two MyFaces 
portlets on the same page using LifeRay?

JBoss Portal ships with a working version of cardemo running under MyFaces so I 
am quite sure that works unless it was broken by the latest release candidate.  
Also, I tested two MyFaces portlets on the same page using the latest build and 
JBoss Portal 2.0 RC2 (an older version than the one you used).  One of the two 
portlets was the cardemo.

Because I have also tested two portlets on the same page with Pluto, I am 
pretty confident that this is not a general MyFaces problem.

There are other possibilities such as that your particular application is 
demonstrating and new flaw in MyFaces but now you are saying that the cardemo 
doesn't work?

Also, you refer to the "modified cardemo for jboss".  Does that mean you 
personally modified it or are you just referring to the modifications made to 
make it run under MyFaces instead of the RI?

Please clarify.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf
>  Attachments: cardemo.war.zip
>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGener

[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-10 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323152 
] 

Stan Silvert commented on MYFACES-549:
--

Actually, now that I think about it, this bug also existed in the first release 
version of JBoss Portal.  The LifeRay guys should be able to fix it quickly.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf

>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-10 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323151 
] 

Stan Silvert commented on MYFACES-549:
--

I'm pretty sure this is a bug in LifeRay.  If the analysis by NVSC is correct 
then LifeRay is breaking the portlet spec.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf

>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-10 Thread zeroconf (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323143 
] 

zeroconf commented on MYFACES-549:
--

after deploying my portlets into liferay my web.xml is changed as follows - 
maybe there is the trouble ?

web.xml
===


portlet-app1

company_id
liferay.com


javax.faces.STATE_SAVING_METHOD
client



com.liferay.portal.servlet.PortletContextListener



org.apache.myfaces.webapp.StartupServletContextListener


jsf1

com.liferay.portal.servlet.PortletServlet

portlet-class

org.apache.myfaces.portlet.MyFacesGenericPortlet

0


jsf2

com.liferay.portal.servlet.PortletServlet

portlet-class

org.apache.myfaces.portlet.MyFacesGenericPortlet

0


portlet-app1

com.liferay.portal.servlet.PortletServlet

portlet-class

org.apache.myfaces.portlet.MyFacesGenericPortlet

0


FacesServlet
javax.faces.webapp.FacesServlet
1


jsf1
/jsf1/*


jsf2
/jsf2/*


portlet-app1
/portlet-app1/*


http://java.sun.com/portlet

/WEB-INF/tld/liferay-portlet.tld




> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf

>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/

[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-10 Thread zeroconf (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323142 
] 

zeroconf commented on MYFACES-549:
--

I tried snapshot 20050909

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf

>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-10 Thread zeroconf (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323141 
] 

zeroconf commented on MYFACES-549:
--

I'm using Liferay Portal Pro 3.6.1.

I also posted on http://forums.liferay.com 
(http://forums.liferay.com/index.php?showtopic=2950). Please 
have a look at the answer of my post. 
It seems that I'm not the only one who has troubles getting more than one jsf 
portlet running.

As far as I understood the answer on my post - the problem might has something
to do with the static field MyFacesGenericPortlet.VIEW_ID which gets shared by
all jsf portlets

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf

>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-10 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323138 
] 

Stan Silvert commented on MYFACES-549:
--

Two JSF portlets on the same page is also known to work with Pluto.

> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf

>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (MYFACES-549) faces navigation rules not working for two portlets on portal page

2005-09-10 Thread Stan Silvert (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-549?page=comments#action_12323137 
] 

Stan Silvert commented on MYFACES-549:
--

I haven't seen any problem with navigation rules running two portlets on the 
same page with MyFaces 1.0.9 and JBoss Portal.

Which portal are you using?

Also, please try the latest build of MyFaces as there was a recent fix 
regarding component ID's with two portlets on a page.



> faces navigation rules not working for two portlets on portal page
> --
>
>  Key: MYFACES-549
>  URL: http://issues.apache.org/jira/browse/MYFACES-549
>  Project: MyFaces
> Type: Bug
>   Components: General
> Versions: Nightly Build
>  Environment: Linux 2.6.12, Java 1.5.0_04, Liferay Pro 3.6.1 (portla), 
> nightly build (20050909)
> Reporter: zeroconf

>
> I'm trying to write some JSF portlets within one portlet application
> but encountered some problems concerning navigation rules when I
> put more than one JSF portlet per portal page.
> When I put just one portlet on my page everything concerning the
> navigation rules (with  /> stuff) works fine and I get to the next view.
> But when I put a second faces portlet on the page navigation and invoking
> actions on backing beans in the second portlet just doesn't work at all.
> If I remove both portlets and put the second portlet on the page again (so 
> that
> I'm having just one portlet again) this portlet works fine as well. So I 
> assume
> that navigation settings in faces-config.xml must be correct. It has
> something to do
> with the arrangement of two faces portlets on the portal page so that
> the second one
> stops working as expected.
> I also tried to use distinct IDs for all ui-components and also 
> distinct -values but that doesn't help
> Thanks
> zeroconf
> Attached are the important parts of my web.xml, faces-config.xml and 
> portlet.xml
> web.xml
> 
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>PROJECT_NAME
>
>company_id
>liferay.com
>
>
>javax.faces.STATE_SAVING_METHOD
>client
>
>
>javax.faces.application.CONFIG_FILES
>/WEB-INF/faces-config.xml
>
>
> com.liferay.portal.servlet.PortletContextListener
>
>
> org.apache.myfaces.webapp.StartupServletContextListener
>
>
>PROJECT_NAME
> com.liferay.portal.servlet.PortletServlet
>
>portlet-class
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>0
>
>
>FacesServlet
>javax.faces.webapp.FacesServlet
>1
>
>
>PROJECT_NAME
>/PROJECT_NAME/*
>
>
>http://java.sun.com/portlet
> /WEB-INF/tld/liferay-portlet.tld
>
> 
> faces-config.xml:
> ==
> 
>  JavaServer Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> http://java.sun.com/JSF/Configuration";>
>
> org.apache.myfaces.context.MyFacesContextFactoryImpl
>
>
>
>/jsp/jsf1/index.jsp
>
>p1next
>/jsp/jsf1/n1.jsp
>
>
>
>/jsp/jsf1/n1.jsp
>
>p1back
>/jsp/jsf1/index.jsp
>
>
>
>
>/jsp/jsf2/index.jsp
>
>p2next
>/jsp/jsf2/n1.jsp
>
>
>
>/jsp/jsf2/n1.jsp
>
>p2back
>/jsp/jsf2/index.jsp
>
>
> 
> portlet.xml
> =
> 
>jsf2
>jsf2
> org.apache.myfaces.portlet.MyFacesGenericPortlet
>
>default-view
>/jsp/jsf2/index.jsp
>
>
>text/html
>
>
>jsf2
>jsf2
>jsf2
>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira