Search these areas:
Help
Support Forums
Product Info



-Introduction
-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Views
-Templates
-Components
-Data Analysis
-Members
-Security
-Importing
-Exporting
-FTP
-JavaScript
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-Glossary
-New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

KnowledgeBase


Bug: Script included between <ws:dataregion> and <ws:datasource> tags in view displayed in grid mode fails to execute
Article TypeBug
TitleScript included between <ws:dataregion> and <ws:datasource> tags in view displayed in grid mode fails to execute
When I include script in a view that's displayed in grid mode, between the ws:dataregion and ws:datasource tags, the script does not execute. For example, if I have the following source code in my view, I would expect a record to be written to the Log table, but it is not:


    &lt;ws:dataregion defaultmode="grid"
       actionbarposition="bottom"
       jumpbarposition="top"&gt;
    &lt;!--#
    script.log("test");
    #--&gt;
    &lt;ws:datasource src="Products" /&gt;


This is a known bug and will be fixed in a future version of the DataWeb Platform. In the meantime, you can work around this problem by moving your script either above the ws:dataregion tag or below the ws:datasource tag.
Last ReviewedFebruary 20, 2015 13:34:13

  
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
Email Us