Child pages
  • History

Versions Compared

Key

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

...

Cache

...

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

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

class

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.

 

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

HTML Table

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

propertyclass
Colgroup Tag
Col
colspan2width
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) DivclasssIndentSet/Get the history buttons enabled. Table Row (tr)idtdret

Returns

div

class Table Row (tr)idsIndentBooleanclients

Table Cell (td)

Supported Clients

DivclasssIndentSmartClient,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;
Table Cell (td)lastDetailRow 

...

HTML Table
id

 

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

Table Cell (td)

back()

Table Row (tr)id

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

Table Cell (td)

Returns

Divclass Table Row (tr)id

sIndentvoidclients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,MobileClient Table Row (tr)idtdsam

Sample

div

classsIdent Code Blocklanguageclassjavascript

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

Table Cell (td)

clear()

Table Row (tr)id Table Cell (td) DivclassdessIndentClear the entire history stack. Table Row (tr)idret

Table Cell (td)

Returns

Divclassvoid Table Row (tr)id

sIndentclients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,MobileClient Table Row (tr)idsam

Table Cell (td)

Sample

Divclass Code Blocklanguage

sIdent

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

Table Cell (td)id

forward()

Table Row (tr) Table Cell (td) DivclassdessIndentNavigates forward in the history stack; shows the next form (if present). Table Row (tr)idtdret

Returns

Divclassvoid Table Row (tr)id

sIndentclients

Table Cell (td)

Supported Clients

DivclasssIndentSmartClient,WebClient,MobileClient Table Row (tr)idtdsam

Sample

Divclass Code Blocklanguage

sIdent

history.forward();
Table Row (tr)classjavascript Table Cell (td)lastDetailRowid  Table Body (tbody) Table Row (tr)idgetCurrentIndextdname

getCurrentIndex()

tr

id Table Cell (td) DivclassdessIndentGet the current absolute index in the history stack. Table Row (tr)idret

Table Cell (td)

Returns

div

class Table Row (tr)idsIndentNumberclients

Table Cell (td)

Supported Clients

DivclasssIndentSmartClient,WebClient,MobileClient Table Row (tr)idsam

Table Cell (td)class

Sample

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

Table Cell (td)

getFormName(i)

Table Row (tr)id Divclass

des Table Cell (td)sIndentGet the form name based on the specified absolute index in the history stack location. Table Row (tr)idtdprs

Parameters

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

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

Returns

Divclass Table Row (tr)id

sIndentStringclients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,MobileClient Table Row (tr)idtdsamclass

Sample

DivlanguagesIdent Code Block Table Row (tr)classjavascript
var name = history.getFormName(history.getCurrentIndex());
Table Cell (td)lastDetailRowid  Table Body (tbody) Table Row (tr)idgoname

Table Cell (td)id

go(i)

Table Row (tr) Divclassdes Table Cell (td)sIndentNavigates to the relative index based on current position in the history. Table Row (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 indexret

Table Cell (td)

Returns

DivclassidsIndentvoid Table Row (tr)clients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,MobileClient Table Row (tr)idsam

Table Cell (td)

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

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

Table Cell (td)id

removeForm(formName)

Table Row (tr)classdes Table Cell (td) DivsIndent Table Row (tr)idRemoves 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)prs

Table Cell (td)class

Parameters

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

Table Cell (td)

Returns

Divclassid

sIndentBoolean Table Row (tr)clients

Table Cell (td)

Supported Clients

Divclass

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

Table Cell (td)

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

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

removeIndex(index)

Table Row (tr) Divclassdes Table Cell (td)sIndentRemoves an absolute index based history stack form item. Table Row (tr)idtdprs

Parameters

table

class Table Cell (td)sIndent

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

Returns

div

classidsIndentBoolean Table Row (tr)clients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,MobileClient Table Row (tr)idtdsam

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

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

Table Cell (td)id

size()

Table Row (tr) Divclassdes Table Cell (td)sIndentReturns the total size of the history stack. Table Row (tr)idtdret

Returns

Divclassid

sIndentNumber Table Row (tr)clients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,MobileClient Table Row (tr)idsam

Table Cell (td)class

Sample

DivlanguagesIdent Code Block Table Row (tr)classjavascript
var size = history.size();
Table Cell (td)lastDetailRow