Putting an Ajax Callback in AjaxEventBehavior
I have an image with an onmouseup AjaxEventBehavior. This results in the following markup: I want to put a JavaScript function into the second parameter of wicketAjaxGet, which is currently null -- how do I get it there? -- View this message in context: http://www.nabble.com/Putting-an-Ajax-Callback-in-AjaxEventBehavior-tp22448059p22448059.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: swarm & wicket 1.4
I am wondering the same thing. The most information I've found is here: http://www.nabble.com/WASP-SWARM-status-td20318330.html . It sounds like Wayne Pope may be taking up the torch. Marc Ende-2 wrote: > > Hi, > > currently I'm using swarm securing some webpages build on wicket. > Now, that's wicket 1.4 is getting nearer, I would like to know if > there is something planned with swarm for wicket 1.4. > > Do you know if it's compatible or is there a new release needed? > > yours > > Marc > > > > > -- View this message in context: http://www.nabble.com/swarm---wicket-1.4-tp20549342p20563418.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Are pages stored in session?
I have a very basic link to a FAQPage, as shown below. Every time that link is clicked, the FAQPage constructor is called. This page is fairly static, and there's no reason for it to be re-constructed on every request. Is there a way to create the link so that it will use an existing instance of FAQPage rather than re-constructing the whole page every time the link is called? faqPageLink = new Link("faqPageLink") { public void onClick() { setResponsePage(FAQPage.class); } }; -- View this message in context: http://www.nabble.com/Are-pages-stored-in-session--tp20386141p20386141.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Slogging through Wicket's guts
I'm trying to understand how Wicket's RequestCycle works in order to resolve the problem I explained in my previous post, "Losing session information". I'm using Eclipse's debugger to step through the process, but I've hit a wall. I'm using Wicket 1.3.4, and I get stuck at RequestListenerInterface, line 183. At this point, Wicket calls "method.invoke(..)". The object "method" has "IFormSubmitListener" as its class and "onFormSubmitted" as its method name. This is apparently an important line, since it's the place where the submitted form values get transferred from the request to the session. However, IFormSubmitListener.onFormSubmitted doesn't do anything. IFormSubmitListener is an interface. Can anyone explain to me how Wicket uses an interface with an empty method to transfer values from the request to the session? My stack looks like this, if that helps: RequestListenerInterface.invoke(Page, Component) line: 183 ListenerInterfaceRequestTarget.processEvents(RequestCycle) line: 73 WebRequestCycleProcessor(AbstractRequestCycleProcessor).processEvents(RequestCycle) line: 91 FoodHandlerWebRequestCycle(RequestCycle).processEventsAndRespond() line: 1171 FoodHandlerWebRequestCycle(RequestCycle).step() line: 1248 FoodHandlerWebRequestCycle(RequestCycle).steps() line: 1349 FoodHandlerWebRequestCycle(RequestCycle).request() line: 493 WicketFilter.doGet(HttpServletRequest, HttpServletResponse) line: 387 WicketServlet.doPost(HttpServletRequest, HttpServletResponse) line: 145 ... -- View this message in context: http://www.nabble.com/Slogging-through-Wicket%27s-guts-tp20334397p20334397.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]