Search

Module: Editor

Version: 2.2.1 +

User: Developer

Object Type: Output Object

Parent of:

no children

Child of:

- DropDownList

- WebPage

- WebPanel

 

Description

A WebLabel provides output on your website application. It is used to display short texts, or texts for which formulas or references to other objects are needed.

For larger texts it is better to use the HTMLInclude (for clean text parts) or the XMLConverter (when calculations or references are involved).

Properties

DebugLogMode (from version 4.1)

Indicates the level of detail of debug information that is logged during runtime of the website to the trace, a logfile, a database etc. The possible values are:

  • None: no debug information is logged
  • Simple: only basic information is given
  • Extended: in addition to the information in the Simple mode the values of all the properties of the object are shown

IsPublic

Possible values are 'True' or 'False'. If the value is 'False', then the object can only be used within the document where it is created. If the value is 'True', then also from other Futurama documents can be referred to this object. This means that changes in the object also affect the document in which is referred to this object. If the value is 'True' and you attempt to move or delete the object, a warning will be given. To limit these warnings to a minimum it is recommended to set IsPublic to 'True' only when necessary.

ToolTip

In the property Tooltip a text can be entered that is shown in the application when a cursor is moved across the Weblabel. In this way information about the usage of the Weblabel can be given to the user.

Visible

Possible values are 'True' or 'False'. If the value is 'True', the object will be rendered and therefore displayed in your application. If the value is 'False', the object will not be rendered.

(Name)

The name of the object.

Comment

Here a comment can be entered. For example a short description of the object.

ID

The unique identification number of the object. This number is automatically generated by Futurama on the moment of creation. This number can be used when searching for a certain object in the Find Window.

CssClass

Here the CssClass can be entered. In the stylesheet you can define the style elements that belong to this class.

Text

In this property you can enter the text that you want to be displayed on your website. You can directly add the text as a Fixed, but also by creating formulas and/or references to other objects within your application. From Futurama version 18.02 it is also possible to define the texts within a ResourceDocument. See the page Text management and Multi-language.

Rendering

A WebLabel object is rendered as follows:

Text

If you've entered a classname in the CssClass property, this will be added as a class attribute to the span element.

Related Topics

- Futurama Objects: The Atlas chapter that describes all Futurama objects. See the Output-section for a description of the type of objects this object belongs to.

- DropDownList

- WebPage

- WebPanel

Relevant Tutorials

- Creating a Website Application: In this tutorial a WebLabel is added as content in a website application.

Updated: 2012-11-12