Libraries WEB APP 2.0

 

Follow libraries always inside

The system use follow standard libraries

 

if you execute the function _header(), then the system initial follow libraries

 

Library

Description

ui.js

allow to create the User Interface

ux.js

allow to add "live" to the components

beas.js

common functions for the framework nav bar

 

Follow additional Libraries available

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 start 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>