Bonjour,
J'ai un bug que je ne m'explique pas et dont je n'arrive à trouvé aucun précédant.
Pour faire une mise en situation simple, j'ai un portlet toute bête qui a un controller pour gérer le mode view et un autre pour le mode edit. Celle de mode view récupère des données et les affiche. Tout bête quoi !
Le mode edit de cette portlet permet de paramétrer les liens (URL) afficher dans le mode view.
Le bug se situe au moment où je veux revenir en mode view après avoir enregistrer les paramètres. Le portail renvoie la même requètes (celle de sauvegarde des paramètres) mais en mode view. Or dans le Controller il n'y a rien pour récupérer le formulaire et c'est bien ce qui embête spring.
Et le code du controller du mode edit :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132 2013-04-26 12:01:35,642 | ERROR | Could not complete request [o.s.web.portlet.DispatcherPortlet<http-nio-0.0.0.0-8080-exec-6>] org.springframework.web.portlet.NoHandlerFoundException: No handler found for portlet request: mode 'view', phase 'ACTION_PHASE', parameters map['action' -> array<String>['save']] at org.springframework.web.portlet.DispatcherPortlet.noHandlerFound(DispatcherPortlet.java:1035) ~[spring-webmvc-portlet-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.web.portlet.DispatcherPortlet.doActionService(DispatcherPortlet.java:651) ~[spring-webmvc-portlet-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:520) ~[spring-webmvc-portlet-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:461) ~[spring-webmvc-portlet-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:565) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:41) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:513) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) ~[pc-bridge-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82) ~[wci-wci-2.3.0.Final.jar:2.3.0.Final] at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45] at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135) ~[wci-wci-2.3.0.Final.jar:2.3.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) ~[catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605) ~[catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544) ~[catalina.jar:7.0.39] at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84) ~[wci-wci-2.3.0.Final.jar:2.3.0.Final] at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58) ~[wci-wci-2.3.0.Final.jar:2.3.0.Final] at org.gatein.wci.tomcat.TC7ServletContainerContext.include(TC7ServletContainerContext.java:112) ~[wci-tomcat7-2.3.0.Final.jar:2.3.0.Final] at org.gatein.wci.ServletContainer.include(ServletContainer.java:392) ~[wci-wci-2.3.0.Final.jar:2.3.0.Final] at org.exoplatform.portal.webui.application.ExoServerContext.dispatch(ExoServerContext.java:45) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:65) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:84) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:263) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163) ~[pc-federation-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:244) ~[pc-federation-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:247) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:905) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.webui.application.UIPortletActionListener$ProcessActionActionListener.execute(UIPortletActionListener.java:117) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.webui.event.Event.broadcast(Event.java:97) ~[exo.portal.webui.framework-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:111) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:54) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119) ~[exo.portal.webui.framework-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119) ~[exo.portal.webui.framework-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:118) ~[exo.portal.webui.framework-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:561) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:182) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:159) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.web.WebAppController.service(WebAppController.java:325) ~[exo.portal.component.web.controller-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.portal.application.PortalController.onService(PortalController.java:108) ~[exo.portal.webui.portal-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.platform.common.account.setup.web.AccountSetupFilter.doFilter(AccountSetupFilter.java:48) ~[platform-component-common-4.0.0-RC2.jar:4.0.0-RC2] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.platform.welcomescreens.web.TermsAndConditionsFilter.doFilter(TermsAndConditionsFilter.java:79) ~[platform-welcome-screens-component-4.0.0-RC2.jar:4.0.0-RC2] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.platform.common.account.setup.web.AccountSetupFilter.doFilter(AccountSetupFilter.java:48) ~[platform-component-common-4.0.0-RC2.jar:4.0.0-RC2] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.platform.welcomescreens.web.TermsAndConditionsFilter.doFilter(TermsAndConditionsFilter.java:79) ~[platform-welcome-screens-component-4.0.0-RC2.jar:4.0.0-RC2] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.platform.welcomescreens.service.UnlockService$UnlockFilter.doFilter(UnlockService.java:345) ~[platform-welcome-screens-component-4.0.0-RC2.jar:4.0.0-RC2] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70) ~[exo.portal.component.web.api-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67) ~[exo.portal.component.web.security-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122) ~[exo.jcr.framework.web-1.15.3-GA.jar:1.15.3-GA] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66) ~[exo.portal.component.web.security-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88) [exo.core.component.security.core-2.5.3-GA.jar:2.5.3-GA] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81) [exo.portal.component.web.security-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49) [exo.portal.component.web.security-3.5.3-PLF-RC1.jar:3.5.3-PLF-RC1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60) [sso-integration-1.3.0.Final.jar:1.3.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:341) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1686) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]
Si quelqu'un à une idée, je suis preneur !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32 @Controller("parametresController") @RequestMapping(value = "EDIT") public class ParametresController { public ParametresController() { // TODO Auto-generated constructor stub } @RenderMapping public String showParametres(RenderRequest request, RenderResponse response) { String saved = request.getParameter("saved"); request.setAttribute("saved", saved); String url = request.getPreferences().getValue("url", ""); request.setAttribute("url", url); return "parametresForm"; } @RequestMapping(params = "action=save") public void saveParametres(ActionRequest request, ActionResponse response) throws ReadOnlyException, ValidatorException, IOException { String url= request.getParameter("url"); PortletPreferences pref = request.getPreferences(); pref.setValue("url", url); pref.store(); response.setRenderParameter("saved", "true"); } }
Partager