[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Starting a URL in a new browser tab from Workplace Function Tree  XML
Forum Index -> Development
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

(from mail conversation)

How can we start an (independent) HTML page by double-clicking an item in a workplace function tree?

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

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

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team