Thursday, September 20, 2012

ADF How to: resolving problem with af:inlineFrame source (url) in ADF Portlet

When you want to use af:inlineFrame component in portletized application, you will encounter problem with source parameter. By default, URLs in the portletized page or task flow are encoded / rewrited by ADF Portlet Bridge, and if you want to point to remote adress, the behaviour of your page will be unpredictable.

If you don't want to encode these URLs, you can do this by setting the _xEncodeUrl parameter to false on URLs that are passed to the Oracle JSF Portlet Bridge for encoding.

By example:

<af:inlineframe id="if1" 
  shortdesc="My UCM document rendition" 
    source="http://my-custom-server/doc?q=4732847239847&amp;_xEncodeUrl=false">
</af:inlineframe>

No comments:

Post a Comment