Child pages
  • JSTitle
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Refresh page Apr 27, 2024 12:20

Supported Clients
SmartClient WebClient NGClient

Property Summary
String dataProviderID The dataprovider of the component.
Boolean displaysTags Flag that enables or disables merging of data inside components using tags (placeholders).
String text The text that is displayed inside the component.
Boolean visible The visible property of the component, default true.

Methods Summary
UUID getUUID() Returns the UUID of this component.

Property Details

dataProviderID

The dataprovider of the component.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().dataProviderID = 'mytitlevar'

displaysTags

Flag that enables or disables merging of data inside components using tags (placeholders).
Tags (or placeholders) are words surrounded by %% on each side. There are data tags and
standard tags. Data tags consist in names of dataproviders surrounded by %%. Standard tags
are a set of predefined tags that are made available by the system.

See the "Merging data" section for more details about tags.

The default value of this flag is "false", that is merging of data is disabled by default.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().text = 'Parent table %%customername%%'
field.getTitle().displaysTags = true

text

The text that is displayed inside the component.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().text = 'Parent table'

visible

The visible property of the component, default true.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().visible = false

Methods Details

getUUID()

Returns the UUID of this component.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var button_uuid = solutionModel.getForm("my_form").getButton("my_button").getUUID();
application.output(button_uuid.toString());

  • No labels