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 | 94 | ( |
| 95 | 95 | WEB_Session _session |
| 96 | 96 | )= |
| 97 | - with lwa = _session.lwa | |
| 98 | - | |
| 97 | + with lwa = *_session.web_request.lwa, | |
| 99 | 98 | http_answer( |
| 100 | 99 | html_page |
| 101 | 100 | ( |
| ... | ... | @@ -110,8 +109,8 @@ define WEB_Controller_Result |
| 110 | 109 | ], |
| 111 | 110 | |
| 112 | 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 | 35 | <Folder Include="calexium_lib\extensions" /> |
| 36 | 36 | <Folder Include="calexium_lib\file_processor_io" /> |
| 37 | 37 | <Folder Include="calexium_lib\file_processor_io\yaml" /> |
| 38 | + <Folder Include="calexium_lib\generic\types" /> | |
| 38 | 39 | <Folder Include="calexium_lib\mail" /> |
| 39 | 40 | <Folder Include="calexium_lib\mail\lexers" /> |
| 40 | 41 | <Folder Include="calexium_lib\mail\types" /> |
| ... | ... | @@ -42,6 +43,7 @@ |
| 42 | 43 | <Folder Include="calexium_lib\network" /> |
| 43 | 44 | <Folder Include="calexium_lib\net_services" /> |
| 44 | 45 | <Folder Include="calexium_lib\net_services_protocols" /> |
| 46 | + <Folder Include="calexium_lib\generic" /> | |
| 45 | 47 | <Folder Include="calexium_lib\obj" /> |
| 46 | 48 | <Folder Include="calexium_lib\obj\Debug" /> |
| 47 | 49 | <Folder Include="calexium_lib\os_tools" /> |
| ... | ... | @@ -101,6 +103,8 @@ |
| 101 | 103 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml.anubis" /> |
| 102 | 104 | <Compile Include="calexium_lib\file_processor_io\yaml\yaml_parser.anubis" /> |
| 103 | 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 | 108 | <Compile Include="calexium_lib\mail\authentication.anubis" /> |
| 105 | 109 | <Compile Include="calexium_lib\mail\compose_email.anubis" /> |
| 106 | 110 | <Compile Include="calexium_lib\mail\decode_mail.anubis" /> | ... | ... |