Using Multiple RichFaces Portlets in the Same Page with JBoss Portlet Bridge

As noted here, there are known issues even if you set org.jboss.portletbridge.WRAP_SCRIPTS to true.

You may want to set org.jboss.portletbridge.WRAP_SCRIPTS to false (which is the default), set org.richfaces.LoadScriptStrategy to NONE and load the scripts in your pages:

<a4j:loadScript src="resource:////org/ajax4jsf/framework.pack.js" type="text/javascript" />
<a4j:loadScript src="resource:////org/richfaces/ui.pack.js" type="text/javascript" />

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