comparison _test/Resources/app.xml @ 66:f47f93534005

Documentation
author wizard
date Thu, 18 Mar 2010 17:58:33 +0300
parents 2840c4c85db8
children 9f5795a10939
comparison
equal deleted inserted replaced
65:2840c4c85db8 66:f47f93534005
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <Application id='app' type="Test::Web::Application::Instance"> 2 <Application id='app' type="Test::Web::Application::Instance">
3
4 <!-- Begin custom properties -->
3 <name>Sample application</name> 5 <name>Sample application</name>
4 <dataSource type='IMPL::Config::Activator' id='ds'> 6 <dataSource type='IMPL::Config::Activator' id='ds'>
5 <factory>IMPL::Object</factory> 7 <factory>IMPL::Object</factory>
6 <parameters type='HASH'> 8 <parameters type='HASH'>
7 <db>data</db> 9 <db>data</db>
11 <securityMod type='IMPL::Config::Activator'> 13 <securityMod type='IMPL::Config::Activator'>
12 <factory>IMPL::Object</factory> 14 <factory>IMPL::Object</factory>
13 <parameters type='HASH'> 15 <parameters type='HASH'>
14 <ds refid='ds'/> 16 <ds refid='ds'/>
15 </parameters> 17 </parameters>
16 </securityMod> 18 </securityMod>
19 <!-- End custom properties -->
20
21 <!-- direct access to the activators -->
17 <options type="HASH"> 22 <options type="HASH">
18 <dataSource refid='ds'/> 23 <dataSource refid='ds'/>
19 </options> 24 </options>
25
26 <!-- Set default output encoding, can be changed due query handling -->
20 <responseCharset>utf-8</responseCharset> 27 <responseCharset>utf-8</responseCharset>
28
29 <!-- Actions creation configuration -->
21 <factoryAction type="IMPL::Object::Factory"> 30 <factoryAction type="IMPL::Object::Factory">
22 <factory>IMPL::Web::Application::Action</factory> 31 <factory>IMPL::Web::Application::Action</factory>
23 <parameters type='HASH'> 32 <parameters type='HASH'>
24 <responseFactory type='IMPL::Object::Factory'> 33 <responseFactory type='IMPL::Object::Factory'>
25 <factory>IMPL::Web::Application::Response</factory> 34 <factory>IMPL::Web::Application::Response</factory>
27 <streamOut>memory</streamOut> 36 <streamOut>memory</streamOut>
28 </parameters> 37 </parameters>
29 </responseFactory> 38 </responseFactory>
30 </parameters> 39 </parameters>
31 </factoryAction> 40 </factoryAction>
41
42 <!-- Query processing -->
32 <handlersQuery type="IMPL::Object::List"> 43 <handlersQuery type="IMPL::Object::List">
33 <item type="IMPL::Web::QueryHandler::PageFormat"> 44 <item type="IMPL::Web::QueryHandler::PageFormat">
34 <templatesCharset>cp1251</templatesCharset> 45 <templatesCharset>cp1251</templatesCharset>
35 </item> 46 </item>
36 </handlersQuery> 47 </handlersQuery>