summaryrefslogtreecommitdiff
path: root/packages/fcl-web/examples/combined/combined.html
diff options
context:
space:
mode:
authormichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-04-10 17:59:36 +0000
committermichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-04-10 17:59:36 +0000
commit8ce31f58a7ecd8fb88467b834121e1e25bd28cce (patch)
tree9edfbc4e4804f4f2e588c798ca3b494933cb14e5 /packages/fcl-web/examples/combined/combined.html
parent0f56acc55d0b64dbece40704545b575df1dd2b9a (diff)
downloadfpc-8ce31f58a7ecd8fb88467b834121e1e25bd28cce.tar.gz
* Added combined example: login using RPC and edit data using FPWebdata
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@17283 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-web/examples/combined/combined.html')
-rw-r--r--packages/fcl-web/examples/combined/combined.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/fcl-web/examples/combined/combined.html b/packages/fcl-web/examples/combined/combined.html
new file mode 100644
index 0000000000..377a592a90
--- /dev/null
+++ b/packages/fcl-web/examples/combined/combined.html
@@ -0,0 +1,20 @@
+<html>
+<head>
+<title>ExtJS application demo</title>
+<link rel="stylesheet" type="text/css" href="/ext/resources/css/ext-all.css"/>
+<script src="/ext/adapter/ext/ext-base.js"></script>
+<script src="/ext/ext-all-debug.js"></script>
+<script src="combined.cgi/Login/API"></script>
+<script src="login.js"></script>
+<script>
+Ext.onReady(function() {
+ // API is registered under FPWeb by default.
+ Ext.Direct.addProvider(FPWeb);
+ fpWeb.login=new fpWeb.LoginForm({});
+ fpWeb.login.show();
+});
+</script>
+</head>
+<body>
+</body>
+</html> \ No newline at end of file