beas.js

 

This class is used internally by our framework to manage some commons action in the user interface

 

This library is automatically included when you use the standard UI framework (calling to _header() / _footer() at the begining/end of your code from beasScript)

<script src="assets21/js/beas.js"></script>

 

Class members

Method Summary


constructor

constructor( )

Initialize the class

ping

ping( ms )

Ping to the server every Xms

about

about()

Display the about window

aboutApp

aboutApp()

Display the about window for the current application

print

print()

Allow to change the location and    

Display the window with all documents printed to reprint again any of them

 

 

 

 

 

Method Detail


constructor

constructor( mode, batches )

Initialize the class

The class is automatically instantiate after page is loaded, you don't need to declared a new one

 

Parameters: {void}

Returns: {void}

ping

ping( ms )

Ping to the server every Xms

Set a timer each Xms to send a request to the server, the timer should be stopped only if the server doesn't reply and an error message should be displayed similar than this:

 

beas_js_ping_error

 

Parameters: {void}

Returns: {void}

about

about()

Display the about window

 

beas_js_about

 

Parameters: {void}

Returns: {void}

 

aboutApp

aboutApp()

Display the about window for the current application

 

beas_js_aboutApp

 

Parameters: {void}

Returns: {void}

print

print()

Allow to change the location and    

Display the window with all documents printed to reprint again any of them

 

beas_js_print

 

Parameters: {void}

Returns: {void}

 

 

x