[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
switching between styles  XML
Forum Index -> Development
Author Message
foedeles

Active

Joined: 14/04/2008 13:10:31
Messages: 19
Offline


Where do I define a new style-file?
What I currently see in my Eclipse Project is the following folder-structure:

/webcontent/eclntjsfserver/styles
/cceditor/style.xml
/default/style.xml

My Question is: do I have to create a new folder? like:

/webcontent/eclntjsfserver/styles
/mystylefolder/style.xml

and place my own style.xml in it?

When I want to switch to my own style.xml, do I have to it this way:

public void onStyleMyOwnStyle(ActionEvent ae)
{
SessionInfo.getSessionInstance().setStyle("mystylefolder");
}

?

That would mean I have to call the folder-name to reach my own defined style-definition?


CaptainCasa

Power User
[Avatar]

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

Hi,

please check Developer Guide, currently page 72, there's an own chapter "Style Management".

Björn

Björn Müller, CaptainCasa GmbH
foedeles

Active

Joined: 14/04/2008 13:10:31
Messages: 19
Offline

oh, my documentation source was not up to date
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team