Re: Call me page wicket from in page.jsp
Hello! The problem is that we no longer need two separate applications, but the application contain wicket in the other. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658902.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: Call me page wicket from in page.jsp
Hello! The problem is that we no longer need two separate applications, but the application contain wicket in the other. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658901.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: Call me page wicket from in page.jsp
Thank you! How do I keep the same session even if aplicaiones different? To be placed in each web.xml, help me -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658869.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
Yes, i want to merge them into a single application with only one code base. I'm bringing in other wicket application. I began by: web.xml http://java.sun.com/dtd/web-app_2_3.dtd";> FilterAll com.consisint.acsele.management.filter.URLFilter inicio index-alt.jsp UserInfoSetFilter com.consisint.acsele.management.filter.UserInfoSetFilter UserInfoSetFilterFrontEnd com.consisint.frontend.config.UserInfoSetFilter filterName WicketApplication * * WicketApplication * org.apache.wicket.protocol.http.WicketFilter* applicationClassName com.consisint.frontend.modules.main.Application * * FilterAll *.jsp FilterAll /servlet/ FilterAll / FilterAll ServletGenericFormulaTool FilterAll action FilterAll ServletFundTool FilterAll ServletProductTool FilterAll ServletEntryTool FilterAll StartOperation FilterAll MobileServices FilterAll AppCoordinator FilterAll ServletUAA FilterAll ServletCashierStand FilterAll ServletFormulaTool FilterAll ServletClaimTool FilterAll WorkflowController FilterAll ServletReport FilterAll ServletPolicy FilterAll ServletWorkflowTool FilterAll ServletTemplateTool FilterAll ServletClaim FilterAll ServletTemplate FilterAll ServletPolicyTool FilterAll dwr-invoker FilterAll ProductServices UserInfoSetFilter *.jsp UserInfoSetFilter /servlet/ UserInfoSetFilter / UserInfoSetFilter ProductServices UserInfoSetFilter ServletGenericFormulaTool UserInfoSetFilter action UserInfoSetFilter ServletFundTool UserInfoSetFilter ServletProductTool UserInfoSetFilter ServletEntryTool UserInfoSetFilter StartOperation UserInfoSetFilter AppCoordinator UserInfoSetFilter ServletUAA UserInfoSetFilter ServletCashierStand UserInfoSetFilter ServletFormulaTool UserInfoSetFilter ServletClaimTool UserInfoSetFilter WorkflowController UserInfoSetFilter ServletReport UserInfoSetFilter ServletPolicy UserInfoSetFilter ServletWorkflowTool UserInfoSetFilter ServletTemplateTool UserInfoSetFilter ServletClaim UserInfoSetFilter ServletTemplate UserInfoSetFilter ServletPolicyTool UserInfoSetFilter dwr-invoker WicketApplication /* UserInfoSetFilterFrontEnd /* com.consisint.acsele.util.session.AcseleSessionListener com.consisint.acsele.util.session.AcseleSessionCreationListener com.consisint.acsele.util.context.AcseleContextListener com.consisint.frontend.config.FrontEndListener HtmlTableModelServlet com.consisint.acsele.htmltableutil.HtmlTableModelServlet 2 ServletCashierStand com.consisint.acsele.cashierstand.report.servlet.ServletCashierStand 2 ServletClaim com.consisint.acsele.workflow.claimtool.report.servlet.ServletClaim 2 ServletClaimTool com.consisint.acsele.workflow.claimtool.ServletClaimTool 2 ServletEntryTool com.consisint.acsele.entry.servlet.ServletEntryTool 2 ServletFundTool com.consisint.acsele.fund.fundtool.servlet.ServletFundTool 2 ServletGenericFormulaTool com.consisint.acsele.genericcontracts.web.servlet.ServletGenericFormulaTool 2 ServletFormulaTool com.consisint.acsele.reinsurance.webinterface.servlet.ServletFormulaTool 2 ServletPolicy com.consisint.acsele.policy.servlet.ServletPolicy 2
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
Re: Call me page wicket from in page.jsp
Thank you! Now, my problem is that there are two sessions (one in wicket application and another in jsp). How achievement maintain the values existing in the request from wicket to return to interact in the page jsp. Example: page in wicket (Page.java) WebRequestCycle cycle = (WebRequestCycle) RequestCycle.get(); HttpServletRequest request = cycle.getWebRequest().getHttpServletRequest(); HttpServletResponse response = cycle.getWebResponse().getHttpServletResponse(); HttpSession session = request.getSession(); How return a page in jsp. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658792.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
Call me page wicket from in page.jsp
Hello! Help me , how call me a page in wicket from of page .jsp. Example: *page.jsp* -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716.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: error in heritance
James, please help me. Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055573.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: error in heritance
I done the class to change the location: public class ConfigHtmlPath extends ResourceStreamLocator { /** * Constructor class */ public ConfigHtmlPath() { } /** * Find the html resource in the dir especified * @param clazz class to localize * @param path path where the class is * @return the new resource stream */ public IResourceStream locate(Class clazz, String path) { String location; String extension = path.substring(path.lastIndexOf('.') + 1); String simpleFileName = Strings.lastPathComponent(clazz.getName(), '.'); location = "/views/" + simpleFileName + "." + extension; URL url; try { // try to load the resource from the web context url = WebApplication.get().getServletContext().getResource(location); if (url != null) { return new UrlResourceStream(url); } } catch (MalformedURLException e) { throw new WicketRuntimeException(e); } // resource not found; fall back on class loading return super.locate(clazz, path); } } Thank you by reply! :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055527.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: error in heritance
I´m use wicket 1.4.6! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055471.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: error in heritance
Alex, the class Base extend Panel (ThirdByRolMain) and the class Sub extend Base (ThirdByRolPolicy). The two class is in package com.consisint.frontend.pages. And the html in C:\programs\FrontEnd\FrontEnd\WebContent\views . Help me please, error: WicketMessage: Base markup of inherited markup not found. Component class: com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for org.apache.wicket.util.resource.Resource to get a list of all filenames tried. Root cause: org.apache.wicket.markup.MarkupNotFoundException: Base markup of inherited markup not found. Component class: com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for org.apache.wicket.util.resource.Resource to get a list of all filenames tried. at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:98) at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63) ? Thank you Alex! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055467.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: error in heritance
Hello Alex, i´m using inheritance. See the cod. html of class extend Panel: http://www.w3.org/1999/XSL/Transform";> AQUI VA EL CHILD -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055406.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
error in heritance
Hello!i´m doing a call to the son class, and and show the error: WicketMessage: Base markup of inherited markup not found. Component class: com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for org.apache.wicket.util.resource.Resource to get a list of all filenames tried. Root cause: org.apache.wicket.markup.MarkupNotFoundException: Base markup of inherited markup not found. Component class: com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for org.apache.wicket.util.resource.Resource to get a list of all filenames tried. at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:98) at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63) at org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:55) The classes is: public class ThirdByRolMain extends Panel { protected WebMarkupContainer wmc; protected Form formThird; protected Object object; protected DataView dataView; // data table protected SortableThirdProvider thirdProvider; // data model protected List partAdds = new ArrayList(); protected Label numberRowLabel; protected FeedbackPanel feedback; public ThirdByRolMain(final String id,final Object object,final String idClass, final Role role,final boolean isClient,final Policy pol){ super(id); System.out.println("id padree= " + id); wmc = new WebMarkupContainer( "wmc" ) { @Override public boolean isTransparentResolver() { return true; }}; add(wmc); // formThird= new Form("form"); this.object=object; WebMarkupContainer containerDetailSearch = new WebMarkupContainer("detailSearch"); containerDetailSearch.setOutputMarkupId(true); add(containerDetailSearch); } http://www.w3.org/1999/XSL/Transform";> public class ThirdByRolPolicy extends ThirdByRolMain{ private ConfirmationAnswer isSure; private ModalDialog dataBasicModalDialog,modalDialogSecurity; private boolean isEmpty=true; private ValueMap properties = new ValueMap(); private String idThirdOld=""; public ThirdByRolPolicy(final String id,final Object object,final String idClass, final Role role,final boolean isClient,final Policy pol){ super(id, object,idClass,role, isClient, pol); Form formThird = new Form("thirdForm"); wmc.add(formThird); } } http://www.w3.org/1999/XSL/Transform";> Help me please, thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055355.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
Object AutoComplete -Clear Input
Hello! I need help. How do i clear input the user in the autocomplete? With what method? Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Object-AutoComplete-Clear-Input-tp2329930p2329930.html Sent from the Wicket - User 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: ModalWindow - Question
Hello Martin, i´m use dialog(name ModalWindow).close(target)...thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-Question-tp2279695p2280890.html Sent from the Wicket - User 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
ModalWindow - Question
Hello! i´m done a ModalWindow the question, where it's show two button: yes / no. When the user do click the button, i done a close the ModalWindow and have a error. Help me! AjaxButton yesB= new AjaxButton("YesButton"){ public void onSubmit(AjaxRequestTarget target, Form form){ confirm.setAnswer(true); AjaxRequestTarget art = AjaxRequestTarget.get(); if (art != null) { dialog.close(target); } }; }; -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-Question-tp2279695p2279695.html Sent from the Wicket - User 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