Search these areas:
Support Forums
Product Info

DataWeb: What's New
Creating an Application
The DataWeb Designer
Application Management
Data Tables
Data Tables
Data Analysis
-JavaScript Language Reference
-The HotRAD Source Editor
-Working with Data Classes
-Building DataWeb Script Classes
-JavaScript Language Enhancements
-Handling Exceptions
-JavaScript Reserved Words
Object Model
Full-Text Search
Domain and Email Hosting
HotBlock Modules
Account Management
New Responsive UI Module

DataWeb Help
Support Forums
Script Library
Knowledge Base

Home > Support

DataWeb User's Guide

The DataWeb Source Editor
You can use the DataWeb source editor to write JavaScript in your application and to modify the XHTML source for your views. The source editor provides a number of useful features for working with JavaScript and XHTML.

Syntax Checking
The source editor automatically checks the syntax of your code every time you save. If the syntax checker finds an error, it will stop parsing the script and display an error message, including the line number of the syntax error. The syntax checker parses script from the top of the file to the bottom, and stops each time it finds an error.

To go to a particular line number in your script, type Ctrl + G and enter the line number. You can also type "line" followed by the line number in the Find box.

Note that the syntax checker does not handle runtime or logic errors in your code; it only ensures that your code adheres to syntax rules.

Testing Functions
To test a function defined with the webcall attribute, press the Test button (). This will take you to a page from which all webcall functions in the script file can be run.

Shortcut Keys
You can use the following shortcut keys in the DataWeb source editor:

Function Shortcut Key
Save Ctrl + S
Set focus to Find box Ctrl + F
Find next F3
Find previous Shift + F3
Find current word next Ctrl + F3
Find current word previous Ctrl + Shift + F3
Go to line number Ctrl + G
Block indent Select lines, then Tab
Block unindent Select lines, then Shift + Tab
Change selection to lower case Ctrl + U
Change selection to upper case Ctrl + Shift + U
Undo Ctrl + Z
Redo Ctrl + Y

Note that these features of the source editor function only in browsers that implement the TextRange object, i.e., Windows Internet Explorer 5.0 and above.
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
Email Us