Re: Forwarding in 1.5 not working like in 1.4
this is a general problem with forwarding. instead of forwarding why dont you just 302? -igor On Fri, Oct 21, 2011 at 11:33 PM, Chris Colman wrote: > I've just noticed that some of the .js resources seem to be loading from > different addresses. I'm using 1.5.2 with the UrlRenderer patch to fix > the forwarding issue. > > Depending on the page it appears like the same .js is requested at two > different URLs. Presumably the browser will perform a download each time > as it will cache each differently according to their different URLs. > > > servlet path: > /content/home/wicket/resource/org.apache.wicket.markup.html.WicketEventR > eference/wicket-event-ver-131926433.js > > /wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wick > et-event-ver-131926433.js > > - > 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
Wicket + BIRT Report Integration
Hi All, Could anyone tell how to integrate the BIRT reports in wicket. Examples or references would of great help.
RE: Forwarding in 1.5 not working like in 1.4
I've just noticed that some of the .js resources seem to be loading from different addresses. I'm using 1.5.2 with the UrlRenderer patch to fix the forwarding issue. Depending on the page it appears like the same .js is requested at two different URLs. Presumably the browser will perform a download each time as it will cache each differently according to their different URLs. servlet path: /content/home/wicket/resource/org.apache.wicket.markup.html.WicketEventR eference/wicket-event-ver-131926433.js /wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wick et-event-ver-131926433.js - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Occasional "Software caused connection abort: socket write error" with 1.5
I do not think so. My application is upgraded from wicket 1.4.18 to 1.5.x, in wicket1.4.x using IE6, IE7, IE8 browser is normal, 'ClientAbortException error' appeared after the upgrade to wicket1.5.1, and use Chrome browser or IE9 is no problem both wicket 1.4.x and 1.5.x. Only some of the components with dataview grid each row used ModalWindow compenent, when refresh dataview data, the server side throws ClientAbortException error, but dataview row displayed, then when click on the dataview row's ajaxlink to pop-up ModelWindow, the browser display 404 page. IE9 runing compatibility mode has also ClientAbortException. server side error stack wicket ajax debug message -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Occasional-Software-caused-connection-abort-socket-write-error-with-1-5-tp3920880p3927132.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: Occasional "Software caused connection abort: socket write error" with 1.5
I suspect that will be our problem too. With simple quickstart the pages do not take very long to render and so impossible to click links fast enough such that you can click on one before the last link has completed rendering - maybe we could add a delay in the rendering somewhere or do a big database access to make the rendering process take longer. >-Original Message- >From: nhsoft.yhw [mailto:nhsoft@gmail.com] >Sent: Friday, 21 October 2011 9:41 PM >To: users@wicket.apache.org >Subject: Re: Occasional "Software caused connection abort: socket write >error" with 1.5 > >I try to reproduce the problem to create quickStart demo, but this error >problem only in my real application occurs, My situation is that only use >IE >6 7 8 visits the page with modalwindow will throw be connection problem. > >I will try to reproduce later. > > >-- >View this message in context: http://apache- >wicket.1842946.n4.nabble.com/Occasional-Software-caused-connection-abor t- >socket-write-error-with-1-5-tp3920880p3924906.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: Problems with AjaxCheckBox in Wicket 1.5.1
I will. I rolled back to 1.4.19 and they work again. Thanks! James -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problems-with-AjaxCheckBox-in-Wicket-1-5-1-tp3925435p3926640.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 + jasper reports
OK, I've almost got it - thanks for the example. It comes down to either using a ResourceLink which serves up the pdf with no complaints, but despite being attached to a submit button, the form doesn't seem to have been submitted; the parameters don't reflect any user input or, I can solve that if I use a Button instead, and copy this code from ResourceLink.onResourceRequested into the Button's onSubmit()... Attributes a = new Attributes(RequestCycle.get().getRequest(), RequestCycle.get() .getResponse(), null); resource.respond(a); But if I do that, it works but then I get "Header was already written to response!" as mentioned earlier. I also tried making my own MyResourceLink (I would rather have extended ResourceLink but I had to go all the way back to Link because ResourceLink's onResourceRequested is final) and I put a call to ParamsForm.this.process(this); then super.onResourceRequested(), and that stopped the error but still didn't submit the form. Has anyone found a way to get the best of both? I found SubmitLink, but I guess I need some way to 'mix that in', or decorate the ResourceLink with a submit first... not sure how to do that.. (ResourceLink already implements IFormSubmittingComponent, but I guess that's not enough) (I tried calling inputField.getConvertedInput() like I might do from a validator but that just returns null, which is what leads me to believe the form hasn't been submitted) Thanks, -- Jim. On Wed, Oct 19, 2011 at 11:55 PM, Martin Grigorov wrote: > On Wed, Oct 19, 2011 at 11:46 PM, Paul Szulc wrote: > > Ok, below the code I use to create a link that allows to download pdf > file > > created by jasper on runtime. Hope it helps. Do not hesitate to ask > > questions. > > > > > > public class PdfGenerateLink extends ResourceLink { > > > >public PdfGenerateLink(final String id, final IModel model, final > > PdfBuilderFromBidCreator creator) { > > > >super(id, new WebResource() { > >@Override > >public IResourceStream getResourceStream() { > >IResourceStream resourceStream = new > > AbstractResourceStreamWriter() { > > > >public void write(OutputStream output) { > >try { > >generate(output, model.getObject()); > >} catch (Exception e) { > >throw new RuntimeException(e); > >} > >} > > > >private void generate(OutputStream output, Bid bid) > > throws Exception { > >PdfOfertaDocumentBuilder pdf = > creator.create(bid); > Oferta ?! > This sounds like Bulgarians are involved here :-) > >InputStream generate = pdf.generate(); > >byte[] buffer = new byte[1024]; > >while (generate.read(buffer) != -1) { > >output.write(buffer); > >} > >generate.close(); > >} > > > >public String getContentType() { > >return "application/pdf"; > >} > >}; > > > >return resourceStream; > >} > > > >@Override > >protected void setHeaders(WebResponse response) { > >super.setHeaders(response); > >response.setCharacterEncoding("UFT-8"); > >response.setHeader("Expires", "0"); > >response.setHeader("Cache-Control", "no-cache"); > >response.setHeader("Cache-Control", "must-revalidate, > > post-check=0, pre-check=0"); > >response.setHeader("Pragma", "public"); > > > > > response.setAttachmentHeader(model.getObject().getPublicTask().getName().replace(" > > ", "_") + ".pdf"); > >} > >}); > >add(createImage("icon", "pdficon16.png")); > >} > > } > > > > On Tue, Oct 18, 2011 at 8:43 PM, Jim Pinkham wrote: > > > >> Paul, > >> > >> I am doing something very similar - I'd be interested to know more about > >> how you got this working - here is what I've got that works for now, but > I'm > >> not real happy with it: > >> > >> In my report forms, I have buttons like this: (details about params > >> omitted - nothing fancy there) > >> > >> add(new MyReportResourceButton("pdf", new > >> ReportResource("MyReport", new PdfResourceHandler()), paramsModel)); > >> add(new MyReportResourceButton("xls", new > >> ReportResource("MyReport", new XlsResourceHandler()), paramsModel)); > >> > >> (So it will load MyReport.jasper that was compiled and put into > resources > >> folder by maven plugin during build) > >> > >> MyReportResourceButton has this: > >> @Override > >> public final void onResourceRequested() { > >> Map params = paramsModel.getObject(); > >> resource.setRepor
Latest version of TinyMCE
Hi all, I am trying to get the latest version of TinyMCE... I have tried getting this from Maven like so: org.wicketstuff tinymce 1.4.18 When looking at the version of TinyMCE it says its version 3.3. This version is quite old- latest version on TinyMCE website is 3.4.6. The reason I need the latest version is that I am having major problems with IE9. Some Googling shows that it may be fixed in later versions. I have seen jbrookover / core from GitHub which seems to have version 3.4.1. I am not sure whether this should be used and how to get it has a jar. Any help would be appreciated. Regards Vishal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Problems with AjaxCheckBox in Wicket 1.5.1
create a quickstart and attach it to a jira issue... -igor On Fri, Oct 21, 2011 at 6:38 AM, jamesatk wrote: > Greetings, > > Our project updated to Wicket 1.5.1 from Wicket 1.4.5 and AjaxCheckBox is no > longer firing the onUpdate() method. > > Below is a code snippet of how it is being used: > > ListView listView = new ListView("events", eventGroups) { > > protected void populateItem(final ListItem item) { > final EventGroups event = (EventGroups) > item.getModelObject(); > > Model checked = new Model(false); > > AjaxCheckBox eventCheckbox = new > AjaxCheckBox("eventCheckbox", checked) { > > @Override > protected void onUpdate(AjaxRequestTarget target) { > logger.debug("onUpdate"); > // do stuff on updatd > } > }; > > item.add(eventCheckbox); > } > }; > > This code worked in Wicket 1.4.5, but not in Wicket 1.5.1. I have searched, > but have been unable to find a solution and the Wicket 1.5.1 migration guide > gave no indication that this has changed. > > Any help would be greatly appreciated. > > Thanks! > > James > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problems-with-AjaxCheckBox-in-Wicket-1-5-1-tp3925435p3925435.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: Wrong path for resources on redirected login page
Thanks Gilberto! I'll try that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wrong-path-for-resources-on-redirected-login-page-tp3920038p3925757.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
Problems with AjaxCheckBox in Wicket 1.5.1
Greetings, Our project updated to Wicket 1.5.1 from Wicket 1.4.5 and AjaxCheckBox is no longer firing the onUpdate() method. Below is a code snippet of how it is being used: ListView listView = new ListView("events", eventGroups) { protected void populateItem(final ListItem item) { final EventGroups event = (EventGroups) item.getModelObject(); Model checked = new Model(false); AjaxCheckBox eventCheckbox = new AjaxCheckBox("eventCheckbox", checked) { @Override protected void onUpdate(AjaxRequestTarget target) { logger.debug("onUpdate"); // do stuff on updatd } }; item.add(eventCheckbox); } }; This code worked in Wicket 1.4.5, but not in Wicket 1.5.1. I have searched, but have been unable to find a solution and the Wicket 1.5.1 migration guide gave no indication that this has changed. Any help would be greatly appreciated. Thanks! James -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problems-with-AjaxCheckBox-in-Wicket-1-5-1-tp3925435p3925435.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: Wrong path for resources on redirected login page
Hi Daniel, The Max Berger's blog has a post about it[1]. Hth, Gilberto [1] http://blog.max.berger.name/2010/02/jetty-7-maven-plugin-authentication.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wrong-path-for-resources-on-redirected-login-page-tp3920038p3925639.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: [wicketstuff-push] How to disconnect cleanly?
just tested on a quickstart,works well .. thanks for the fix ! On Fri, Oct 21, 2011 at 6:23 PM, Sebastian wrote: > hi, > > we fixed it in trunk now. please give it a try. > > regards, > > seb > > On 12.10.2011 11:18, vineet semwal wrote: >> >> thank you martin ! >> >> herald ,i have opened a issue for you >> https://github.com/wicketstuff/core/issues/66 >> thank you ! >> >> On Wed, Oct 12, 2011 at 2:19 PM, Martin Grigorov >> wrote: >>> >>> On Wed, Oct 12, 2011 at 11:13 AM, vineet semwal >>> wrote: there is no need for the api change,its a bug and i think wicket-stuff push developers will make that change there in uninstallNode(component,node) ,they might be busy .. >>> >>> they should be notified >>> add an issue in GitHub On Wed, Oct 12, 2011 at 12:50 PM, Harald Wellmann wrote: > > I'm currently doing timer.stop() in my application code before calling > uninstallNode(), but that requires copying code from the private > method TimerPushService._findPushBehavior(). So it seems the API could > do with a couple of extensions for this case... > > Best regards, > Harald > > 2011/10/11 vineet semwal: >> >> i think its better to do timerpushbehavior.stop() instead of >> component.remove(behavior) >> inside uninstallNode(component,node) but it might require other >> changes too .. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- thank you, regards, Vineet Semwal - 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 >>> >>> >> >> >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- thank you, regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [wicketstuff-push] How to disconnect cleanly?
hi, we fixed it in trunk now. please give it a try. regards, seb On 12.10.2011 11:18, vineet semwal wrote: thank you martin ! herald ,i have opened a issue for you https://github.com/wicketstuff/core/issues/66 thank you ! On Wed, Oct 12, 2011 at 2:19 PM, Martin Grigorov wrote: On Wed, Oct 12, 2011 at 11:13 AM, vineet semwal wrote: there is no need for the api change,its a bug and i think wicket-stuff push developers will make that change there in uninstallNode(component,node) ,they might be busy .. they should be notified add an issue in GitHub On Wed, Oct 12, 2011 at 12:50 PM, Harald Wellmann wrote: I'm currently doing timer.stop() in my application code before calling uninstallNode(), but that requires copying code from the private method TimerPushService._findPushBehavior(). So it seems the API could do with a couple of extensions for this case... Best regards, Harald 2011/10/11 vineet semwal: i think its better to do timerpushbehavior.stop() instead of component.remove(behavior) inside uninstallNode(component,node) but it might require other changes too .. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- thank you, regards, Vineet Semwal - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: ModalWindow shows Error Page in Opera
Thanks to all. With wicket 1.4.19 it works fine. 2011/10/21 Attila Király > It is fixed in 1.4.18 too: > https://issues.apache.org/jira/browse/WICKET-3615 > > Attila > > 2011/10/21 nhsoft.yhw > > > Wicket 1.5.x have fixed the problem. > > > > > > -- > > View this message in context: > > > http://apache-wicket.1842946.n4.nabble.com/ModalWindow-shows-Error-Page-in-Opera-tp3924738p3924885.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: Occasional "Software caused connection abort: socket write error" with 1.5
I try to reproduce the problem to create quickStart demo, but this error problem only in my real application occurs, My situation is that only use IE 6 7 8 visits the page with modalwindow will throw be connection problem. I will try to reproduce later. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Occasional-Software-caused-connection-abort-socket-write-error-with-1-5-tp3920880p3924906.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: ModalWindow shows Error Page in Opera
It is fixed in 1.4.18 too: https://issues.apache.org/jira/browse/WICKET-3615 Attila 2011/10/21 nhsoft.yhw > Wicket 1.5.x have fixed the problem. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/ModalWindow-shows-Error-Page-in-Opera-tp3924738p3924885.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: ModalWindow shows Error Page in Opera
Wicket 1.5.x have fixed the problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-shows-Error-Page-in-Opera-tp3924738p3924885.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
is its possible to navigate through this grid via ajax. But in my testcase iam not using this possibilitiy. but there would be also no different between navigating in my grid with or without database driven data. Could there be some problem with model-persistance in PageMap or anything else? Iam clueless =( -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924789.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
Martin, Are you navigating the GRID via AJAX? If so, then that is the AJAX panel replacement I was talking about... Otherwise I can't see why it should be different if you fetch data from a DB or use an array:-( Regards, Ernesto On Fri, Oct 21, 2011 at 10:59 AM, MattyDE wrote: > Thank u so much. This helps me alot! > > I also figured out that my own gridView implementation cause the problem. > > Iam using here an own implementation of SortableDataProvider. And if i fill > the Provider with data from the Database on Page A and did the browsing > forward, back thing than the PageExpired Error appears. > > But if i use a test-array to fill the SortableDataProvider it works without > PageExpired. > > Any hints for this? > > I wanted to understand the reason for this issue with my grid... > > Thanks :) > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924725.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: ModalWindow shows Error Page in Opera
On Fri, Oct 21, 2011 at 12:05 PM, Alex wrote: > Dear all, > > While trying to open a ModalWindow the Opera shows error page. Translated > from German it says something like “Internal Communication error. Check the > address or search for web site” In FF, IE, Safari everything works fine. > > > > Wicket version 1.4.9 Try with a newer version of Wicket. > > Opera 11.52 > > > > Thanks a lot in advance > Alex > -- 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
ModalWindow shows Error Page in Opera
Dear all, While trying to open a ModalWindow the Opera shows error page. Translated from German it says something like “Internal Communication error. Check the address or search for web site” In FF, IE, Safari everything works fine. Wicket version 1.4.9 Opera 11.52 Thanks a lot in advance Alex
Re: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
Thank u so much. This helps me alot! I also figured out that my own gridView implementation cause the problem. Iam using here an own implementation of SortableDataProvider. And if i fill the Provider with data from the Database on Page A and did the browsing forward, back thing than the PageExpired Error appears. But if i use a test-array to fill the SortableDataProvider it works without PageExpired. Any hints for this? I wanted to understand the reason for this issue with my grid... Thanks :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924725.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
See http://webcache.googleusercontent.com/search?q=cache:http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/ Ernesto On Fri, Oct 21, 2011 at 10:40 AM, MattyDE wrote: > how can i force a reload on browser back-button? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924680.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
how can i force a reload on browser back-button? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924680.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
See http://webcache.googleusercontent.com/search?q=cache:http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/ Ernesto On Fri, Oct 21, 2011 at 10:38 AM, Ernesto Reinaldo Barreiro wrote: > My guess might still be "valid"... Somehow the "state" of the browser > does not match component tree. You can try forcing re-loading for that > page, so that the state is always the same on both sides. > > Regards, > > Ernesto > > On Fri, Oct 21, 2011 at 10:30 AM, MattyDE wrote: >> ur guess is wrong =( >> >> But u give me a good hint. >> >> I've tested it now with two TestPages which only include Bookmarkable and >> AjaxLinks and this works. >> >> >> On the "non-working" Page the user did nothing before he browse to Page B >> but on Page A are a lot of ListViews and nested panels and more... >> >> Could this be the Problem? >> >> Thanks :) >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924658.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
My guess might still be "valid"... Somehow the "state" of the browser does not match component tree. You can try forcing re-loading for that page, so that the state is always the same on both sides. Regards, Ernesto On Fri, Oct 21, 2011 at 10:30 AM, MattyDE wrote: > ur guess is wrong =( > > But u give me a good hint. > > I've tested it now with two TestPages which only include Bookmarkable and > AjaxLinks and this works. > > > On the "non-working" Page the user did nothing before he browse to Page B > but on Page A are a lot of ListViews and nested panels and more... > > Could this be the Problem? > > Thanks :) > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924658.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
ur guess is wrong =( But u give me a good hint. I've tested it now with two TestPages which only include Bookmarkable and AjaxLinks and this works. On the "non-working" Page the user did nothing before he browse to Page B but on Page A are a lot of ListViews and nested panels and more... Could this be the Problem? Thanks :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924658.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: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton
Hi, Just guessing. 1-On page A you do some AJAX panel replacements? This is not reflected on page store... 2-You navigate to page B and then back button. 3-You click on AJAX link... page A is retrieved from store but AJAX link is not found on component tree... Then WebRequestCycleProcessor throws a PageExpiredException. Regards, Ernesto On Fri, Oct 21, 2011 at 8:37 AM, MattyDE wrote: > Hi community, > > i have a big Problem: > > > In my application i use BookmarkabePageLinks to browse through different > Pages and AjaxLinks to Open a Div box for Example. > > If the user now browse from Site A to B with the BookmarkablePageLink, use > than the back button of the Browser and now clicked a AjaxLink on Site A a > /org.apache.wicket.markup.html.pages.PageExpiredErrorPage /Error appears. > > Can anyone explain me why this happend and how i can prevent this issue? > Its not really userfriendly in my situation to throw exception if the user > used the back-button. > > I'm using wicket 1.4.8. > > Thanks in Advance for any help. > > > Iam sorry for my English is not my mothers tongue! > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924428.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: Occasional "Software caused connection abort: socket write error" with 1.5
On Fri, Oct 21, 2011 at 6:29 AM, nhsoft.yhw wrote: > my application has same problem, but it only throw socket error when IE 6 - 8 > brower, chrome and IE9 has no the problem. > > here is my question: > http://apache-wicket.1842946.n4.nabble.com/Is-there-ModalWindow-alternative-options-td3896443.html > > i have test by wicket 1.5.2 take 2 version, the problem exist. ticket + quickstart please > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Occasional-Software-caused-connection-abort-socket-write-error-with-1-5-tp3920880p3924240.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: Occasional "Software caused connection abort: socket write error" with 1.5
You tried google chrome browser? chrome browser I found no problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Occasional-Software-caused-connection-abort-socket-write-error-with-1-5-tp3920880p3924517.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: Drilling Application.getHomePage()
> Q / Problem) Since Application.getHomePage() returns Class > and in my case Multiple pages are mounted to point to the same WebPage. How > to I specify the Home Page. getHomePage() returns what Page to use for a request when the URL does not refer to a mounted Page or other RequestTarget. A default, if you will. Your mount points with different URLs for the class should handle the others. - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org