Child pages
  • History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Cache

...

tablecolgroupcolcolspan2width100%coltheadclass2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClientservoy sSummaryclass30%58%height: 30px;3Property Summary
index
true
idrefreshclass100dservoy sReturnTypes
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Table Row (tr)
style
Enable
id

servoy sReturnTypes2100%height: 30px;

Table Head (th)
colspan
Table Row (tr)
Table Cell (td)
Span
class
Span
class
Span
class
Span
class
HTML Table

Colgroup Tag
Col
widthid12%
Col
width
Col
width
Table Head (thead)
Table Row (tr)
style
Table Head (th)
colspan
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
buttonsEnabled
Table Cell (td)Set/Get the history buttons enabled. HTML Table

Colgroup Tag Colwidthservoy sSummaryid12% Colwidth Colwidth30%58% Table Head (thead) Table Row (tr)styleheight: 30px; Table Head (th)colspan3Methods Summary Table Row (tr) Table Cell (td) Table Cell (td)void

Table Cell (td)
back()
Navigates back in the history stack; shows the previous form (if present). Table Row (tr) Table Cell (td) Table Cell (td)void
Table Cell (td)
clear()
Clear the entire history stack. Table Row (tr) Table Cell (td) Table Cell (td)void
Table Cell (td)
forward()
Navigates forward in the history stack; shows the next form (if present). Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
getCurrentIndex()
Table Cell (td) Table Cell (td)Get the current absolute index in the history stack. Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getFormName(i)
Get the form name based on the specified absolute index in the history stack location. Table Row (tr) Table Cell (td) Table Cell (td)void
Table Cell (td)
go(i)
Table Cell (td)Navigates to the relative index based on current position in the history. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
removeForm(formName)
Removes the named form item from the history stack (and from memory) if not currently shown. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
removeIndex(index)
Table Cell (td) Table Cell (td)Removes an absolute index based history stack form item. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
size()
Returns the total size of the history stack. HTML Table

propertyclass Colgroup Tag Colcolspanservoy sDetailid2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px Table Head (th)colspan2Property Details Table Body (tbody)ididbuttonsEnabled Table Row (tr)name

Table Cell (td)

buttonsEnabled

tr

iddes Table Cell (td) DivclasssIndent
Set/Get the history buttons enabled.
Table Row (tr)id
ret

Table Cell (td)class

Returns

Div Table Row (tr)idsIndentBooleantdclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient Table Row (tr)idsam

Table Cell (td)class

Sample

DivsIdent Code Blocklanguage Table Row (tr)classjavascript
history.buttonsEnabled = true;
var status = history.buttonsEnabled;
lastDetailRowtd

  HTML Table

functionclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px Table Head (th)colspan2Methods Details Table Body (tbody)ididback Table Row (tr)name

Table Cell (td)id

back()

Table Row (tr)des Table Cell (td) DivclasssIndent
Navigates back in the history stack; shows the previous form (if present).
tr Table Row (tr)id
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
tdclients

Supported Clients

div

classsIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclass

sIdent Code Blocklanguageclassjavascript

history.back();
Table Row (tr)idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idclearname

Table Cell (td)

clear()

Table Row (tr)id Table Cell (td) DivclassdessIndent
Clear the entire history stack.
Table Row (tr)id Table Row (tr)id
prs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
tdclients

Supported Clients

DivclasssIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

div

class Code BlocklanguagesIdent

history.clear();
Table Row (tr)classjavascriptidlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idforwardname

Table Cell (td)

forward()

Table Row (tr)id Divclass

des Table Cell (td)sIndent
Navigates forward in the history stack; shows the next form (if present).
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)idtd
clients

Supported Clients

DivclasssIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclass Code Blocklanguage

sIdent

history.forward();
Table Row (tr)classjavascriptidlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idgetCurrentIndexname

Table Cell (td)id

getCurrentIndex()

Table Row (tr) Table Cell (td) Divclassdes Table Row (tr)idsIndent
Get the current absolute index in the history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
tdrettd

Returns

Div
classsIndent
Number
Table Row (tr)
idclients
sIndent the current absolute indexclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idsam

Table Cell (td)class

Sample

DivlanguagesIdent Code Block Table Row (tr)classjavascript
var abs_index = history.getCurrentIndex();
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idgetFormNametdname

getFormName(i)

tr

idclassdes Table Cell (td) DivsIndent
Get the form name based on the specified absolute index in the history stack location.
tr
idprs

Table Cell (td)

Parameters

HTML Tableclass
Table Cell (td)
Number
Table Cell (td)

sIndent Table Cell (td)iidthe absolute index Table Row (tr)tdrettd

Returns

Div
classsIndent
String
Table Row (tr)
idclients
sIndent the formNameclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idsam

Table Cell (td)

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

var name = history.getFormName(history.getCurrentIndex());
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idgoname

Table Cell (td)id

go(i)

Table Row (tr)classdes Table Cell (td) DividsIndent
Navigates to the relative index based on current position in the history.
Table Row (tr)tdprs

Parameters

table

class

Table Cell (td)
Number
Table Cell (td)sIndent Table Cell (td)i Table Row (tr)idthe relative index
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
tdclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idsam

Table Cell (td)class

Sample

DivlanguagesIdent Code Block Table Row (tr)classjavascript
history.go(-3);
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idremoveFormtdnameid

removeForm(formName)

Table Row (tr)classdes Table Cell (td) DivsIndent
Removes the named form item from the history stack (and from memory) if not currently shown.
Will return false when the form can't be removed, this can happen in certain situations:
1> The form is visible,
2> The form is executing a function (is actively used),
3> There are references to this form by a global variable/array,
4> If the form has a separate foundset with edited records that can't be saved (for example autosave is false)
Table Row (tr)idtd
prs

Parameters

HTML Tableclass Table Cell (td)

sIndent

Table Cell (td)
String
Table Cell (td)formNamethe name of the form to remove. Table Row (tr)idtdret

Returns

Divclassid

sIndentBoolean Table Row (tr) true if successfulclients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

var done = history.removeForm('mypreviousform');
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idremoveIndextdname

removeIndex(index)

Table Row (tr)idclass

des Table Cell (td) DividsIndent
Removes an absolute index based history stack form item.
Table Row (tr)tdprs

Parameters

HTML Tableclass Table Cell (td)

sIndent

Table Cell (td)
Number
Table Cell (td)indexthe index of the form to remove. Table Row (tr)idret

Table Cell (td)

Returns

Divclassid

sIndentBoolean Table Row (tr) true if successfulclients

Table Cell (td)

Supported Clients

DivclasssIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

var done = history.removeIndex(history.getCurrentIndex()+1);
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idsizetdname

size()

Table Row (tr)idclass

des Table Cell (td) DivsIndent
Returns the total size of the history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Tableclassid
sIndent  Table Row (tr)ret

Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idclients
tdsIndent the sizeclients

Supported Clients

DivclasssIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

var size = history.size();
lastDetailRow Table Cell (td)