Portals (MOSC)

MOSC Banner

Adding new namespaces via MDS customization question

edited Jul 5, 2014 5:00AM in Portals (MOSC) 3 commentsAnswered
Hi,
I added the JSTL functions tag library into the folderViewer.jsff view in the WebCenter Portal 11.1.1.6.0 folderViewer taskflow (oracle.webcenter.doclib.view.jsf.taskflows.folderViewer), so that I can perform string operations prior to rendering the view.

I added it using the following mds:modify block in the folderViewer.jsff.xml MDS customization file:

  <mds:modify element="(xmlns(jsp=http://java.sun.com/JSP/Page))/jsp:root">
    <mds:attribute name="version" value="2.1"/>
    <mds:attribute name="xmlns:fn" value="http://java.sun.com/jsp/jstl/functions"/>
  </mds:modify>

This allows me to use the JSTL functions in EL statements, such as: "startFolderPath=#{fn:replace(fn:substringAfter(item.url,'path'),'%20','%2520')}".

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center