JSF Portlet Page Navigation Issue – workaround

Posted: May 26, 2009 in NetBeans

There is an issue with JSF Portlet (Woodstock portlet) with page navigation created by Portal Pack 3.x and running on Liferay or Web Space Server. So if you have page navigation inside jsf portlet, then no component in the portlet is shown when try to navigate to the a second page.But if you reload the page, the portlet is shown properly. This behaviour is there only with Firefox, but it works fine with IE.

So the detail steps to reproduce this issue  are
1)Create a JSF portlet app using portal pack that uses page naviagation (say from page1 to page2)

2)Deploy the portlet app


3)Click on some botton in page1 to naviagate to page

Issue:Page2 of the JSF portlet is not rendered untill a referesh.Issue not seen in IE..

So now the good news is, there’s a workaround

From the jsf jsp page remove webuiAll="true" attribute from <webuijsf:themeLinks……/> tag. Everything works perfectly in Firefox & IE after removing this attribute.

Advertisements
Comments
  1. Michael Czapski says:

    Thanks. This workaround works like a charm.
    What does webuiAll="true" do? It seems to be added by default. What are the consequences of removing it, apart form fixing an issue with Firefox? Just curious.
    Regards
    Michael

  2. Sriram Krishnan says:

    Please find the use of webuiall in this link
    http://webdev2.sun.com/woodstock-tlddocs/webuijsf/head.html

  3. Michael Czapski says:

    Thank you.
    Regards
    Michael

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s