Re: urlFor() outside wicket session
Thanks Igor That's just what I'll do. 2010/1/22 Igor Vaynberg igor.vaynb...@gmail.com mount the page so the url is well known, then you do not need wicket to construct it for you. -igor On Fri, Jan 22, 2010 at 1:29 PM, Help System i...@squir.es wrote: Hi, I have a quartz job that sends emails containing links to pages rendered by Wicket. All these links have parameters. Is there a way of doing the equivalent of RequestCycle.get().urlFor(pageclass, parameters) from a quartz job? At the moment it's hardcoded to generate the url but if the Wicket application configuration changes, the quartz job is something else to remember to modify. Thanks, Tim - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
urlFor() outside wicket session
Hi, I have a quartz job that sends emails containing links to pages rendered by Wicket. All these links have parameters. Is there a way of doing the equivalent of RequestCycle.get().urlFor(pageclass, parameters) from a quartz job? At the moment it's hardcoded to generate the url but if the Wicket application configuration changes, the quartz job is something else to remember to modify. Thanks, Tim
urlFor() outside wicket session
Hi, I have a quartz job that sends emails containing links to pages rendered by Wicket. All these links have parameters. Is there a way of doing the equivalent of RequestCycle.get().urlFor( pageclass, parameters) from a quartz job? At the moment it's hardcoded to generate the url but if the Wicket application configuration changes, the quartz job is something else to remember to modify. Thanks, Tim
Re: AjaxTabbedPanel with different forms on each tab
Great, thanks Marcin. It's a pitty that the panels have to be modified to work with ModalWindows but hey, if it works... Thanks again, Tim 2009/8/19 Marcin Palka marcin.pa...@gmail.com Tim, You have to place your modal window within a form. It's mandatory if you want to use Forms on a modal. You have to write code similar to the following: form wicket:id=outerForm div wicket:id=modalWithTabsmodal placeholder/div /form Form outerForm =new Form(outerForm); ModalWindowmodalWithTabs = new ModalWindow(modalWithTabs); ... outerForm.add(modalWithTabs); add(outerForm); cheers, Marcin Help System wrote: Hi, I have an AjaxTabbedPanel in a ModalWindow. There are two tabs, each containing a panel with a simple form. Looking at the html produced, the AjaxTabbedPanel moves the form element from the place in the panel to near the top of the tabbed panel html hierarchy and changes the id. All form elements are then part of the new tabbed panel form. The first tab works OK but the second tab fails to return from an AjaxSubmit. The error shown in the debug window is *ERROR: * Wicket.Ajax.Call.submitFormById: Trying to submit form with id 'form3f' that is not in document. The panels and forms work fine when not displayed in the tabbed panel. Can anyone tell me what I'm doing wrong please? Using Wicket 1.4 Thanks, Tim -- View this message in context: http://www.nabble.com/AjaxTabbedPanel-with-different-forms-on-each-tab-tp25044965p25049550.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
AjaxTabbedPanel with different forms on each tab
Hi, I have an AjaxTabbedPanel in a ModalWindow. There are two tabs, each containing a panel with a simple form. Looking at the html produced, the AjaxTabbedPanel moves the form element from the place in the panel to near the top of the tabbed panel html hierarchy and changes the id. All form elements are then part of the new tabbed panel form. The first tab works OK but the second tab fails to return from an AjaxSubmit. The error shown in the debug window is *ERROR: * Wicket.Ajax.Call.submitFormById: Trying to submit form with id 'form3f' that is not in document. The panels and forms work fine when not displayed in the tabbed panel. Can anyone tell me what I'm doing wrong please? Using Wicket 1.4 Thanks, Tim