Update of
/var/cvs/speeltuin/ernst/vpro-wizards/resources/org/mmbase/applications/vprowizards/resources
In directory
james.mmbase.org:/tmp/cvs-serv9403/applications/vpro-wizards/resources/org/mmbase/applications/vprowizards/resources
Modified Files:
vpro-wizards-servlet.xml messages.properties
Added Files:
messages_NL.properties
Log Message:
work in progress
See also:
http://cvs.mmbase.org/viewcvs/speeltuin/ernst/vpro-wizards/resources/org/mmbase/applications/vprowizards/resources
messages_NL.properties is new
Index: vpro-wizards-servlet.xml
===================================================================
RCS file:
/var/cvs/speeltuin/ernst/vpro-wizards/resources/org/mmbase/applications/vprowizards/resources/vpro-wizards-servlet.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- vpro-wizards-servlet.xml 22 Sep 2008 15:37:17 -0000 1.3
+++ vpro-wizards-servlet.xml 8 Oct 2008 08:28:57 -0000 1.4
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
-
-<!--
- - Application context definition for "wizard" DispatcherServlet.
- This is a configuration for the 'new' action code.
--->
<beans>
- <bean id="handlerMapping"
-
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
+ <description>
+ Application context definition for "wizard" DispatcherServlet.
+ This is a configuration for the 'new' action code.
+ </description>
+ <bean id="handlerMapping"
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="interceptors">
<list>
<!-- <ref bean="unicodeInterceptor"/> -->
<ref bean="redactieAuthenticationInterceptor" />
+ <!--
<ref bean="cacheInterceptor" />
+ -->
</list>
</property>
<property name="mappings">
@@ -22,8 +22,7 @@
</property>
</bean>
- <bean
-
class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
+ <bean
class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
<property name="exceptionMappings">
<map>
<entry
key="org.mmbase.applications.vprowizards.spring.AuthenticationException"
value="login" />
@@ -32,80 +31,68 @@
<property name="defaultErrorView" value="general-error" />
</bean>
- <bean name="redactieAuthenticationInterceptor"
-
class="org.mmbase.applications.vprowizards.spring.AuthenticationInterceptor">
+ <bean name="redactieAuthenticationInterceptor"
class="org.mmbase.applications.vprowizards.spring.AuthenticationInterceptor">
<!--
<property
name="loginPage"><value>/mmbase/vpro-wizards/system/login.jsp</value></property>
-->
<property name="loginPage">
- <value>login</value>
+ <value>loginja</value>
</property>
</bean>
- <bean name="referrerViewResolver"
-
class="org.mmbase.applications.vprowizards.spring.ReferrerResolver">
+ <!--The error page that is configured here is called when some error
occured during the processing
+ of one of the actions. It is not called when an exception is thrown.
+ -->
+ <bean id="referrerViewResolver"
class="org.mmbase.applications.vprowizards.spring.ReferrerResolver">
<property name="errorPage">
<value>error</value>
</property>
</bean>
- <bean id="basicCommandFactory"
-
class="org.mmbase.applications.vprowizards.spring.BasicCommandFactory">
+ <bean id="basicCommandFactory"
class="org.mmbase.applications.vprowizards.spring.BasicCommandFactory">
<property name="actionClasses">
<list>
- <value>
-
org.mmbase.applications.vprowizards.spring.action.CreateNodeAction
- </value>
- <value>
-
org.mmbase.applications.vprowizards.spring.action.UpdateNodeAction
- </value>
- <value>
-
org.mmbase.applications.vprowizards.spring.action.DeleteNodeAction
- </value>
- <value>
-
org.mmbase.applications.vprowizards.spring.action.CreateRelationAction
- </value>
- <value>
-
org.mmbase.applications.vprowizards.spring.action.SortRelationAction
- </value>
- <value>
-
org.mmbase.applications.vprowizards.spring.action.ToggleRelationAction
- </value>
+ <value>
org.mmbase.applications.vprowizards.spring.action.CreateNodeAction </value>
+ <value>
org.mmbase.applications.vprowizards.spring.action.UpdateNodeAction </value>
+ <value>
org.mmbase.applications.vprowizards.spring.action.DeleteNodeAction </value>
+ <value>
org.mmbase.applications.vprowizards.spring.action.CreateRelationAction </value>
+ <value>
org.mmbase.applications.vprowizards.spring.action.SortRelationAction </value>
+ <value>
org.mmbase.applications.vprowizards.spring.action.ToggleRelationAction </value>
</list>
</property>
</bean>
- <bean name="sessionReadingCloudFactory"
-
class="org.mmbase.applications.vprowizards.spring.SessionReadingCloudFactory" />
+ <bean
class="org.mmbase.applications.vprowizards.spring.SessionReadingCloudFactory"
id="cloudFactory" />
- <bean name="wizardController"
-
class="org.mmbase.applications.vprowizards.spring.WizardController">
+ <bean id="wizardController"
class="org.mmbase.applications.vprowizards.spring.WizardController">
<property name="cloudFactory">
- <ref local="sessionReadingCloudFactory" />
+ <ref local="cloudFactory" />
</property>
<property name="viewResolver">
<ref local="referrerViewResolver" />
</property>
<property name="commandFactory">
- <ref local="commandFactory" />
+ <ref local="basicCommandFactory" />
</property>
</bean>
- <bean id="viewResolver"
-
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
+ <bean id="viewResolver"
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass">
<value>org.springframework.web.servlet.view.JstlView</value>
</property>
<property name="prefix">
- <value>/edit/</value>
+ <value>/mmbase/vpro-wizards/system/</value>
+ </property>
+ <property name="suffix">
+ <value>.jsp</value>
</property>
</bean>
- <bean id="multipartResolver"
-
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
+ <bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<!-- one of the properties available; the maximum file size in
bytes -->
<property name="maxUploadSize">
<value>5000000</value>
</property>
</bean>
+
</beans>
\ No newline at end of file
Index: messages.properties
===================================================================
RCS file:
/var/cvs/speeltuin/ernst/vpro-wizards/resources/org/mmbase/applications/vprowizards/resources/messages.properties,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- messages.properties 8 Sep 2008 16:53:51 -0000 1.3
+++ messages.properties 8 Oct 2008 08:28:57 -0000 1.4
@@ -6,7 +6,7 @@
error.no.referrer.header=There was no 'referrer' header in the request, so
where should we go?.
error.property.required=Property ${0} is not set but is mandatory for action
${1}.
-error.property.illegal=Property ${0} is set on action ${1} but has illegal
value.
+error.property.illegal=Property ${0} is set on action ${1} but with an illegal
value.
error.property.illegal.sortfield=Property sortField is set to ${0} on action
${1} but this field is not present on the builder of relation ${2}.
error.property.illegal.sortdirection=Property direction is set to ${0} on
action ${1} but it should be either '${2}' or '${3}'.
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs