Commit 667b95b5d8c1fbad40c99d2e7b59da6be67fe9f2
1 parent
33032f86
make minimal web site compiling
Showing
3 changed files
with
8 additions
and
5 deletions
Show diff stats
calexium_lib @ b4832bd7d99
calexium_lib_examples/web/minimal_web_site_vc.anubis
| @@ -94,8 +94,7 @@ define WEB_Controller_Result | @@ -94,8 +94,7 @@ define WEB_Controller_Result | ||
| 94 | ( | 94 | ( |
| 95 | WEB_Session _session | 95 | WEB_Session _session |
| 96 | )= | 96 | )= |
| 97 | - with lwa = _session.lwa | ||
| 98 | - | 97 | + with lwa = *_session.web_request.lwa, |
| 99 | http_answer( | 98 | http_answer( |
| 100 | html_page | 99 | html_page |
| 101 | ( | 100 | ( |
| @@ -110,8 +109,8 @@ define WEB_Controller_Result | @@ -110,8 +109,8 @@ define WEB_Controller_Result | ||
| 110 | ], | 109 | ], |
| 111 | 110 | ||
| 112 | // content of the page | 111 | // content of the page |
| 113 | - [center(text("This is the 'Example 1' web site.")), br, | ||
| 114 | - text("Login from :"+] | 112 | + div([center(text("This is the 'Example 1' web site.")), br, |
| 113 | + text("Login from :")]) | ||
| 115 | ) | 114 | ) |
| 116 | )) | 115 | )) |
| 117 | . | 116 | . |
minimal_web_site.aproj
| @@ -35,6 +35,7 @@ | @@ -35,6 +35,7 @@ | ||
| 35 | <Folder Include="calexium_lib\extensions" /> | 35 | <Folder Include="calexium_lib\extensions" /> |
| 36 | <Folder Include="calexium_lib\file_processor_io" /> | 36 | <Folder Include="calexium_lib\file_processor_io" /> |
| 37 | <Folder Include="calexium_lib\file_processor_io\yaml" /> | 37 | <Folder Include="calexium_lib\file_processor_io\yaml" /> |
| 38 | + <Folder Include="calexium_lib\generic\types" /> | ||
| 38 | <Folder Include="calexium_lib\mail" /> | 39 | <Folder Include="calexium_lib\mail" /> |
| 39 | <Folder Include="calexium_lib\mail\lexers" /> | 40 | <Folder Include="calexium_lib\mail\lexers" /> |
| 40 | <Folder Include="calexium_lib\mail\types" /> | 41 | <Folder Include="calexium_lib\mail\types" /> |
| @@ -42,6 +43,7 @@ | @@ -42,6 +43,7 @@ | ||
| 42 | <Folder Include="calexium_lib\network" /> | 43 | <Folder Include="calexium_lib\network" /> |
| 43 | <Folder Include="calexium_lib\net_services" /> | 44 | <Folder Include="calexium_lib\net_services" /> |
| 44 | <Folder Include="calexium_lib\net_services_protocols" /> | 45 | <Folder Include="calexium_lib\net_services_protocols" /> |
| 46 | + <Folder Include="calexium_lib\generic" /> | ||
| 45 | <Folder Include="calexium_lib\obj" /> | 47 | <Folder Include="calexium_lib\obj" /> |
| 46 | <Folder Include="calexium_lib\obj\Debug" /> | 48 | <Folder Include="calexium_lib\obj\Debug" /> |
| 47 | <Folder Include="calexium_lib\os_tools" /> | 49 | <Folder Include="calexium_lib\os_tools" /> |
| @@ -101,6 +103,8 @@ | @@ -101,6 +103,8 @@ | ||
| 101 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml.anubis" /> | 103 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml.anubis" /> |
| 102 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml_parser.anubis" /> | 104 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml_parser.anubis" /> |
| 103 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml_type.anubis" /> | 105 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml_type.anubis" /> |
| 106 | + <Compile Include="calexium_lib\generic\session.anubis" /> | ||
| 107 | + <Compile Include="calexium_lib\generic\types\session.anubis" /> | ||
| 104 | <Compile Include="calexium_lib\mail\authentication.anubis" /> | 108 | <Compile Include="calexium_lib\mail\authentication.anubis" /> |
| 105 | <Compile Include="calexium_lib\mail\compose_email.anubis" /> | 109 | <Compile Include="calexium_lib\mail\compose_email.anubis" /> |
| 106 | <Compile Include="calexium_lib\mail\decode_mail.anubis" /> | 110 | <Compile Include="calexium_lib\mail\decode_mail.anubis" /> |