Child pages
  • History

Versions Compared

Key

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

...

Cache

...

tablecolgroupcolcolspan2width100%colthead2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient
index
true
idrefreshclass100dservoy sReturnTypes
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Table Row (tr)
style
Enable

servoy sReturnTypes2100%height: 30px;

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

 

servoy sSummary30%58%height: 30px;3Property Summary
idclass

HTML Table

Colgroup Tag
Col
width12%
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
idclass

 

...

servoy sSummary30%58%height: 30px;3Methods Summaryvoid

Colgroup Tag
Col
width12%
Col
width
Col
width
Table Head (thead)
Table Row (tr)
style
Table Head (th)
colspan
Table Row (tr)
Table Cell (td)
Table Cell (td)
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.

 

servoy sDetail100%
id

HTML Table

propertyclass
Colgroup Tag
Col
colspan
HTML Table
id2width
Col
Table Head (thead) Table Row (tr)styleheight:30px Table Head (th)colspan2Property Details Table Body (tbody)ididbuttonsEnabled Table Row (tr)nametd

buttonsEnabled

Table Row (tr)id

des Table Cell (td) DivclassidsIndent
Set/Get the history buttons enabled.
Table Row (tr)ret

Table Cell (td)class

Returns

Div Table Row (tr)idsIndentBooleantdclients

Supported Clients

div

classsIndentSmartClient,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

 

 

 

servoy sDetail100%

functionclass
Colgroup Tag
Col
colspan2width
Col
Table Head (thead) Table Row (tr)styleheight:30px Table Head (th)colspan2Methods Details Table Body (tbody)ididback Table Row (tr)nametdid

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

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

Table Cell (td)

Sample

div

classsIdent 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) Divclass

dessIndent
Clear the entire history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

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

Returns

Div
classsIndent
void
Table Row (tr)idtdclients

Supported Clients

div

classsIndentSmartClient,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)idforwardtdname

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)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.forward();
Table Row (tr)classjavascriptidlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idgetCurrentIndextdname

getCurrentIndex()

tr

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

Parameters

HTML Table
classsIndent
 
tr
idret

Table Cell (td)td

Returns

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

Supported Clients

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

Sample

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

Table Cell (td)

getFormName(i)

Table Row (tr)idclass

des Table Cell (td) DivsIndent
Get the form name based on the specified absolute index in the history stack location.
Table Row (tr)id
prs

Table Cell (td)

Parameters

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

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

Returns

divtd

classsIndent
String Table Row (tr)
idclients
sIndent the formNameclients

Supported Clients

Divclass

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

Sample

div

classlanguagesIdent Code Block Table Row (tr)classjavascript

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

go(i)

Table Row (tr)idclass

des Table Cell (td) DivsIndent
Navigates to the relative index based on current position in the history.
tr
idprs

Table Cell (td)

Parameters

HTML Tableclass
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

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

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

history.go(-3);
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idremoveFormname

Table Cell (td)

removeForm(formName)

Table Row (tr)idclass

des Table Cell (td) DividsIndent
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)tdprsclass

Parameters

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

Returns

Divclasstd

sIndentBoolean Table Row (tr)

idclients
true if successfulclients

Supported Clients

Divclass

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

Sample

div

classlanguagesIdent 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) DivsIndent
Removes an absolute index based history stack form item.
Table Row (tr)idtd
prs

Parameters

HTML Tableclass Table Cell (td)

sIndent

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

Returns

Div
classsIndent
Boolean
Table Row (tr)
idclients
Table Cell (td)sIndent true if successfulclients

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.
tr Table Row (tr)id
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
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)