Re: Wicket in other application
icy 2 ServletPolicyTool com.consisint.acsele.policy.servlet.ServletPolicyTool 2 ServletProductTool com.consisint.acsele.product.servlet.ServletProductTool ServletReport com.consisint.acsele.util.report.ServletReport 2 ServletTemplate com.consisint.acsele.template.report.servlet.ServletTemplate ServletTemplateTool com.consisint.acsele.template.servlet.ServletTemplateTool 2 ServletUAA com.consisint.acsele.uaa.servlet.ServletUAA 2 ServletWorkflowTool com.consisint.acsele.workflow.workfloweditor.servlet.ServletWorkflowTool 2 StartOperation com.consisint.acsele.workflow.webappssupport.StartOperationServlet mailNotificationEnabled no 6 WorkflowController com.consisint.acsele.workflow.webappssupport.WorkflowControllerServlet 7 AppCoordinator com.consisint.acsele.workflow.webappssupport.AppCoordinatorServlet mailNotificationEnabled no 4 action org.apache.struts.action.ActionServlet application RIMessagesBundle config /WEB-INF/struts/struts-config.xml config/productInterface /WEB-INF/struts/struts-config_productInterface.xml config/resultPolicy /WEB-INF/struts/struts-config_resultPolicy.xml config/reinsurance /WEB-INF/struts/struts-config_reinsurance.xml config/genericContracts /WEB-INF/struts/struts-config_genericContracts.xml config/claimEventMaintenance /WEB-INF/struts/struts-config_claimEventMaintenance.xml config/maintenanceGeneric /WEB-INF/struts/struts-config_maintenanceGeneric.xml config/maintenanceMortality /WEB-INF/struts/struts-config_maintenanceMortality.xml config/wizardPolicyTool /WEB-INF/struts/struts-config_wizardPolicyTool.xml config/maintenanceCuotation /WEB-INF/struts/struts-config_maintenanceCuotation.xml config/generatedForms /WEB-INF/struts/struts-config_generatedForms.xml config/securityEditFile /WEB-INF/struts/struts-config_securityEditFile.xml config/claim /WEB-INF/struts/struts-config_claim.xml config/Maintenance /WEB-INF/struts/struts-config_maintenance.xml config/letters /WEB-INF/struts/struts-config_letters.xml config/entries /WEB-INF/struts/struts-config_entries.xml config/quote /WEB-INF/struts/struts-config_quote.xml config/coinsurance /WEB-INF/struts/struts-config_coinsurance.xml debug 0 detail 0 validate true config/uaa /WEB-INF/struts/struts-config_uaa.xml /displaytag /WEB-INF/struts/displaytag.tld -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-in-other-application-tp4658859p4658867.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket in other application
Hello Alis, the Wicket programming model is based on the typical web application request scenario - one thread typically processes one HTTP request using the org.apache.wicket.protocol.http.WicketFilter. This filter sets the application context using a thread-local, many wicket internals and also analogous many wicket applications use this thread-local over a static method by Application.get(). For the case that code for different application instances or even outside of the WicketFilter contexts request must be executed, you can use the following template. It works similar to the WicketFilter. public ApplicationContextTemplate(Application application) { final ThreadContext previousThreadContext = ThreadContext.detach(); try { ThreadContext.setApplication(application); execute(); } finally { ThreadContext.restore(previousThreadContext); } } protected abstract void execute(); Best regards, Jan On 05/16/2013 04:04 PM, Richard W. Adams wrote: What do you mean by "unify"? Do you want to merge them into a single application with only one code base? Or do you mean something else? If you intend to keep them as two separate applications, there are number of techniques for inter-process communication. From: Alis To: users@wicket.apache.org Date: 05/16/2013 08:55 AM Subject: Wicket in other application Hello! Currently, I have two applications: one wicket and one in struts jsp. Both need to interact. I keep the same HttpServletRequest and HttpSession in both apliacaiones. The solution I thought is to unify the wicket application in another application. How do I? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-in-other-application-tp4658859.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. ** - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket in other application
What do you mean by "unify"? Do you want to merge them into a single application with only one code base? Or do you mean something else? If you intend to keep them as two separate applications, there are number of techniques for inter-process communication. From: Alis To: users@wicket.apache.org Date: 05/16/2013 08:55 AM Subject: Wicket in other application Hello! Currently, I have two applications: one wicket and one in struts jsp. Both need to interact. I keep the same HttpServletRequest and HttpSession in both apliacaiones. The solution I thought is to unify the wicket application in another application. How do I? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-in-other-application-tp4658859.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. **
Wicket in other application
Hello! Currently, I have two applications: one wicket and one in struts jsp. Both need to interact. I keep the same HttpServletRequest and HttpSession in both apliacaiones. The solution I thought is to unify the wicket application in another application. How do I? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-in-other-application-tp4658859.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org