]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/site/org.argeo.slc.demo.basic/conf/canonic.xml
Integrate demo in web
[gpl/argeo-slc.git] / demo / site / org.argeo.slc.demo.basic / conf / canonic.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
4 xmlns:aop="http://www.springframework.org/schema/aop"
5 xsi:schemaLocation="
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
9
10 <bean id="canonic.spec" parent="slcTemplate.simpleSpec">
11 <property name="attributes">
12 <map>
13 <entry key="parameterAtInstantiation">
14 <bean parent="specAttr.primitive" p:isParameter="true" p:type="integer" />
15 </entry>
16 <entry key="displayWithoutControl">
17 <bean parent="specAttr.primitive" p:value="100" p:isParameter="true"
18 p:isFrozen="true" p:type="integer" />
19 </entry>
20 <entry key="displayWithControl">
21 <bean parent="specAttr.primitive" p:value="200" p:isParameter="true"
22 p:isFrozen="false" p:type="integer" />
23 </entry>
24 <entry key="hide">
25 <bean parent="specAttr.primitive" p:value="300" p:isParameter="true"
26 p:isFrozen="false" p:isHidden="true" p:type="integer" />
27 </entry>
28 </map>
29 </property>
30 </bean>
31
32 <bean id="canonic.flowTemplate" parent="slcTemplate.simpleFlow"
33 abstract="true">
34 <property name="executionSpec" ref="canonic.spec" />
35 <property name="executables">
36 <list>
37 <bean parent="task.echo"
38 p:message="Canonical: displayWithControl=@{displayWithControl}, displayWithoutControl=@{displayWithoutControl}, hide=@{hide}"
39 scope="execution">
40 <aop:scoped-proxy />
41 </bean>
42 </list>
43 </property>
44 </bean>
45 </beans>