Début d'ajout DWR

This commit is contained in:
Frederic Debuire
2008-01-23 16:28:17 +00:00
parent 60a35c7c9f
commit 9e7b8c045e
5 changed files with 77 additions and 33 deletions

View File

@@ -3,6 +3,7 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:flow="http://www.springframework.org/schema/webflow-config"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:lang="http://www.springframework.org/schema/lang"
xmlns:util="http://www.springframework.org/schema/util"
@@ -10,7 +11,8 @@
http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd
http://www.directwebremoting.org/schema/spring-dwr http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">
<!-- the application context definition for the SiteWebSpring DispatcherServlet -->
@@ -70,6 +72,7 @@
</bean>
<bean name="/addConference4.htm" class="org.yacos.web.chairman.controller.AddConferenceController">
<dwr:remote javascript="AddCriteriaJS" />
<property name="sessionForm" value="true" />
<property name="commandName" value="formConference" />
<property name="commandClass" value="org.yacos.web.chairman.form.FormConference" />
@@ -121,6 +124,37 @@
<!-- Get chosen conference in session context -->
<bean name="/chooseConference.htm" class="org.yacos.web.system.controller.ChooseConferenceController">
</bean>
<!-- <bean id="dwrUrlMapping"
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
<prop key="/dwr/**/*">dwrController</prop>
</props>
</property>
</bean>
<dwr:controller id="dwrController" debug="true"></dwr:controller>
<dwr:configuration>
<dwr:convert type="bean"
class="org.yacos.web.chairman.form.FormConference">
</dwr:convert>-->
<!-- <dwr:convert type="bean"
class="iConfWeb.bean.viewPaper.DetailPaper">
</dwr:convert>
<dwr:convert type="bean"
class="iConfWeb.bean.assignation.PcMemberBean">
</dwr:convert>
<dwr:convert type="bean"
class="iConfWeb.bean.assignation.Assignations">
</dwr:convert> -->
<!--<dwr:convert type="bean" class="java.lang.StackTraceElement"></dwr:convert>
<dwr:convert type="exception" class="java.lang.exception"></dwr:convert>
</dwr:configuration> -->
<!-- View Resolver -->