Behind a function tree node there is an instance of class "WorkpageStartInfo".
In the instance you typically define the following parameters:
- "jspPage" or "pageBeanName": CC page to start
- "id": Id for the page that is started
- "text": variuos texts for the title, the tab-instance, ...
But you do not have to bind a CC-page to the processing, you can also bind the execution of a Java-function. To do so:
- use "functionClassName"
I just copy the JavaDoc of the corresponding property:
Code:
/**
* The name of the class implementing {@link IWorkpageStartInfo}. A new instance
* of the class will be created and called when the user invokes the workpage item.
*/
public String getFunctionClassName() { return m_functionClassName; }
public void setFunctionClassName(String functionClassName) { m_functionClassName = functionClassName; }
Kind regards, Björn