COMPANY
COMMUNITY
BLOG
HELP
MY ACCOUNT
EN PT ES

Imagen6847E

GeneXus Yi-AJAX: Web applications with Win Functionalities

(23/08/2005-00:00)
Yi version of GeneXus enables more power and higher usability for Web applications using AJAX.

GeneXus Yi permits to develop Web applications that permit users to interact with the same flexibility as with Win applications.

This is possible because GeneXus Yi enables client level validation for Web applications by means of new AJAX based features.

In particular there are two AJAX features that enable interaction with Web applications:

Automatic screen display of the description associated to a foreign password value when positioning on the field. Evaluation of all the rules and formulas of the Transaction performed in the client, in addition to the one already performed in the server. The following is an example of the rules evaluated in the client as viewed in a basic example of an Invoice entry:

 

Add(InvLinQty, InvQty);

Adds the quantity of products of the invoice to the attribute

Add(InvTot, CustTotPurchases);

Updates the client's balance

Subtract(InvLinQty, PrdQty);

Updates the product's balance

SUM(InvLineTotal)

Sums up the total of the invoice

Count(LinInvQty)

Counts the number of lines of the invoice

serial(InvLineNumber, InvLastLine,1);

Second Level

noaccept(InvLineNumber);

Second Level

 

The following are some of the screens of the abovementioned example, and how they are displayed at the time of running the application.

The following figure shows the execution of the rule:

This rule is triggered when hovering over the field and leaving it blank. Note that the cursor is placed on the Birthday Date field and the register has not been confirmed yet.

 

This figure shows the information associated to the client before confirming the invoice. When entering the clients name, it displays the Name and the Balance available. Also the product data is displayed added to the lines of the invoice and the calculation of the formulas associated to the Invoice.

Note that the cursor in positioned on the third line and the invoice has not been confirmed yet, but the formulas have already been evaluated.

As from Beta 3 GeneXus Yi version, Web applications generated with .Net (Build 281 or higher) generator and Java (Build 156 or higher) are generated using this implementation by default. Just by generating the application and getting this new feature, with no extra cost.

On the other hand, descriptions associated to errors and messages may be personalized from the Topic Editor and are located within the Messages Node.

ErrorMessages are the descriptions associated to the rules Error, and WarningMessages are the descriptions associated to the rules Msg.

For more information:

http://wiki.gxtechnical.com/wiki/tiki-index.php?page=AJAX  

http://wiki.gxtechnical.com/wiki/tiki-index.php?page=WebClientSideValidation  

http://wiki.gxtechnical.com/wiki/tiki-index.php?page=BuildWCSV  

 

 

Related
GeneXus Integrates AJAX: More Power and Usability
GeneXus Yi - AJAX: Screening in Dynamic Combos
GeneXus Yi Release Candidate has been released
GeneXus 9.0 Released
GeneXus releases its next version