Child pages
  • History

Versions Compared

Key

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

...

Cache

...

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

servoy sReturnTypes2100%height: 30px;

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

 

 

servoy sSummaryclass30%58%height: 30px;3Property Summary

Colgroup Tag
Col
width
HTML Table
id12%
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.

 

 

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

Colgroup Tag
Col
width
HTML Table
12%
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 sDetailid100%

property

class
Colgroup Tag
Col
colspan
HTML Table
2width
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) DivclasssIndent
Set/Get the history buttons enabled.
Table Row (tr)idtd
ret

Returns

div

class Table Row (tr)idsIndentBooleanclients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient Table Row (tr)idtdsam

Sample

Divclass

sIdent Code Blocklanguage Table Row (tr)classjavascript

history.buttonsEnabled = true;
var status = history.buttonsEnabled;
lastDetailRow
Table Cell (td)
 

 

 

servoy sDetail100%

function

class
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)nametd

back()

Table Row (tr)id

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

Returns

Div
classsIndent
void
Table Row (tr)idtd
clients

Supported Clients

Divclass

sIndentSmartClient,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)idcleartdname

clear()

Table Row (tr)id Table Cell (td) Divclass

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

Returns

Div
classsIndent
void
Table Row (tr)idtd
clients

Supported Clients

Divclass

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

Sample

Divclass Code Blocklanguage

sIdent

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)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)id
clients

Table Cell (td)

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)idgetCurrentIndextdname

getCurrentIndex()

Table Row (tr)id Table Cell (td) Divclass

dessIndent
Get the current absolute index in the history stack.
Table Row (tr)idtd
ret

Returns

Divclasstd

sIndentNumber Table Row (tr)

idclients
the current absolute indexclients

Supported Clients

Divclass

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

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

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

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)idtd
prs

Parameters

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

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

Returns

Divclasstd

sIndentString Table Row (tr)

idclients
the formNameclients

Supported Clients

Divclass

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

Sample

DivlanguagesIdent 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.
Table Row (tr)idtd
prs

Parameters

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

sIndent Table Cell (td)iidthe relative index

Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)tdclients

Supported Clients

Divclass

sIndentSmartClient,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) 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

Divclasstd

sIndentBoolean Table Row (tr)

idclients
true if successfulclients

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

des Table Cell (td)sIndent
Removes an absolute index based history stack form item.
tr
idprs

Table Cell (td)

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

Divclasstd

sIndentBoolean Table Row (tr)

idclients
true if successfulclients

Supported Clients

Divclass

sIndentSmartClient,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)idtd
ret

Returns

Divclassid

sIndentNumber Table Row (tr) the sizeclients

Table Cell (td)

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)