Re: Using JNDI from Jetty/Start.java
Hi, I'm also using wicket 1.5 and jetty 7.5 (eclipse's) with mortbay's eclipse plugin of the same version, and I had no need to add those properties you mention. From my pom.xml: wicket.version1.5.3/wicket.version jetty.version7.5.0.v20110901/jetty.version dependency groupIdorg.eclipse.jetty.aggregate/groupId artifactIdjetty-all-server/artifactId version${jetty.version}/version scopeprovided/scope /dependency plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version${jetty.version}/version ... [the rest is what wicket quickstart brings] ... /plugin In src/main/webapp/WEB-INF/jetty-env.xml - which is found without problems: ?xml version=1.0 encoding=UTF-8? !DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN http://jetty.mortbay.org/configure.dtd; Configure class=org.eclipse.jetty.webapp.WebAppContext New id=db class=org.eclipse.jetty.plus.jndi.Resource Argjdbc/db/Arg Arg New class=oracle.jdbc.pool.OracleDataSource Set name=DriverTypethin/Set Set name=URLjdbc:oracle:thin:@[ip]:1521:[db]/Set Set name=User[user]/Set Set name=Password[pw]/Set Set name=connectionCachingEnabledtrue/Set Set name=connectionCacheProperties New class=java.util.Properties Call name=setProperty ArgMinLimit/Arg Arg5/Arg /Call !-- put the other properties in here too -- /New /Set /New /Arg /New New id=solrHome class=org.eclipse.jetty.plus.jndi.EnvEntry Argsolr/home/Arg Arg type=java.lang.Stringsolr/home/Arg Arg type=booleantrue/Arg /New /Configure I found the mix of eclipse and mortbay packages annoying. When copying examples you always have to take care not to overlook package names that do not fit into your version setup... Cheers, Chantal On Wed, 2011-12-28 at 04:37 +0100, armhold wrote: Thanks to a hint from Christian Huber I got it working. System.setProperty(java.naming.factory.url.pkgs, org.eclipse.jetty.jndi); System.setProperty(java.naming.factory.initial, org.eclipse.jetty.jndi.InitialContextFactory); EnvConfiguration envConfiguration = new EnvConfiguration(); URL url = new File(src/test/jetty/jetty-env.xml).toURI().toURL(); envConfiguration.setJettyEnvXml(url); bb.setConfigurations(new Configuration[]{ new WebInfConfiguration(), envConfiguration, new WebXmlConfiguration() }); Full details here: http://blog.armhold.com/2011/12/28/how-to-get-jndi-working-with-wicket-1-5-and-jetty-7-5/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-JNDI-from-Jetty-Start-java-tp4237903p4238955.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: handling session expiration feedback when clicking on bookmarkablepagelink
Use javax.servlet.http.HttpServletRequest#getRequestedSessionId to decide that On Wed, Dec 28, 2011 at 1:56 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: record their last access time in a cookie. then when your auth strategy descides to redirect to homepage it can check the cookie and decide to redirect to the expired error page instead. -igor On Tue, Dec 27, 2011 at 7:54 AM, manuelbarzi manuelba...@gmail.com wrote: it implies recording that user information somewhere. would prefer to avoid that. no chance to override or replace some piece of wicket api to handle this situation? . On Tue, Dec 27, 2011 at 4:10 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Manuel, I don't know right now if there is a pure Wicket solution but you can always use a session listener [1] to record remotes IPs of destroyed sessions and use that info decide whether to show a message or not. Cheers, Ernesto 1- http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.html On Tue, Dec 27, 2011 at 3:14 PM, manuelbarzi manuelba...@gmail.com wrote: hi, this is wicket 1.4.19 ( cannot upgrade to 1.5). the scenary is: [1] when user is logged in [2] after inactive long time session expires [3] user clicks on bookmarkablepagelink [4] request handling automatically brings the user to homepage (default) if possible, what's the recommended way to intercept transition from step [3] to [4], so the application can - at least - detect this event and show the feedback information session expired to the user when homepage is loaded? (already known that bookmarkablepagelink is dispatched by the handling servlet) thky . - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Recreate Scroll-Position after Paging (click on paging link)
Hello Martin, thanks for your reply. I solved it with the query parameters. Introducing AjaxLink would would have been propably to much rework as the paging component is already somewhat complex and i tried to reuse as much as possible of the PagingNavigator of wicket-extensions. Maybe next time i will try the ajax option. Here's the code: //save the scrollposition and append it as query parameter to 'href' attribute public SimpleAttributeModifier createAppendScrollPositionAttModifier() { return new SimpleAttributeModifier( onclick, var params = { pageXOffset:top.window.pageXOffset, pageYOffset:top.window.pageYOffset }; + \n var str = jQuery.param(params); + \n str = '' + str; + \n var href=$(this).attr('href'); + \n href = href + str; + \n $(this).attr('href', href);); } //scroll to previous scrolling position public static AbstractBehavior createScrollBehavior(String pageXOffset, String pageYOffset){ return BehaviorUtils .createTemporaryOnloadJavascriptBehaviour( top.scrollTo( + pageXOffset + , + pageYOffset + ); ); } //Add the scrolling behavior String pageXOffset = getRequest().getParameter(pageXOffset); pageXOffset = null.equals(pageXOffset) ? 0 : pageXOffset; String pageYOffset = getRequest().getParameter(pageYOffset); pageYOffset = null.equals(pageYOffset) ? 0 : pageYOffset; add(BehaviorUtils.createScrollBehavior(pageXOffset, pageYOffset)); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Recreate-Scroll-Position-after-Paging-click-on-paging-link-tp4228868p4240037.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: Using JNDI from Jetty/Start.java
I moved the config file to src/test/jetty/jetty-env.xml because I didn't want it deployed with my production war file. It was really the two property settings I was missing. You might not even need the properties if you are using the jetty-maven-plugin; I did because I'm running Start#main() directly from my IDE. PS: also using Solr. Small world. :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-JNDI-from-Jetty-Start-java-tp4237903p4240237.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: Hide page version query parameters
Allen wrote Is there a built-in way to hide page version parameters (e.g. ?12) in Wicket 1.5? If not, is it possible to write a custom IRequestMapper that does so without screwing up proper request handling? Hi, Did you find a way to remove the page version parameter? I'm also trying to figure out how to achieve that in Wicket 1.5. In 1.4 it was easy since, mounting the page with mountBookmarkablePage was enough. Regards Taneli Korri -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Hide-page-version-query-parameters-tp4163099p4240312.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: AW: adjust my web application for smartphone like iPhone
Thank you very much for yours helps. I wish all you happy new year! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/adjust-my-web-application-for-smartphone-like-iPhone-tp4235060p4240802.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
404 page gets constructed for @RequiresHttps pages
I just spent an hour debugging what would normally be a simple problem- the markup for a page that extends a base class failed to define a component which was added by the base class. But the problem wasn't immediately obvious because it was actually occurring in my 404 page, and NOT the page I was testing. I had no expectation that the 404 was even involved. So I set some breakpoints, and it seems that the 404 page is constructed whenever the user visits a page annotated with @RequiresHttps. Is this really by design? Might cause problems for folks who are doing logging or similar activity based on the 404 loading. Also, if the Page class could output its classname as part of the The component(s) below failed to render message, that would help debugging immensely. PS: I set up my 404 as per https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/404-page-gets-constructed-for-RequiresHttps-pages-tp4241025p4241025.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
Wicket.Ajax.registerPre/PostCallHandler filtering
Hello, I have a Panel containing many child components that perform various ajax actions. Whenever an ajax request is initiated from the panel or any of its children, I'd like to show an indicator on the panel and block user interaction with it. However, I don't want the indicator to be shown for ajax requests initiated by other components on the page. Is there a way to access the context of an ajax request in a javascript pre- or post-ajax call handler in order to determine what component is initiating the request? Looking at wicket-ajax.js, there doesn't seem to be. Alternatively, is there a way to decorate all ajax request javascript for a panel's child components? I'd like to avoid having to modify every ajax behavior of the Panel's child components in order to show the activity indicator on the panel. -Allen
Can't open modal popups in ie8 or under
I think this is a bug in Wicket 1.5.3. You cannot open a modal window when using ie8 (possible ie7) if the context of the page you are opening from has more than one level. Example, if your parent page is http://localhost/modaltest, then wicket will correctly open the modal window in IE, because it will generate a call to 'wicket/page' if your parent page is http://localhost/test/modal test, then a 404 error will be shown in the modal window, because the requested URL for the page will be 'test/wicket/page' I have created a quick start for it, and could create a bug, unless someone thinks I am missing something obvious. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Can't open modal popups in ie8 or under
Sorry, this could be a dupped of WICKET-4241. -Nelson On Wed, Dec 28, 2011 at 5:02 PM, Nelson Segura nsegu...@gmail.com wrote: I think this is a bug in Wicket 1.5.3. You cannot open a modal window when using ie8 (possible ie7) if the context of the page you are opening from has more than one level. Example, if your parent page is http://localhost/modaltest, then wicket will correctly open the modal window in IE, because it will generate a call to 'wicket/page' if your parent page is http://localhost/test/modal test, then a 404 error will be shown in the modal window, because the requested URL for the page will be 'test/wicket/page' I have created a quick start for it, and could create a bug, unless someone thinks I am missing something obvious. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
TinyMCE and textarea : validation problem
I have a panel where I have a form,feedback and textarea field done so: //*add feedback panel* final FeedbackPanel feedback = new FeedbackPanel(feedback); feedback.setOutputMarkupId(true); add(feedback); //*add form* Form form = new Form(form, new CompoundPropertyModel(segnif)); //*add component* FormComponent fc; fc = new TextArea(text,new PropertyModel(form,text)); fc.setRequired(true); *the field is required* *if I add TinyMce so:* I imports wicket.contrib.tinymce.TinyMceBehavior and modify the code: fc = new TextArea(text,new PropertyModel(form,text)); fc.add(new TinyMceBehavior()); fc.setRequired(true); then I write on textarea field but on the feedback is written that field is required, as if I had not written anything Validation does not work, when introduce TinyMce, Why? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-and-textarea-validation-problem-tp4240317p4240317.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
IE6 Stops Loading Images
Hello, I have an issue that may not be related to Wicket but I'm trying every possible angle to solve my issue quickly and any suggestion would be greatly appreciated. I have an application that for the most part loads only one screen and then swaps out data via Wicket calls. It runs about 10-12 hours a day non-stop and from time to time my users run into a situation where images just stop loading in IE6. The only fix at that point is to clear browser cache and things come back to normal. It may be worth to mention that part of the functionality is an image browser. Image implementation extends the NonCachingImage class but 99% of the time user will works with unique images. Like I wrote above, the application just stops loading images and users have to clear the browser cache to get the app running again. I can't test it with newer browsers - not even newer IE and it only happens after an extended usage. Has anyone run into the same or similar issue? If anyone had to venture a guess it it could be related to Wicket in any way? Thanks in advance, Dawid - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: TinyMCE and textarea : validation problem
How your submit button looks like ? You need to copy value from tiny to textarea. tinyMCE.triggerSave(true,true); Look at the TinyMceAjaxButton and TinyMceAjaxSubmitModifier. Regards, Michal W dniu 2011-12-28 20:20, ricmancio pisze: I have a panel where I have a form,feedback and textarea field done so: //*add feedback panel* final FeedbackPanel feedback = new FeedbackPanel(feedback); feedback.setOutputMarkupId(true); add(feedback); //*add form* Form form = new Form(form, new CompoundPropertyModel(segnif)); //*add component* FormComponent fc; fc = new TextArea(text,new PropertyModel(form,text)); fc.setRequired(true); *the field is required* *if I add TinyMce so:* I imports wicket.contrib.tinymce.TinyMceBehavior and modify the code: fc = new TextArea(text,new PropertyModel(form,text)); fc.add(new TinyMceBehavior()); fc.setRequired(true); then I write on textarea field but on the feedback is written that field is required, as if I had not written anything Validation does not work, when introduce TinyMce, Why? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-and-textarea-validation-problem-tp4240317p4240317.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: IE6 Stops Loading Images
Which version of Wicket ? What kind of request loads the image - Ajax or normal ? On Thu, Dec 29, 2011 at 4:47 AM, Dawid Dudzinski dawi...@gmail.com wrote: Hello, I have an issue that may not be related to Wicket but I'm trying every possible angle to solve my issue quickly and any suggestion would be greatly appreciated. I have an application that for the most part loads only one screen and then swaps out data via Wicket calls. It runs about 10-12 hours a day non-stop and from time to time my users run into a situation where images just stop loading in IE6. The only fix at that point is to clear browser cache and things come back to normal. It may be worth to mention that part of the functionality is an image browser. Image implementation extends the NonCachingImage class but 99% of the time user will works with unique images. Like I wrote above, the application just stops loading images and users have to clear the browser cache to get the app running again. I can't test it with newer browsers - not even newer IE and it only happens after an extended usage. Has anyone run into the same or similar issue? If anyone had to venture a guess it it could be related to Wicket in any way? Thanks in advance, Dawid - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket.Ajax.registerPre/PostCallHandler filtering
See IAjaxCallDecorator. Each Ajax component can decorate its ajax call with pre- and post- conditions. To remove the indicator use onSuccess and onFailure callbacks On Thu, Dec 29, 2011 at 12:41 AM, Allen Gilbert allen.gilb...@doane.edu wrote: Hello, I have a Panel containing many child components that perform various ajax actions. Whenever an ajax request is initiated from the panel or any of its children, I'd like to show an indicator on the panel and block user interaction with it. However, I don't want the indicator to be shown for ajax requests initiated by other components on the page. Is there a way to access the context of an ajax request in a javascript pre- or post-ajax call handler in order to determine what component is initiating the request? Looking at wicket-ajax.js, there doesn't seem to be. Alternatively, is there a way to decorate all ajax request javascript for a panel's child components? I'd like to avoid having to modify every ajax behavior of the Panel's child components in order to show the activity indicator on the panel. -Allen -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Can't open modal popups in ie8 or under
On Thu, Dec 29, 2011 at 3:04 AM, Nelson Segura nsegu...@gmail.com wrote: Sorry, this could be a dupped of WICKET-4241. Did you verify that 4241 fixes it ? -Nelson On Wed, Dec 28, 2011 at 5:02 PM, Nelson Segura nsegu...@gmail.com wrote: I think this is a bug in Wicket 1.5.3. You cannot open a modal window when using ie8 (possible ie7) if the context of the page you are opening from has more than one level. Example, if your parent page is http://localhost/modaltest, then wicket will correctly open the modal window in IE, because it will generate a call to 'wicket/page' if your parent page is http://localhost/test/modal test, then a 404 error will be shown in the modal window, because the requested URL for the page will be 'test/wicket/page' I have created a quick start for it, and could create a bug, unless someone thinks I am missing something obvious. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Palette and onComponentTagBody
Extend Palette and provide your own MyPalette.html with the swapped columns. On Thu, Dec 29, 2011 at 2:36 AM, matteus matteu...@hotmail.com wrote: Hy, I´m Matteus and I´m have a problem with the component Palette because I need change the Html component and I dont know. I used the onComponentTagBody in this case but I dont have solution. The problem is that I want to change the position of the 2 chids components html. I want to change the column Available to the column Selected. thank anyone who can help me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Palette-and-onComponentTagBody-tp4241432p4241432.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 -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 404 page gets constructed for @RequiresHttps pages
404 is used only when the request cannot be processed by any other page/resource/servlet/... @RequireHttps is Wicket annotation which will cause a check for the current url scheme to be https. If it is not then Wicket will automatically redirect to the same url with https scheme, On Wed, Dec 28, 2011 at 11:03 PM, armhold armh...@gmail.com wrote: I just spent an hour debugging what would normally be a simple problem- the markup for a page that extends a base class failed to define a component which was added by the base class. But the problem wasn't immediately obvious because it was actually occurring in my 404 page, and NOT the page I was testing. I had no expectation that the 404 was even involved. So I set some breakpoints, and it seems that the 404 page is constructed whenever the user visits a page annotated with @RequiresHttps. Is this really by design? Might cause problems for folks who are doing logging or similar activity based on the 404 loading. Also, if the Page class could output its classname as part of the The component(s) below failed to render message, that would help debugging immensely. Send us the patch. PS: I set up my 404 as per https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/404-page-gets-constructed-for-RequiresHttps-pages-tp4241025p4241025.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 -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket.Ajax.registerPre/PostCallHandler filtering
Martin, I am familiar with IAjaxCallDecorator, and am using it extensively. However, in this case, I'm trying to avoid having to override getAjaxCallDecorator() in every Ajax-enabled component under my Panel. Instead, I'm trying to find a single place where I can decorate or pre- and post-process calls for the various ajax components in my Panel. -Allen On Thu, Dec 29, 2011 at 12:25 AM, Martin Grigorov mgrigo...@apache.orgwrote: See IAjaxCallDecorator. Each Ajax component can decorate its ajax call with pre- and post- conditions. To remove the indicator use onSuccess and onFailure callbacks On Thu, Dec 29, 2011 at 12:41 AM, Allen Gilbert allen.gilb...@doane.edu wrote: Hello, I have a Panel containing many child components that perform various ajax actions. Whenever an ajax request is initiated from the panel or any of its children, I'd like to show an indicator on the panel and block user interaction with it. However, I don't want the indicator to be shown for ajax requests initiated by other components on the page. Is there a way to access the context of an ajax request in a javascript pre- or post-ajax call handler in order to determine what component is initiating the request? Looking at wicket-ajax.js, there doesn't seem to be. Alternatively, is there a way to decorate all ajax request javascript for a panel's child components? I'd like to avoid having to modify every ajax behavior of the Panel's child components in order to show the activity indicator on the panel. -Allen -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Regarding Stack Overflow exception
Hi, Can you please suggest the version in which serialization issue is fixed. Even in the change log, I am not able to find the relevant entry of serialization fix? - //Maddy -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-Stack-Overflow-exception-tp4203930p4242123.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.Ajax.registerPre/PostCallHandler filtering
Hi Allen, This information will be available in Wicket 6.0 where Wicket Ajax is improved. For 1.5 you can try with registering click event listener in the capturing phase and extract the clicked element from event.target(srcElement). But I guess IE9 will fail you with this approach. On Thu, Dec 29, 2011 at 8:48 AM, Allen Gilbert allen.gilb...@doane.edu wrote: Martin, I am familiar with IAjaxCallDecorator, and am using it extensively. However, in this case, I'm trying to avoid having to override getAjaxCallDecorator() in every Ajax-enabled component under my Panel. Instead, I'm trying to find a single place where I can decorate or pre- and post-process calls for the various ajax components in my Panel. -Allen On Thu, Dec 29, 2011 at 12:25 AM, Martin Grigorov mgrigo...@apache.orgwrote: See IAjaxCallDecorator. Each Ajax component can decorate its ajax call with pre- and post- conditions. To remove the indicator use onSuccess and onFailure callbacks On Thu, Dec 29, 2011 at 12:41 AM, Allen Gilbert allen.gilb...@doane.edu wrote: Hello, I have a Panel containing many child components that perform various ajax actions. Whenever an ajax request is initiated from the panel or any of its children, I'd like to show an indicator on the panel and block user interaction with it. However, I don't want the indicator to be shown for ajax requests initiated by other components on the page. Is there a way to access the context of an ajax request in a javascript pre- or post-ajax call handler in order to determine what component is initiating the request? Looking at wicket-ajax.js, there doesn't seem to be. Alternatively, is there a way to decorate all ajax request javascript for a panel's child components? I'd like to avoid having to modify every ajax behavior of the Panel's child components in order to show the activity indicator on the panel. -Allen -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org