Re: ResourceStreamRequestHandler and page refresh

2018-04-20 Thread Martin Grigorov
Hi, You can use wicket-examples as inspiration: https://github.com/apache/wicket/blob/master/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AjaxDownloadPage.java On Fri, Apr 20, 2018 at 1:20 AM, Lon Varscsak wrote: > Okay, cool. I did see this,

Re: ResourceStreamRequestHandler and page refresh

2018-04-19 Thread Lon Varscsak
Okay, cool. I did see this, but one of the things I was perplexed about is how to get an IResource into the AjaxDownloadBehavior at the time of onClick. I guess in onClick I could set an ivar to some resource and model load from there. Any other ideas? -Lon On Wed, Apr 18, 2018 at 9:53 PM,

Re: ResourceStreamRequestHandler and page refresh

2018-04-18 Thread Sven Meier
Hi, you'll have to update your page first and then initiate the download. For Ajax you can use: https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/AjaxDownloadBehavior.java For Wicket<8 you'll find its predecessor AjaxDownload on

ResourceStreamRequestHandler and page refresh

2018-04-18 Thread Lon Varscsak
Hey all, I've got a Link that I use to generate and download a report. I'm using a ResourceStreamRequestHandler and getRequestCycle().scheduleRequestHandlerAfterCurrent which works fine, except that I was expecting my current request to finish as if it were a regular link. In this case, I'd

Re: reusable Panel with Delete-Button and Confirmation Dialog (Bootstrap Modal), issue with page refresh

2017-07-11 Thread UlrichKnaack
-with-Delete-Button-and-Confirmation-Dialog-Bootstrap-Modal-issue-with-page-refresh-tp4678222p4678224.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

reusable Panel with Delete-Button and Confirmation Dialog (Bootstrap Modal), issue with page refresh

2017-07-11 Thread Knaack, Ulrich
Hi, I've created a reusable panel (DeleteObjectPanel.java) which contains a BootstrapAjaxButton for deleting database entries. After clicking the button, a Bootstrap Modal (ConfirmDeleteModal.java) appears for confirmation. Both are in the package example.confirm. MCVE is here:

Re: load JS after page refresh

