[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Different Title, Workpage-Label  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi,

is it posible to have different workpage label and workpage title?
We want to show a short description in the workpage lable, an more informations in the title.

best regards
;o)
[Thumb - request.jpg]
 Filename request.jpg [Disk] Download
 Description
 Filesize 26 Kbytes
 Downloaded:  345 time(s)

CaptainCasa

Power User
[Avatar]

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

Hi,

yes, this is possible: when starting throug the function tree then there is the following interface with each node:

Code:
 public interface IWorkpageStartInfo
     extends Serializable
 {
     public void setJspPage(String value);
     public void setImage(String value);
     public void setText(String value);
     /**
      * Explicit different text that is passed into the selector, when the 
      * workpage is started. - If null then the title passed via setText(..) is
      * taken.
      */
     public void setSelectorTitle(String value);
     /**
      * Explicit different text that is passed into the workpage's title, when the 
      * workpage is started. - if null then the title passed via setText(..) is 
      * taken.
      */
     public void setWindowTitle(String value);
     public void setDecorated(boolean decorated);
     public void setOpenMultipleInstances(boolean openMultipleInstances);
     public void setId(String value);
     public void setParam(String paramName, String paramValue);
     public void removeParam(String paramName);
     public void setPopupSupported(boolean value);
     public void setCloseSupported(boolean value);
     public void setOpenAsPopupByDefault(boolean value);
     public void setStartSubWorkpageContainerId(String value);
 }
 


When starting by own functions (using IWorkpageContainer etc., then there is the Workpage-class) with "setTitle" and "setSelectorTitle".

Regards, Björn

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

thx
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team