Child pages
  • JSList

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rev: 1381949650879

...

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#countDataProviderID
countDataProviderID
This dataprovider's value will be presented as a 'count bubble' in each item of the list.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#dataIconDataProviderID
dataIconDataProviderID
The predefined icon of this data-provider will appear on items in the list; if not specified, 'dataIconType' will be used instead.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#dataIconType
dataIconType
This predefined icon will appear on items in the list if 'dataIconDataProviderID' is not set.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#listStyleClass
listStyleClass
The styleClass of the list.
tbody
Table Row (tr)
Table Cell (td)
JSMethod
Table Cell (td)
#onAction
onAction
This action will be executed when an item in the list is clicked.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#subtext
subtext
This text will appear as the secondary (smaller) text of items in the list if 'subtextDataProviderID' is not set.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#subtextDataProviderID
subtextDataProviderID
The text of this data-provider will appear as the secondary (smaller) text of items in the list; if not specified, 'subtext' will be used instead.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#text
text
This text will appear as the main text of items in the list if 'textDataProviderID' is not set.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#textDataProviderIDtextDataProviderID
The text of this data-provider will appear as the main text of items in the list; if not specified, 'text' will be used instead.

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSForm
Table Cell (td)
#getFormgetForm()
Returns the list's form.

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
idcountDataProviderID
Table Row (tr)
idname
Table Cell (td)
countDataProviderID
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
This dataprovider's value will be presented as a 'count bubble' in each item of the list.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
iddataIconDataProviderID
Table Row (tr)
idname
Table Cell (td)
dataIconDataProviderID
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The predefined icon of this data-provider will appear on items in the list; if not specified, 'dataIconType' will be used instead.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
iddataIconType
Table Row (tr)
idname
Table Cell (td)
dataIconType
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
This predefined icon will appear on items in the list if 'dataIconDataProviderID' is not set.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idlistStyleClass
Table Row (tr)
idname
Table Cell (td)
listStyleClass
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The styleClass of the list. Can have values from 'a' to 'e'.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.listStyleClass = 'e';
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idonAction
Table Row (tr)
idname
Table Cell (td)
onAction
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
This action will be executed when an item in the list is clicked.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
JSMethod
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsubtext
Table Row (tr)
idname
Table Cell (td)
subtext
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
This text will appear as the secondary (smaller) text of items in the list if 'subtextDataProviderID' is not set.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsubtextDataProviderID
Table Row (tr)
idname
Table Cell (td)
subtextDataProviderID
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The text of this data-provider will appear as the secondary (smaller) text of items in the list; if not specified, 'subtext' will be used instead.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtext
Table Row (tr)
idname
Table Cell (td)
text
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
This text will appear as the main text of items in the list if 'textDataProviderID' is not set.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtextDataProviderID
Table Row (tr)
idname
Table Cell (td)
textDataProviderID
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The text of this data-provider will appear as the main text of items in the list; if not specified, 'text' will be used instead.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var list = solutionModel.getForm('created_by_sm_1').getInsetList(solutionModel.getForm('il1');

var newList = solutionModel.newListForm('created_by_sm_3', list.dataSource, list.textDataProviderID);
newList.onAction = newList.getForm().newMethod('function aMethod(event){application.output("Hello world!");}');
Table Row (tr)
classlastDetailRow
Table Cell (td)

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idgetForm
Table Row (tr)
idname
Table Cell (td)
getForm
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
JSForm
Span
stylefont-weight: bold;
getForm
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the list's form.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
JSForm

...

- the list's form.
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

newFormList.getForm().dataprovider = formList.getForm().dataprovider;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)