2015-04-28 Thread Chris
AM, Chris chris...@gmx.at wrote: Hi all, how is it possible to load a JS function after a specific page refresh based on an ajax link click? Link link = new AjaxFallbackLink(link) { @Override public void onClick(AjaxRequestTarget target) { target.add

Re: load JS after page refresh

2015-04-27 Thread Martin Grigorov
a JS function after a specific page refresh based on an ajax link click? Link link = new AjaxFallbackLink(link) { @Override public void onClick(AjaxRequestTarget target) { target.add(getPage()); } }; Thanks, Chris

Re: load JS after page refresh

2015-04-27 Thread Chris
: Hi all, how is it possible to load a JS function after a specific page refresh based on an ajax link click? Link link = new AjaxFallbackLink(link) { @Override public void onClick(AjaxRequestTarget target) { target.add(getPage()); } }; Thanks

Re: load JS after page refresh

2015-04-27 Thread Sven Meier
and Consulting https://twitter.com/mtgrigorov On Mon, Apr 27, 2015 at 5:15 AM, Chris chris...@gmx.at wrote: Hi all, how is it possible to load a JS function after a specific page refresh based on an ajax link click? Link link = new AjaxFallbackLink(link) { @Override public

Re: load JS after page refresh

2015-04-27 Thread Martin Grigorov
, 2015 at 5:15 AM, Chris chris...@gmx.at wrote: Hi all, how is it possible to load a JS function after a specific page refresh based on an ajax link click? Link link = new AjaxFallbackLink(link) { @Override public void onClick(AjaxRequestTarget target

Re: load JS after page refresh

2015-04-27 Thread Chris
automatically after the rendering. Add this Behavior in #onClick() to the page. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Apr 27, 2015 at 5:15 AM, Chris chris...@gmx.at wrote: Hi all, how is it possible to load a JS function after a specific page

load JS after page refresh

2015-04-26 Thread Chris
Hi all, how is it possible to load a JS function after a specific page refresh based on an ajax link click? Link link = new AjaxFallbackLink(link) { @Override public void onClick(AjaxRequestTarget target) { target.add(getPage

Re: load JS after page refresh

2015-04-26 Thread kovaron
Hello, On the arrival page you can do it in renderHead. Isn't it good for you? chris.gr [via Apache Wicket] ml-node+s1842946n4670509...@n4.nabble.com ezt írta (időpont: 2015. ápr. 27., Hét 4:16): Hi all, how is it possible to load a JS function after a specific page refresh based on an ajax

Re: Handling page refresh or redirect when the server reboots

2014-10-31 Thread msalman
for their inputs. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handling-page-refresh-or-redirect-when-the-server-reboots-tp4667465p4668210.html Sent from the Users forum mailing list archive at Nabble.com

Re: Handling page refresh or redirect when the server reboots

2014-10-21 Thread Martin Grigorov
attaching quickstart project. Please see: com.mytest.javascript.* Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handling-page-refresh-or-redirect-when-the-server-reboots-tp4667465p4667990.html Sent from the Users forum mailing list archive at Nabble.com

Re: Handling page refresh or redirect when the server reboots

2014-10-20 Thread msalman
.nabble.com/Handling-page-refresh-or-redirect-when-the-server-reboots-tp4667465p4667990.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Handling page refresh or redirect when the server reboots

2014-09-16 Thread Sébastien Gautrin
? Is it even possible to do it? Personally I don't think this is not a good idea but this feature is a requirement and I want to explore it as much as possible. Appreciate any help. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handling-page-refresh-or-redirect

Handling page refresh or redirect when the server reboots

2014-09-10 Thread msalman
. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handling-page-refresh-or-redirect-when-the-server-reboots-tp4667465.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe

Re: Browser Page Refresh Not Really Refreshing

2013-10-17 Thread dhongyt
-Page-Refresh-Not-Really-Refreshing-tp4661826p4661828.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

Re: Browser Page Refresh Not Really Refreshing

2013-10-17 Thread Sven Meier
provided the Sortable ListProvider with a ListSubscription which I get through a hibernate database call. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing-tp4661826p4661828.html Sent from the Users forum mailing list archive

RE: Browser Page Refresh Not Really Refreshing

2013-10-17 Thread dhongyt
do it so that when there is a refresh then it would increment the page version by one? Or should I never do that? Different way of going about it? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing-tp4661826p4661857.html Sent

Re: Browser Page Refresh Not Really Refreshing

2013-10-17 Thread dhongyt
I am passing the list into the provider. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing-tp4661826p4661858.html Sent from the Users forum mailing list archive at Nabble.com

Re: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread MartinoSuperman
Hi, Isn't it an idea to use Javascript for this? In JavaScript, it is also possible to refresh a page? Example code: http://www.quackit.com/javascript/javascript_refresh_page.cfm -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really

Re: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread dhongyt
I feel like there isn't a need for Javascript? Should a CRTL+R or an F5 already refresh the page and reload new data in Wicket? Is there a setting I'm forgetting to set? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing

RE: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread Paul Bors
You're stepping on the page cache in Wicket. See Chapter 7 of the Wicket Guide Page versioning and caching at: http://wicket.apache.org/guide/guide/chapter7.html It really depends on what type of page you have, statefull (will rebuild each page refresh) or not (will be cached). ~ Thank you

Browser Page Refresh Not Really Refreshing

2013-10-15 Thread dhongyt
on the actually page link again for the new data to show up. Is this because I need to set my headers to not cache? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing-tp4661826.html Sent from the Users forum mailing list archive

Re: Browser Page Refresh Not Really Refreshing

2013-10-15 Thread Sven Meier
. Is this because I need to set my headers to not cache? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing-tp4661826.html Sent from the Users forum mailing list archive at Nabble.com

Re: Browser Page Refresh Not Really Refreshing

2013-10-15 Thread Andrew Hall
Sent from my HTC One SV - Reply message - From: dhongyt davidhtr...@gmail.com To: users@wicket.apache.org Subject: Browser Page Refresh Not Really Refreshing Date: Tue, Oct 15, 2013 8:55 AM I have a wicket page that contains a dataview of subscriptions. Any user that subscribes

Re: AjaxFormSubmitBehavior causing page refresh in IE

2012-08-16 Thread kshitiz
/AjaxFormSubmitBehavior-causing-page-refresh-in-IE-tp4651267p4651290.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

AjaxFormSubmitBehavior causing page refresh in IE

2012-08-15 Thread kshitiz
); } } }); * But in IE, it is causing page refresh...how can i solve this issue? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormSubmitBehavior-causing-page-refresh-in-IE-tp4651267.html Sent from the Users

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo
/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650711.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo
-on-page-refresh-tp4650642p4650712.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: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread Martin Grigorov
. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650712.html Sent from the Users forum mailing list archive at Nabble.com

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo
with this or is there a way to remove the version bits from the url? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650714.html Sent from the Users forum mailing list archive at Nabble.com

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread Martin Grigorov
-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650714.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo
-not-remember-selected-panel-on-page-refresh-tp4650642p4650716.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

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread Martin Grigorov
whine ;-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650716.html Sent from the Users forum mailing list archive at Nabble.com

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo
-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650718.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo
Lucky for us there are plenty of others who would charge us the same :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650720.html Sent from the Users forum mailing

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-22 Thread sardo
: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650701.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-22 Thread Sven Meier
://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650701.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-21 Thread Sven Meier
Please try out org.apache.wicket.examples.ajax.builtin.TabbedPanelPage in wicket-examples. I cannot reproduce the problem there. Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-20 Thread Sven Meier
this message in context: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642.html Sent from the Users forum mailing list archive at Nabble.com

Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-20 Thread sardo
Ah yes sorry, the all important version number. It's Wicket 1.5. Yes, I *believe* the busy indicator isn't related. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh

Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-19 Thread sardo
-panel-on-page-refresh-tp4650642.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

problem with page refresh

2012-04-18 Thread alezx
if this is a bit confusing, and thanks for your help! ale -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-page-refresh-tp4567392p4567392.html Sent from the Users forum mailing list archive at Nabble.com

Re: problem with page refresh

2012-04-18 Thread Martin Grigorov
help! ale -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-page-refresh-tp4567392p4567392.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e

Re: problem with page refresh

2012-04-18 Thread Jonathan Tougas
any change to the number is lost.. so what do I do wrong? sorry if this is a bit confusing, and thanks for your help! ale -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-page-refresh-tp4567392p4567392.html Sent from the Users forum mailing

[1.5] unwanted page refresh

2012-03-21 Thread Pierre Goupil
Good afternoon, I have a couple of ModalWindow s in my code that respond to closing using an AjaxButton and its AjaxRequestTarget. My problem is that, in 1.5, after the page displays its components added to the target, the page refreshes itself. Which I don't want, indeed. The problem is weird

Re: [1.5] unwanted page refresh

2012-03-21 Thread Bas Gooren
Hi, Sounds like you have a redirect somewhere. Do you have any components on the page which at some point in time call setResponsePage or an equivalent? Bas Op 21-3-2012 12:49, schreef Pierre Goupil: Good afternoon, I have a couple of ModalWindow s in my code that respond to closing using

Re: [1.5] unwanted page refresh

2012-03-21 Thread Pierre Goupil
Sounds like you have a redirect somewhere. Yes, but one which didn't triggered in 1.4! Do you have any components on the page which at some point in time call setResponsePage or an equivalent? I have no setResponsePage. I'll look through the js to see if there is any window.location but

Re: Component not found error after ajax page refresh

2011-11-24 Thread Ernesto Reinaldo Barreiro
(WebRequestCycleProcessor.java:144)        ... 15 more -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Component-not-found-error-after-ajax-page-refresh-tp4102756p4102756.html Sent from the Users forum mailing list archive at Nabble.com

How to avoid Page refresh after closing modal window

2011-11-23 Thread vaghelapradeep
(); } Above code worked fine with Wicket 1.4 Thanks and Regards Pradeep -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-avoid-Page-refresh-after-closing-modal-window-tp4099726p4099726.html Sent from the Users forum mailing list archive at Nabble.com

Re: How to avoid Page refresh after closing modal window

2011-11-23 Thread Igor Vaynberg
can you debug and see where the second request for a page refresh is coming from? because there should not be one if you cant debug it create a quickstart and attach it to jira.. -igor On Wed, Nov 23, 2011 at 6:14 AM, vaghelapradeep vaghelaprad...@gmail.com wrote: Hello, In my

Component not found error after ajax page refresh

2011-11-23 Thread jalbert
the user may lose the ability to Edit a row, so the Edit link would no longer be available after the ajax page refresh. Randomly users of the page are getting the error below. I suspect it occurs when they try to click on one of the action links exactly as the refresh is happening. Is there any way

Force toolbar to update on page refresh

2010-05-27 Thread sahuja
previous amounts. Is there a way for me to force the toolbar to re-fetch data from its DataProvider? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Force-toolbar-to-update-on-page-refresh-tp2233347p2233347.html Sent from the Wicket - User mailing list archive

Re: Force toolbar to update on page refresh

2010-05-27 Thread Igor Vaynberg
its DataProvider? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Force-toolbar-to-update-on-page-refresh-tp2233347p2233347.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Force toolbar to update on page refresh

2010-05-27 Thread sahuja
dataProvider, int rowsPerPage) { super(id, columns, sortableDataProvider, rowsPerPage); addBottomToolbar(new TotalsToolbar(this, dataProvider)); } } Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Force-toolbar-to-update-on-page

