Move project to wsf_js_widget
This commit is contained in:
@@ -101,42 +101,42 @@ feature -- Helper: mapping
|
|||||||
|
|
||||||
feature -- Execution
|
feature -- Execution
|
||||||
|
|
||||||
execute_hello (req: WSF_REQUEST; res: WSF_RESPONSE)
|
execute_hello (request: WSF_REQUEST; response: WSF_RESPONSE)
|
||||||
local
|
local
|
||||||
page: SAMPLE_PAGE
|
page: SAMPLE_PAGE
|
||||||
do
|
do
|
||||||
-- To send a response we need to setup, the status code and
|
-- To send a response we need to setup, the status code and
|
||||||
-- the response headers.
|
-- the response headers.
|
||||||
create page.make (req, res)
|
create page.make (request, response)
|
||||||
page.execute
|
page.execute
|
||||||
end
|
end
|
||||||
|
|
||||||
grid_demo (req: WSF_REQUEST; res: WSF_RESPONSE)
|
grid_demo (request: WSF_REQUEST; response: WSF_RESPONSE)
|
||||||
local
|
local
|
||||||
page: GRID_PAGE
|
page: GRID_PAGE
|
||||||
do
|
do
|
||||||
-- To send a response we need to setup, the status code and
|
-- To send a response we need to setup, the status code and
|
||||||
-- the response headers.
|
-- the response headers.
|
||||||
create page.make (req, res)
|
create page.make (request, response)
|
||||||
page.execute
|
page.execute
|
||||||
end
|
end
|
||||||
|
|
||||||
repeater_demo (req: WSF_REQUEST; res: WSF_RESPONSE)
|
repeater_demo (request: WSF_REQUEST; response: WSF_RESPONSE)
|
||||||
local
|
local
|
||||||
page: REPEATER_PAGE
|
page: REPEATER_PAGE
|
||||||
do
|
do
|
||||||
-- To send a response we need to setup, the status code and
|
-- To send a response we need to setup, the status code and
|
||||||
-- the response headers.
|
-- the response headers.
|
||||||
create page.make (req, res)
|
create page.make (request, response)
|
||||||
page.execute
|
page.execute
|
||||||
end
|
end
|
||||||
|
|
||||||
load_file (name: STRING; req: WSF_REQUEST; res: WSF_RESPONSE)
|
load_file (name: STRING; request: WSF_REQUEST; response: WSF_RESPONSE)
|
||||||
local
|
local
|
||||||
f: WSF_FILE_RESPONSE
|
f: WSF_FILE_RESPONSE
|
||||||
do
|
do
|
||||||
create f.make_html (name)
|
create f.make_html (name)
|
||||||
res.send (f)
|
response.send (f)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/.svn$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" full_class_checking="false" is_attached_by_default="true" void_safety="transitional" syntax="transitional">
|
<option warning="true" full_class_checking="false" is_attached_by_default="true" void_safety="all" syntax="transitional">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
||||||
<library name="http_client" location="$ISE_LIBRARY\contrib\library\network\http_client\http_client-safe.ecf"/>
|
<library name="http_client" location="$ISE_LIBRARY\contrib\library\network\http_client\http_client-safe.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
||||||
<library name="wsf_html" location="..\..\library\server\wsf_html\wsf_html-safe.ecf" readonly="false"/>
|
<library name="wsf_js_widget" location="..\..\library\server\wsf_js_widget\wsf_js_widget-safe.ecf" readonly="false"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="widgetapp_nino" extends="common">
|
<target name="widgetapp_nino" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-10-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-10-0 http://www.eiffel.com/developers/xml/configuration-1-10-0.xsd" name="wsf_html" uuid="6AAAE037-7E66-4F5D-BED0-0042245C26BC" library_target="wsf_html">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-11-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-11-0 http://www.eiffel.com/developers/xml/configuration-1-11-0.xsd" name="wsf_html" uuid="6AAAE037-7E66-4F5D-BED0-0042245C26BC" library_target="wsf_html">
|
||||||
<target name="wsf_html">
|
<target name="wsf_html">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
@@ -11,22 +11,11 @@
|
|||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
||||||
<library name="encoder" location="..\..\text\encoder\encoder-safe.ecf"/>
|
<library name="encoder" location="..\..\text\encoder\encoder-safe.ecf"/>
|
||||||
<library name="http" location="..\..\network\protocol\http\http-safe.ecf"/>
|
|
||||||
<library name="json" location="..\..\..\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
|
||||||
<library name="pcre" location="$ISE_EIFFEL\unstable\library\text\regexp\pcre\pcre-safe.ecf"/>
|
|
||||||
<library name="uri_template" location="..\..\text\parser\uri_template\uri_template-safe.ecf"/>
|
<library name="uri_template" location="..\..\text\parser\uri_template\uri_template-safe.ecf"/>
|
||||||
<library name="wsf" location="..\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="..\wsf\wsf-safe.ecf"/>
|
||||||
<cluster name="api" location=".\api\" recursive="true"/>
|
<cluster name="api" location=".\api\" recursive="true"/>
|
||||||
<cluster name="css" location=".\css\" recursive="true"/>
|
<cluster name="css" location=".\css\" recursive="true"/>
|
||||||
<cluster name="form" location=".\form\" recursive="true"/>
|
<cluster name="form" location=".\form\" recursive="true"/>
|
||||||
<cluster name="webcontrol" location=".\webcontrol\">
|
|
||||||
<cluster name="validators" location=".\webcontrol\validators\"/>
|
|
||||||
<cluster name="input" location=".\webcontrol\input\"/>
|
|
||||||
<cluster name="grid" location=".\webcontrol\grid\"/>
|
|
||||||
<cluster name="autocompletions" location=".\webcontrol\autocompletions\"/>
|
|
||||||
<cluster name="navbar" location=".\webcontrol\navbar\"/>
|
|
||||||
<cluster name="progressbar" location=".\webcontrol\progressbar\"/>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="widget" location=".\widget\" recursive="true"/>
|
<cluster name="widget" location=".\widget\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
27
library/server/wsf_js_widget/wsf_js_widget-safe.ecf
Normal file
27
library/server/wsf_js_widget/wsf_js_widget-safe.ecf
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-10-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-10-0 http://www.eiffel.com/developers/xml/configuration-1-10-0.xsd" name="wsf_js_widget" uuid="660D6D82-2218-11E3-86B1-F23C91AEC05E" library_target="wsf_js_widget">
|
||||||
|
<target name="wsf_js_widget">
|
||||||
|
<root all_classes="true"/>
|
||||||
|
<file_rule>
|
||||||
|
<exclude>/.git$</exclude>
|
||||||
|
<exclude>/EIFGENs$</exclude>
|
||||||
|
<exclude>/.svn$</exclude>
|
||||||
|
</file_rule>
|
||||||
|
<option warning="true" full_class_checking="true" is_attached_by_default="true" void_safety="all" syntax="standard">
|
||||||
|
</option>
|
||||||
|
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
||||||
|
<library name="encoder" location="..\..\text\encoder\encoder-safe.ecf"/>
|
||||||
|
<library name="http" location="..\..\network\protocol\http\http-safe.ecf"/>
|
||||||
|
<library name="json" location="..\..\..\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
||||||
|
<library name="pcre" location="$ISE_EIFFEL\unstable\library\text\regexp\pcre\pcre-safe.ecf"/>
|
||||||
|
<library name="uri_template" location="..\..\text\parser\uri_template\uri_template-safe.ecf"/>
|
||||||
|
<library name="wsf" location="..\wsf\wsf-safe.ecf"/>
|
||||||
|
<cluster name="webcontrol" location=".\webcontrol\"/>
|
||||||
|
<cluster name="validators" location=".\validators\"/>
|
||||||
|
<cluster name="input" location=".\input\"/>
|
||||||
|
<cluster name="grid" location=".\grid\"/>
|
||||||
|
<cluster name="autocompletions" location=".\autocompletions\"/>
|
||||||
|
<cluster name="navbar" location=".\navbar\"/>
|
||||||
|
<cluster name="progressbar" location=".\progressbar\"/>
|
||||||
|
</target>
|
||||||
|
</system>
|
||||||
27
library/server/wsf_js_widget/wsf_js_widget.ecf
Normal file
27
library/server/wsf_js_widget/wsf_js_widget.ecf
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-8-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-8-0 http://www.eiffel.com/developers/xml/configuration-1-8-0.xsd" name="wsf_js_widget" uuid="660D6D82-2218-11E3-86B1-F23C91AEC05E" library_target="wsf_js_widget">
|
||||||
|
<target name="wsf_js_widget">
|
||||||
|
<root all_classes="true"/>
|
||||||
|
<file_rule>
|
||||||
|
<exclude>/.git$</exclude>
|
||||||
|
<exclude>/EIFGENs$</exclude>
|
||||||
|
<exclude>/.svn$</exclude>
|
||||||
|
</file_rule>
|
||||||
|
<option warning="true" full_class_checking="true" void_safety="none" syntax="standard">
|
||||||
|
</option>
|
||||||
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
|
<library name="encoder" location="..\..\text\encoder\encoder.ecf"/>
|
||||||
|
<library name="http" location="..\..\network\protocol\http\http-safe.ecf"/>
|
||||||
|
<library name="json" location="..\..\..\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
|
<library name="pcre" location="$ISE_EIFFEL\unstable\library\text\regexp\pcre\pcre.ecf"/>
|
||||||
|
<library name="uri_template" location="..\..\text\parser\uri_template\uri_template.ecf"/>
|
||||||
|
<library name="wsf" location="..\wsf\wsf.ecf"/>
|
||||||
|
<cluster name="webcontrol" location=".\webcontrol\"/>
|
||||||
|
<cluster name="validators" location=".\validators\"/>
|
||||||
|
<cluster name="input" location=".\input\"/>
|
||||||
|
<cluster name="grid" location=".\grid\"/>
|
||||||
|
<cluster name="autocompletions" location=".\autocompletions\"/>
|
||||||
|
<cluster name="navbar" location=".\navbar\"/>
|
||||||
|
<cluster name="progressbar" location=".\progressbar\"/>
|
||||||
|
</target>
|
||||||
|
</system>
|
||||||
Reference in New Issue
Block a user