Bug: Script included between <ws:dataregion> and <ws:datasource> tags in view displayed in grid mode fails to execute |
Article Type | Bug |
Title | Script 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:
<ws:dataregion defaultmode="grid"
actionbarposition="bottom"
jumpbarposition="top">
<!--#
script.log("test");
#-->
<ws:datasource src="Products" />
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 Reviewed | February 20, 2015 13:34:13 |
|