Re: Force toolbar to update on page refresh

2010-05-27 Thread Jeremy Thomerson
On Thu, May 27, 2010 at 10:53 AM, sahuja sadhna.ah...@nisc.coop wrote: Thanks, Igor. Copied below is the implementation for my toolbar. Could you please take a look and see if you can spot a problem with it? public class TotalsToolbar extends AbstractToolbar { public

Re: Force toolbar to update on page refresh

2010-05-27 Thread Igor Vaynberg
you dont need to use models per se as long as you are rebuilding your component hierarchy on every request. RepeatingView does not do that. so either use models like Jeremy said, or rebuild the component hierarchy using a RefreshingView or a ListView -igor On Thu, May 27, 2010 at 9:10 AM, Jeremy

Re: Force toolbar to update on page refresh

2010-05-27 Thread sahuja
-toolbar-to-update-on-page-refresh-tp2233347p2233646.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

Re: Force toolbar to update on page refresh

2010-05-27 Thread Jeremy Thomerson
this message in context: http://apache-wicket.1842946.n4.nabble.com/Force-toolbar-to-update-on-page-refresh-tp2233347p2233646.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: Force toolbar to update on page refresh

2010-05-27 Thread sahuja
. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Force-toolbar-to-update-on-page-refresh-tp2233347p2233773.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Force toolbar to update on page refresh

2010-05-27 Thread Jeremy Thomerson
On Thu, May 27, 2010 at 3:55 PM, sahuja sadhna.ah...@nisc.coop wrote: Jeremy, I am not really sure what you mean by using a model that gets the columns on every repaint, but here's how I have changed my code now. public TotalsToolbar(final DataTable table, final IModel dataProviderModel)

Bug in Page refresh?

2010-04-16 Thread Wolfgang Grossinger
We have a DropDownChoice to change the language of a page (the language in mapped through an enum). The handler to change the code is as follows. @Override protected void onSubmit(AjaxRequestTarget target) {

Re: Bug in Page refresh?

2010-04-16 Thread Xavier López
Hi Wolfgang, If I had to refresh the entire page on language change, I would not do it with an Ajax Request, but with a normal one instead. I do not know how will setResponsePage behave in a serverside Ajax callback. However, if you need to do it with ajax, you should add the language dependent

Re: Page refresh increases size of pagemap disk storage

2010-01-23 Thread Ilja Pavkovic
Hi, I think at least you increase the version number of the page with every refresh (as your page seems to have state). Therefore the PageMap keeps the old revisions of your page. Best Regards, Ilja Pavkovic Am Samstag, 23. Januar 2010 08:42:49 schrieb Andrew Lombardi: I've got a

Re: Page refresh increases size of pagemap disk storage

2010-01-23 Thread Andrew Lombardi
Hrmmm, okay 12K for every page refresh though sounds like a bit much ... obviously its a super small page, but pages with lots of these components on them can get up there in sizes It seems that the diskpagestore is endless ... I thought only a certain number of page versions were kept

Page refresh increases size of pagemap disk storage

2010-01-22 Thread Andrew Lombardi
I've got a really simple page, which has components of Label, ListView, etc. The only component (and correctly so) that stores anything in the Pagemap that gets saved to disk is a Link. But subsequent refreshes of that same page, without doing anything in the UI, keeps increasing the storage

page refresh after setLocale

2009-06-08 Thread Juri Prokofiev
I have a link that just changes a locale. How is it possible to refresh the same page after setting the locale? The problem is that after I click the link the translation links are changed, but the content(that comes from hibernate) of the page is still the same in different language. If I add a

Re: page refresh after setLocale

2009-06-08 Thread Jonas
I think you just have to make sure the locale-dependent strings are not 'static' within the page. e.g. don't use new Model(My localized label from db) but something like new LoadableDetachableModel() { protected Object load() { return the string, taking the current locale into account;

Re: DataTable testability - RepeatingView.childIdCounter not reset after a page refresh

2009-03-20 Thread helmers
, is that on a page refresh the DataGridView.onPopulate() is called, and if you look in RefreshingView.onPopulate() - newItemFactory() you will see that a new child id is retrieved for every item. Because childIdCounter is a private field of RepeatingView, and the counter is never reset to 0, my row #1

DataTable testability - RepeatingView.childIdCounter not reset after a page refresh

2009-03-17 Thread Guido Helmers
on the page size and number of items displayed (if page size = 2, after a click, row id 1 has suddenly become 1 + 2 = 3). The reason that in case of no ajax the row ids increase, is that on a page refresh the DataGridView.onPopulate() is called, and if you look in RefreshingView.onPopulate

Re: DataTable testability - RepeatingView.childIdCounter not reset after a page refresh

2009-03-17 Thread Igor Vaynberg
of items displayed (if page size = 2, after a click, row id 1 has suddenly become 1 + 2 = 3). The reason that in case of no ajax the row ids increase, is that on a page refresh the DataGridView.onPopulate() is called, and if you look in RefreshingView.onPopulate() - newItemFactory() you will see

SV: page refresh cleans my page state

2008-11-24 Thread Singh Mukesh
in advance. Med vennlig hilsen MUKESH SINGH CAPGEMINI Consultant Arrive AS T (+47) 46 47 90 16 E-post: [EMAIL PROTECTED] -Opprinnelig melding- Fra: jWeekend [mailto:[EMAIL PROTECTED] Sendt: 20 November 2008 14:25 Til: users@wicket.apache.org Emne: Re: page refresh cleans my page state

page refresh cleans my page state

2008-11-20 Thread Singh Mukesh
Hi, I am using wicket. I have a page with one links which increase the counter value based on user click on the link, for all these actions I am using Ajax. For instance user click 5 times on link the counter shows value 5. It is ok but if I click on browsers refresh button all changes are

Re: page refresh cleans my page state

2008-11-20 Thread Ernesto Reinaldo Barreiro
store the value on the session? make it a static member variable or store it at application level? it all depends on what you want: the value to change independently for each user or be the same for all users... Ernesto On Thu, Nov 20, 2008 at 11:30 AM, Singh Mukesh [EMAIL PROTECTED] wrote:

Re: page refresh cleans my page state

2008-11-20 Thread jWeekend
Arrive AS T (+47) 46 47 90 16 E-post: [EMAIL PROTECTED] http://servicedesk.arrive.no -- View this message in context: http://www.nabble.com/page-refresh-cleans-my-page-state-tp20598492p20601031.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: page refresh cleans my page

2008-11-13 Thread jWeekend
ckick on browsers refersh button all changes are lost how to handle refresh ? -- View this message in context: http://www.nabble.com/page-refresh-cleans-my-page-tp20474951p20477243.html Sent from the Wicket - User mailing list archive at Nabble.com

page refresh cleans my page

2008-11-12 Thread miro
/page-refresh-cleans-my-page-tp20474951p20474951.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]

Re: Need help regarding Base Page refresh.

2008-10-06 Thread ravichand
Have the same problem. Can any one help -- View this message in context: http://www.nabble.com/Need-help-regarding-Base-Page-refresh.-tp19602473p19846169.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Need help regarding Base Page refresh.

2008-10-06 Thread Igor Vaynberg
is it really so hard to google refresh parent window from child window wow -igor On Mon, Oct 6, 2008 at 1:50 PM, ravichand [EMAIL PROTECTED] wrote: Have the same problem. Can any one help -- View this message in context: http://www.nabble.com/Need-help-regarding-Base-Page-refresh

Need help regarding Base Page refresh.

2008-09-22 Thread kamlesh Wadhwani
I have a Wicket Page containing tabbedPanels which opens few other pages depending on the tabs. But in few of my tabs, I have BookmarkablePageLink to open a popup for some operation. I want to refresh corresponding tab after popup is closed. Please help. Kammy Add more friends to

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-12 Thread Ajayi Yinka
in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit removes them (don't ask why refresh after submit... users of my webapp do stuff like this :-)). The form is not submitted, only redisplayed, but the validation messages are missing. Is there something I

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread kayce
Did you find a solution for this? Thanks Thomas Lutz wrote: I've a form with some validation added, nothing special (Required, Email check). When I submit the form I get the validation messages in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread Ajayi Yinka
(Required, Email check). When I submit the form I get the validation messages in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit removes them (don't ask why refresh after submit... users of my webapp do stuff like this :-)). The form is not submitted

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread Timo Rantalaiho
On Thu, 11 Sep 2008, Ajayi Yinka wrote: Thomas Lutz wrote: I've a form with some validation added, nothing special (Required, Email check). When I submit the form I get the validation messages in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread Igor Vaynberg
added, nothing special (Required, Email check). When I submit the form I get the validation messages in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit removes them (don't ask why refresh after submit... users of my webapp do stuff like

Re: FeedbackPanel and page refresh (f5) after submit

2008-06-26 Thread Benny Weingarten
in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit removes them (don't ask why refresh after submit... users of my webapp do stuff like this :-)). The form is not submitted, only redisplayed, but the validation messages are missing. Is there something I can do

Re: FeedbackPanel and page refresh (f5) after submit

2008-06-26 Thread Igor Vaynberg
in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit removes them (don't ask why refresh after submit... users of my webapp do stuff like this :-)). The form is not submitted, only redisplayed, but the validation messages are missing. Is there something I

Re: FeedbackPanel and page refresh (f5) after submit

2008-06-26 Thread Timo Rantalaiho
On Thu, 26 Jun 2008, James Carman wrote: Well, IE actually does refresh the page in certain situations, I've seen. Firefox doesn't have this problem at least in my experience. It depends on the cache settings of the browser and the relevant headers sent by the page. Best wishes, Timo --

Re: FeedbackPanel and page refresh (f5) after submit

2008-06-26 Thread James Carman
Right, I don't know what the exact settings were, but my IE version automatically did a refresh on a page when FF didn't (this is my vague recollection). I don't typically do a whole lot of tweaking of my browser settings. I'm way too lazy for that. On Thu, Jun 26, 2008 at 10:15 PM, Timo

Re: Page refresh

2008-06-10 Thread Ricky
Ok, I have tried to keep it as simple as possible, hopefully this should give enough details to know as to what is happening: // Page Code here /// public ReviewPlanPage(final PageParameters pageParameters) { // get MODEL from session, code removed for

Re: Page refresh

2008-06-10 Thread Igor Vaynberg
you dont actually show how you feed data to these dataviews. my guess is that you cache the data you feed them and that is why it doesnt refresh. -igor On Tue, Jun 10, 2008 at 6:41 AM, Ricky [EMAIL PROTECTED] wrote: Ok, I have tried to keep it as simple as possible, hopefully this should give

Re: Page refresh

2008-06-10 Thread Ricky
I just do a simple DB search to get the list of models. (calling business tier -- to hibernate). and then : * new RefreshingView(ID, MODELs){ };* I tried, changing above to : *new RefreshingView(ID, new Model( (Serializable) models) { }; *But to no effect. =( * Rick. * On Tue, Jun 10, 2008 at

Re: Page refresh

2008-06-10 Thread Igor Vaynberg
right, your problem is : (ID, new Model((Serializable) models) that, you should use a detachable model. if i were you i would read the models page on the wiki. -igor On Tue, Jun 10, 2008 at 10:31 AM, Ricky [EMAIL PROTECTED] wrote: I just do a simple DB search to get the list of models. (calling

Page refresh

2008-06-09 Thread Ricky
Hi, My page class consists of : 1.) Panel -A 2.) Panel - B. Just for FYI - Panel A has Refreshing View and a refreshing view nested within it (nested tables). When I do a refresh (F5 or simple refresh clicked on browser) on a page, and nothing seems to happen and all data that was present is

Re: Page refresh

2008-06-09 Thread Igor Vaynberg
paste your code -igor On Mon, Jun 9, 2008 at 3:34 PM, Ricky [EMAIL PROTECTED] wrote: Hi, My page class consists of : 1.) Panel -A 2.) Panel - B. Just for FYI - Panel A has Refreshing View and a refreshing view nested within it (nested tables). When I do a refresh (F5 or simple refresh

Re: FeedbackPanel and page refresh (f5) after submit

2007-12-19 Thread SantiagoA
, great framework ! I've a form with some validation added, nothing special (Required, Email check). When I submit the form I get the validation messages in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit removes them (don't ask why refresh after submit

  1   2   >