Richfaces generated resource urls are too long in JBoss EPP 4.3.

Solution Verified - Updated -

Issue

The urls of recources generated by Richfaces are too long. For example, if Richfaces component mediaOutput is used with the following code:

<a4j:mediaOutput element="img" cacheable="false" border="0" session="false" createContent="#{myBean.paint}"
     id="myPainter" mimeType="image/jpeg" ismap="true" usemap="#businessOutputMap" value="#{myData}" />

The generated url looks like this:

http://myhost:8080/myapp/faces/rfResorg.ajax4jsf.resource.UserResource/n/n/-1487394660/DATA/eAG1V12MU0UUnhaWBbT-sCgSg2nwL1G53S0LQpaqgFgILbtaWSONJLPttJ3u7dzr3Lm7ZYnGH5ToIi-ixoSHTTTxBdTgE08-mPhAwoNEfDMaQkKM0QdjQuKD8czcn962U9nQpQ-398w5c853fuacuWf-QAMOR49ZvGrgOm6O1p2KwYljubxEjIMO4S!4xEMHOX0WC4zkb2jL73G0PIcSJU6wILstJggTAq3J1fEMTpmYVVPjU3VSEmM5NEiaNgWdr6LXUSyHVjasMq1QUvbpgRlsukQRTRuwPCJVNI0KLhHHKFkN22Kg2ygIMLTXMsuEF!AM4S9f-Cbz4emL-TiK59Cqkokd5wBukHYMBcEpqwKG1Q7sKSsdAt3roaRWqkA4xSadw1MmGWva0vyjYNJwXKYAmEQ4BjGNF3E1T0TNKu9p2uCJQy2m4oBQ7HaEmhyt90CDaKfcudSF-avXR0!GldxQKNfS9Nk77xf-OnRph5SQCDaqZNi4VCPSdqfCfQ3bPL7w9PnDX!w9Lo3LyK2c3YG2PXg0y3GFTk9gCunghi3!d7kOZYB43BW2K8Z5FTPqYAEOOISyGqHiNYRcjoaKKiiGTB3EWoXt7KXJa79tOJpVwMDfuEBrJX6DWoanDwQJbgh0l1pWe72023Zz9hh6K9WsiYaZqrhsWpokLGUTXrF4A7MSib6P7zGUaPKZ0W1PpLeOJtsKK7PxZn3b6CXVwMLApkkxmzNsiwvIqzFHiUmgwJjglmlCvLzohTUOuVW1NQjpkIsCbc5hkfLVpHw1KaUmpWJNeCoaYLkJSm-lC6fIU!D4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DPdqMKNywI2tsf8DGl-2Gg__?org.jboss.portletbridge.NAMESPACE=ApplicationWindow&org.ajax4jsf.portlet.NAMESPACE=ApplicationWindow&javax.faces.portletbridge.STATE_ID=293ed27b-89e1-43f8-9fd3-77d8752a8445%3Aview%3AApplicationWindow&time=Wed%20Jan%2013%2015%3A40%3A53%20CET%202010

It exceeds the length limit of 2048 characters for urls on IE6/7. As a result, the generated image can't be displayed on IE6/7.

Environment

  • Richfaces 3
  • JBoss Enterprise Portal Platform(EPP) 4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In