| Summary: | a4j:push not working in RichFaces demo packaged with EPP | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Miroslav Cupák <mcupak> |
| Component: | PortletBridge | Assignee: | Nobody <nobody> |
| Status: | VERIFIED --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.2.1.ER03 | CC: | epp-bugs, tkyjovsk |
| Target Milestone: | --- | ||
| Target Release: | 5.2.2.ER01 | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Renaming examples removing version. Verified again with 5.2.2.CR01. |
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.