Customizing the look and feel of Tersus applications
Customizing look and feel is possible on several levels. This has ultimately enabled us to implement even our web site as a Tersus application. The Tersus web site application is available for download, with a different set of styles, from http://www.tersus.com/#Id=139.
Here's a list summarizing look and feel customization strategies and options:
Specifying a style class for a single display elementThis is achieved using an html.styleClass shared property or by adding a <Style Class> text element to the display and setting it dynamically through modelling. The styles should be defined in the file [project root]/web/stylesheet.css.
Overriding parts of the Tersus client design and behaviorThe Tersus client is made up of HTML, Javascript and CSS files. These files can be overridden, changing design and behavior, as described in http://www.tersus.com/#Id=414.Note that the client is currently undergoing major changes in the way the files are structured and organized, in order to improve performance. The new structure should be available in the next release due in a few of days.
Using model properties to control visual behaviorA list of all properties (divided into shared and local properties) is available in http://www.tersus.com/#Id=981.Note:
Using HTML Tag elementsTersus provides the Display/HTML Tag element which can be used to embed any HTML tag you wish and use the entire set of attributes of the tag used.
Using HTML templatesTersus can embed html created in an external editor and use it as a template for any part of the view, adding modeled behavior to buttons and fields in the template - see Import HTML Template wizard.
I hope this provides some food for thought.
Regards,
David
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign