All examples are written in core HTML/JavaScript and P4JsApi/P4JScript (no frameworks used).
This is not production code. The intent is to demonstrate a possible use of the P4JScript API.

runQueries
==========
./runQueries/runqueries.html

The drop-down menu 'Pick a Query' copies template queries in the 'Query to run' field.
You can type or modify queries in the 'Query to run' field.
'Execute' runs the query and displays the result in an HTML table.

editForms
=========
./editForms/editform.html

Demonstrates using the specdef to read the form definition and create a dynamic form editor:
   1. Pick a form type.
   2. Enter the name of the form.
   3. Click 'Edit' to dynamically create the form and load its content.
   4. Make some changes and click 'Save'.

submitDialog
============

The submitDialog is a lightweight implementation of the P4V submitDialog.

The submitDialog is an HTML Window. You pick a pending file in P4V, right-click, and launch the submitDialog.

You might be prompted to 'delete shelved files' before you can submit the file. 
For P4V users, most of the behavior should be familiar.

The example demonstrates how to chain commands when loading 'describe <changenum>'/'job -e <jobnumber> and on Submit 'fix -c'/'submit -c'.
