Libraries WEB APP 2.0

 

Following libraries are always inside

The system uses the following standard libraries

 

If you execute the function _header(), the system initializes the following libraries:

Library

Description

ui.js

allows to create the User Interface

ux.js

allows to add "live" to the components

beas.js

common functions for the framework nav bar

 

Available additional libraries

with example
<script src="assets21/js/gs1_128.js"></script>

you can add follow standard libraries

Library

Description

assets21/js/gs1_128.js

GS1-128 decoding support

assets21/js/class_serials.js

batch  extended editor

assets21/js/class_batches.js

serial extended editor

assets21/js/class_extendedSearch.js

extended search function

 

Current App

You can save the current app in a separate file

[program path]\httpserver\beasweb\assets2\apps\[currentapp]\app.js

and you can include this with

<script src="assets21/apps/[currentapp]/app.js"></script>

 

Alternative you can save it in the project folder

[projectfolder]\httpserver\\apps\[currentapp]\app.js

and define the path in the program definition with

<script src="assets21/apps/[currentapp]/app.js"></script>

 

 

Note:
Every app starts with "t20_". The name of folder is the app name without prefix.

 

 

Multi language

Multi language support with

<script=src="assets21/apps/goodsIssue/i18n/@currentlanguage@.js"></script>