AnsweredAssumed Answered

Webviewer in WebDirect and JavaScripting

Question asked by ruud@rnb-it.nl on Jul 1, 2015
Latest reply on Oct 14, 2015 by Malcolm

Hi,

 

The SQLexplorer from Seedcode uses some JavaScripting to display a grid, very nice, very fast. This solution works in the FMpro versions without any problem, but when ported (with modifications ) to an WebDirect solution the generated HTML won't work in the Webviewer. When copied these generated HTML information to an default location on the webserver (FM14SERVER), it displays and works as expected.

 

Has some one some suggestions about the place for the java files for the server solution, and calls in the webviever (custom).

Or ... to get this working.

 

Some parts of the JS code (of course the 10.x.x.x is an internal TCP-IP )

<!DOCTYPE html>

<html lang="en">

<head>

<link rel="stylesheet" type="text/css" href="http://10.x.x.x/jqGrid/jquery-ui.css"/>

<link rel="stylesheet" type="text/css" href="http://10.x.x.x/jqGrid/ui.jqgrid.css"/>

......

.......

<script src="http://10.x.x.x/jqGrid/jquery.js" type="text/javascript"></script>

<script src="http://10.x.x.x/jqGrid/jquery.layout.js" type="text/javascript"></script>

<script src="http://10.x.x.x/jqGrid/grid.locale-en.js" type="text/javascript"></script>

<script src="http://10.x.x.x/jqGrid/jquery.jgrid.js" type="text/javascript"></script>

<script src="http://10.x.x.x/jqGrid/jquery-ui-custom.js" type="text/javascript"></script>

<script src="http://10.x.x.x./jqGrid/csvtojson.js" type="text/javascript"></script>

<script src="http://10.x.x.x/jqGrid/json2.js" type="text/javascript"></script>

<script type="text/javascript">

 

 

Thanks

Outcomes