Child pages
  • Grouper Kuali Misc Functions
Skip to end of metadata
Go to start of metadata

Grouper Kuali Misc Functions

Grouper Kuali Integration

This page describes misc functions that are in the Kuali Grouper integration jar

Externalized text in eDocLite

If you want externalized text in eDocLite, you can put a properties file on the classpath, with name values pairs in it e.g. WEB-INF/classes/test/eDocLiteUser.properties

 copyright=This is the standard copyright for my institution...

Now if you declare Java in the edoclite stylesheet.

 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:my-class="xalan://org.kuali.rice.kew.edl.WorkflowFunctions"
          version="1.0" xmlns:java="http://xml.apache.org/xalan/java">

Then you can reference properties files in your stylesheet

 <xsl:value-of select="java:edu.internet2.middleware.grouperKimConnector.xsl.XslUtils.propertyValue('test/eDocLiteUser.properties', 'copyright')" />

There is a full eDocLite example here (though it shows the Java source, you can change the call to this if you want to use the GrouperKim connector instead of compiling your own

  • No labels