Bug 810505 - a4j:push not working in RichFaces demo packaged with EPP
Summary: a4j:push not working in RichFaces demo packaged with EPP
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: PortletBridge
Version: 5.2.1.ER03
Hardware: i686
OS: Linux
unspecified
low
Target Milestone: ---
: 5.2.2.ER01
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-06 13:21 UTC by Miroslav Cupák
Modified: 2021-10-23 04:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Miroslav Cupák 2012-04-06 13:21:16 UTC
Description of problem:
The following part of web.xml of the RichFaces demo is required for a4j:push to work over Portlet Bridge:

<context-param>
    <param-name>A4J.AJAX.Push.URL</param-name>
    <param-value>/richFacesPortlet/faces/a4j.push</param-value>
</context-param>

The value of the parameter needs to point to the web app context. In this case the value is set to "richFacesPortlet", which is the default name of the war file for Portlet Bridge, but the demo is bundled with EPP as "richFacesPortlet-[Portlet Bridge version].war" and thus a4j:push doesn't work by default.

Two possible ways to fix this:
1, Distribute the example as "richFacesPortlet.war".
2, Alter web.xml of the example before it's packaged with EPP.

Since we already dropped the version in the name of the Seam example for a similar reason, I'd suggest going with the first option and get rid of the version in the name of all the bridge examples.

Comment 1 hfnukal@redhat.com 2012-06-21 08:42:14 UTC
Renaming examples removing version.

Comment 2 Miroslav Cupák 2012-08-27 16:10:38 UTC
Verified again with 5.2.2.CR01.


Note You need to log in before you can comment on or make changes to this bug.