I’d love to help you, but that’s IBM’s code not MyFaces.  IBM has had portlet support for much longer than we have so I am assuming that they aren’t using MyFaces under the covers.  I suggest you either switch to MyFaces or take this up with IBM.

 

Stan Silvert

JBoss, Inc.

[EMAIL PROTECTED]

callto://stansilvert


From: Sunil Tiwari [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 12:54 AM
To: MyFaces Discussion
Subject: Re: JSF with JSR 168 Portlet

 

Hi,

 

I am using IBM Websphere Studio Site developer 5.1.2 with Portal Toolkit 5.0.2.3

It provides JSF implementation in 2 ways.

Websphere provides 2 kinds of portlets : one is IBM specific(not based on JSR 168) and the other one is IBM's own

implementation of JSR 168 portlet.

And it supports JSF(that is also IBM's implementation) for both type of portlets.

I have used JSF successfully with IBM specifc portlet but the navigation problems are coming in JSR 168 portlet.

 

 

Regards,

Sunil

----- Original Message -----

From: Stan Silvert

Sent: Tuesday, July 05, 2005 9:59 PM

Subject: RE: JSF with JSR 168 Portlet

 

I haven’t seen this problem.  The car demo uses navigation rules extensively and it runs just fine as a MyFaces portlet.  The only thing you have to do is remove the redirects from faces-config.xml.

 

Which portal were you using?  Which version?  Various portal vendors (including JBoss Portal and LifeRay) have had problems with JSF portlets because of bugs in their JSR 168 implementation.  I do know that all the known bugs in JBoss Portal are now fixed.

 

Stan Silvert

JBoss, Inc.

[EMAIL PROTECTED]

callto://stansilvert


From: Sunil Tiwari [mailto:[EMAIL PROTECTED]
Sent: Monday, July 04, 2005 1:32 AM
To: MyFaces Discussion
Subject: Re: JSF with JSR 168 Portlet

 

Thanx a lot Silvert for ur reply.

The link provides very limited information on integrating JSF with JSR 168 portlet.

I was able to use JSF components in portlet and it was working fine.

But the problem was simple navigation. The control is passed to the action method in the managed bean once I click

a command Button but the navigation doesnt happen. It simply refreshes the page.

Then I extended the FacesGenericPortlet and implemented the ProcessAction() method and then I was able to navigate to other pages but

the problem is that it completely ignores the action binding and thus the navigation rules in faces-config.xml become useless.

 

Cld you give some suggestion how to deal with this problem bcoz I think navigation rule is a very important feature of JSF and it cant be done away with.

 

Thanx

Sunil

----- Original Message -----

From: Stan Silvert

Sent: Saturday, July 02, 2005 12:28 AM

Subject: RE: JSF with JSR 168 Portlet

 

I don’t know about WebSphere Studio, but you should be able to get it to work with MyFaces 1.0.9.  The instructions are here:

 

http://myfaces.apache.org/docs/portlet.html

 

Stan Silvert

JBoss, Inc.

[EMAIL PROTECTED]

callto://stansilvert


From: Sunil Tiwari [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 5:35 AM
To: MyFaces Discussion
Subject: JSF with JSR 168 Portlet

 

Hi,

 

I am using websphere studio site developer 5.1.2 with portal toolkit 5.0.2.3.

It provides the option to create JSR 168 portlet and the IBM specific portlet.

Both supports JSF.

I was able to use JSF within IBM specific portlet. Simple navigation was working fine.

But in JSR 168 portlet, simple navigation using faces-config is not working.

 

Has anyone tried JSF-JSR 168 portlet and come across this navigation problem?

Cld anyone suggest some solution for solving this problem?

 

Thanx..

 

-Sunil

 

----- Original Message -----

From: Sunil Tiwari

Sent: Friday, July 01, 2005 12:57 PM

Subject: JSF with JSR 168 Portlet

 

Hi All,

 

I am trying to use JSF in JSR 168 portlet. I am not able to navigate from one jsp to another jsp using navigation rules in faces-config.xml

 

Is it a bug in faces implementation for JSR 168 portlet??

 

If i dont want to use the navigation rules for navigation then how can I do it?

 

Can anyone tell me how to navigate without using navigation rules in myfaces?

 

Thanx a lot in advance.

 

Regards,

Sunil

Reply via email to