Re: Preventing AJAX behavior to execute during page reload

2020-03-06 Thread Bas Gooren
. Second behavior is triggered (still for page version 1) 5. Backend is done for second behavior 6. Client cancels AJAX request for second behavior, because of the page redirect -> so no additional page reload here 7. Page render is triggered by the page reload My goal is to always reload the p

Preventing AJAX behavior to execute during page reload

2020-03-06 Thread Sebastian Lichtenfels
. Backend action is done 3. Server sends 302 to reload page 4. Second behavior is triggered (still for page version 1) 5. Backend is done for second behavior 6. Client cancels AJAX request for second behavior, because of the page redirect -> so no additional page reload here

Re: onsubmit gets called after page reload

2016-07-04 Thread Iamuser
u tried overriding #onConfigure()? > > Regards > Sven > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://apache-wicket.1842946.n4.nabble.com/onsubmit-gets-called-after-page-reload-tp4675020p467

Re: onsubmit gets called after page reload

2016-07-04 Thread Sven Meier
The form is checking whether there are any errors before invoking your #onSubmit() method. Have you tried overriding #onConfigure()? Regards Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/onsubmit-gets-called-after-page-reload-tp4675020p4675028.html Sent from

Re: onsubmit gets called after page reload

2016-07-04 Thread Iamuser
d.setFileName("test_fn"); > > d.setId(SpringCtx.getAppDB(DocDao.class).selectNextId()); > > d.setFileUrl("url"); > > d.setDescription(getModelObject().getDescription()); > > d.setParentId(238); > > > >

Re: onsubmit gets called after page reload

2016-07-04 Thread Sven Meier
t;, e); feedbackPanel.error(getString("upload.document.error") + " " + ExceptionUtils.getRootCauseMessage(e)); } } }; <http://apache-wicket.1842946.n4.nabble.com/file/n4675020/1.png> Please help me understand the issure. Thank you in advanc

onsubmit gets called after page reload

2016-07-03 Thread Iamuser
png> Please help me understand the issure. Thank you in advance. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/onsubmit-gets-called-after-page-reload-tp4675020.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: PageParameters refresh on page reload

2014-05-22 Thread Edgar Merino
Thanks for the response Martin, good to know this is fixed in v7 (and the workaround for v6). On 21/05/14 14:08, Martin Grigorov wrote: Hi, This is fixed in Wicket 7.x. We didn't apply the fix to 6.x because it is a behavior change. You can read the current parameters in #onConfigure() with g

Re: PageParameters refresh on page reload

2014-05-21 Thread Martin Grigorov
Hi, This is fixed in Wicket 7.x. We didn't apply the fix to 6.x because it is a behavior change. You can read the current parameters in #onConfigure() with getRequestCycle().getRequest().getRequestParameters() and override with them the page's parameters (page.getPageParameters()) Martin Grigorov

PageParameters refresh on page reload

2014-05-21 Thread Edgar Merino
Hello, I've got a problem that I've just noticed today: When an instance of a WebPage is created with some url parameters, the PageParameters object is never updated, that is, if I refresh the same webpage with different url parameters this won't be taken into account, instead the first params

Re: Continuous page reload

2014-01-27 Thread Maxim Solodovnik
Thanks a lot! Everything works as expected with the change you have proposed :) You saved me! On Tue, Jan 28, 2014 at 3:12 AM, Martin Grigorov wrote: > I'd bet that https://issues.apache.org/jira/browse/WICKET-4997 caused the > problem. > Please try this: > > @Override > public Url mapHandler(I

Re: Continuous page reload

2014-01-27 Thread Martin Grigorov
I'd bet that https://issues.apache.org/jira/browse/WICKET-4997 caused the problem. Please try this: @Override public Url mapHandler(IRequestHandler requestHandler) { if (requestHandler instanceof ListenerInterfaceRequestHandler || requestHandler instanceof BookmarkableListenerInterfaceRequestHand

Re: Continuous page reload

2014-01-27 Thread Martin Grigorov
Ah, it is inner class. Easy :) I will check it soon. Martin Grigorov Wicket Training and Consulting On Mon, Jan 27, 2014 at 9:00 PM, Martin Grigorov wrote: > Please give a link to NoVersionMapper. > > Martin Grigorov > Wicket Training and Consulting > > > On Mon, Jan 27, 2014 at 7:19 PM, Maxim

Re: Continuous page reload

2014-01-27 Thread Martin Grigorov
Please give a link to NoVersionMapper. Martin Grigorov Wicket Training and Consulting On Mon, Jan 27, 2014 at 7:19 PM, Maxim Solodovnik wrote: > Hello Martin, > > finally was able to find what is wrong: > > Everything starts working after replacing lines 122 and 123 in file: > > https://svn.apa

Re: Continuous page reload

2014-01-27 Thread Maxim Solodovnik
Hello Martin, finally was able to find what is wrong: Everything starts working after replacing lines 122 and 123 in file: https://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/src/web/java/org/apache/openmeetings/web/app/Application.java?view=markup getRootRequestMapperAsCompound().add(

Re: Continuous page reload

2014-01-14 Thread Maxim Solodovnik
Thanks, Will try to pin down the issue and will write back On Wed, Jan 15, 2014 at 2:31 PM, Martin Grigorov wrote: > You can use git bisect if nothing else works. > > Martin Grigorov > Wicket Training and Consulting > > > On Wed, Jan 15, 2014 at 9:29 AM, Martin Grigorov >wrote: > > > Here are

Re: Continuous page reload

2014-01-14 Thread Martin Grigorov
You can use git bisect if nothing else works. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 9:29 AM, Martin Grigorov wrote: > Here are the release notes: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561&version=12325564 > Please share when you

Re: Continuous page reload

2014-01-14 Thread Martin Grigorov
Here are the release notes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561&version=12325564 Please share when you have more information. We may need to release 6.13.1 if the problem is not easy to workaround. Martin Grigorov Wicket Training and Consulting On Wed, Jan 1

Re: Continuous page reload

2014-01-14 Thread Maxim Solodovnik
Is there any docs describing what was changed in the behaviors etc. so I can go through our code and fix it? Thanks in advance :) On Tue, Jan 14, 2014 at 10:48 PM, Maxim Solodovnik wrote: > I do have TimerBehavior, but the issue was reproducible after commenting > it. > I also have "callback be

Re: Continuous page reload

2014-01-14 Thread Maxim Solodovnik
I do have TimerBehavior, but the issue was reproducible after commenting it. I also have "callback behaviors" can try to comment it out page version is being removed from the URL using NoVersionMapper: (line 130) https://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/src/web/java/org/apache

Re: Continuous page reload

2014-01-14 Thread Martin Grigorov
Hi, Do you use Ajax timer behavior on that page ? And do you open the same page instance (same url, same pageId) in two tabs ? Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 5:36 PM, Maxim Solodovnik wrote: > Hello all, > > I just have updated to 6.13.0 (to get > WICKET

Continuous page reload

2014-01-14 Thread Maxim Solodovnik
Hello all, I just have updated to 6.13.0 (to get WICKET-5435 ) Unfortunately application stop working :( We are using " single page design" but after update the whole page is get reloaded continuously Can someone please suggest the way to find th

Re: Problem with WiQuery Tab component after page reload

2013-07-05 Thread Stefan Renz
Hi, has no-one observed this yet? Shall I file an issue? Bye Stefan Stefan Renz wrote: > Hi, > > I've observed the following behavior with WiQuery's Tabs-component: > after reloading a page with a tabs component on it (or by navigating the > browser history), one can't switch the active tab

Re: Problem with WiQuery Tab component after page reload

2013-06-11 Thread Stefan Renz
I forgot to mention that this happens with an ITabsAjaxEvent handler installed on the Tabs component... so is this a stateful/stateless thing? Bye Stefan Stefan Renz wrote: > Hi, > > I've observed the following behavior with WiQuery's Tabs-component: > after reloading a page with a tabs comp

Re: Problem with WiQuery Tab component after page reload

2013-06-11 Thread Stefan Renz
I forgot to mention that this happens with an ITabsAjaxEvent handler installed on the Tabs component... so is this a stateful/stateless thing? Bye Stefan Stefan Renz wrote: > Hi, > > I've observed the following behavior with WiQuery's Tabs-component: > after reloading a page with a tabs compo

Problem with WiQuery Tab component after page reload

2013-06-11 Thread Stefan Renz
Hi, I've observed the following behavior with WiQuery's Tabs-component: after reloading a page with a tabs component on it (or by navigating the browser history), one can't switch the active tab anymore -- the component always jumps back. The browser makes a new request. Apparently, Wicket loads a

Re: Wicket 6: AjaxFormComponentUpdatingBehavior on dropdown leads to page reload

2013-03-09 Thread Martin Dietze
On Sat, March 09, 2013, Bernard wrote: > I would try to debug the constructor of the page and/or override and > debug life cycle methods of the page and then work up the call stack > why they are executed. Thank you for your reply. Having slept a night over it I found the problem. Like a couple o

Re: Wicket 6: AjaxFormComponentUpdatingBehavior on dropdown leads to page reload

2013-03-08 Thread Bernard
Hi, I would try to debug the constructor of the page and/or override and debug life cycle methods of the page and then work up the call stack why they are executed. As an example (not necessarily applicable in your case), one could find this way that the page had expired and Wicket just reconstru

Wicket 6: AjaxFormComponentUpdatingBehavior on dropdown leads to page reload

2013-03-08 Thread Martin Dietze
I've just spent several hours trying to debug a rather strange effect with a dropdown and a AjaxFormComponentUpdatingBehavior. I have a component which is used in several places of the system. It contains a dropdown to which a AjaxFormComponentUpdatingBehavior is added. Whenever the user selects a

Re: rawInput, page reload and error messages

2012-04-11 Thread Dan Retzlaff
, Thomas Götz wrote: > Hi! > > I have the following situation (Wicket 1.5.5): > > - a Form with a TextField with some Validator > - you input invalid data and submit -> error message, fine. > - (invalid) rawInput is shown in the TextField, fine. > - now I do a page reload

rawInput, page reload and error messages

2012-04-11 Thread Thomas Götz
Hi! I have the following situation (Wicket 1.5.5): - a Form with a TextField with some Validator - you input invalid data and submit -> error message, fine. - (invalid) rawInput is shown in the TextField, fine. - now I do a page reload, invalid rawInput still in the TextField, but no er

Re: change or replace css file on page reload

2010-05-04 Thread Igor Vaynberg
see IHeaderContributor -igor On Tue, May 4, 2010 at 4:50 PM, Joe Fawzy wrote: > Hi all > i was wondering how could i change a css file on every page reload > i thought of using header contribution in onBeforeRender() ,  but it seams > to add the new the new css file > what i nee

change or replace css file on page reload

2010-05-04 Thread Joe Fawzy
Hi all i was wondering how could i change a css file on every page reload i thought of using header contribution in onBeforeRender() , but it seams to add the new the new css file what i need is to replace a certain css on every render of a certain page actually i can dynamically generate the

Re: Page reload after submit action

2010-03-14 Thread Manfred Bergmann
----- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > regards, > Vineet Semwal > > -- View this mess

Re: Page reload after submit action

2010-03-13 Thread vineet semwal
Hi, It appears you are on 1.4.6,upgrade to 1.4.7 and see if the problem disappears. On Sun, Mar 14, 2010 at 5:15 AM, Bergmann Manfred wrote: > Hi there. > > I have the following problem with reloading the same page that is currently > loaded. > I'm working on a blog application. Normally the URL

Page reload after submit action

2010-03-13 Thread Bergmann Manfred
Hi there. I have the following problem with reloading the same page that is currently loaded. I'm working on a blog application. Normally the URL in the browser for a specific blog entry is like this: http:///blog/id/ where /blog is mounted as bookmarkable in Application to Blog WebPage subclass

Re: Force page reload/re-render

2009-11-10 Thread pieter claassen
Thanks for all the feedback. onBeforeRender() works like a charm. Pieter On Tue, Nov 10, 2009 at 2:51 PM, Michael O'Cleirigh wrote: > Hi Pieter, > > Components that have .setVisible(false) will never be evaluated again > automatically.  You  need to call .setVisible(true) on all that apply. > >

Re: Force page reload/re-render

2009-11-10 Thread Michael O'Cleirigh
Hi Pieter, Components that have .setVisible(false) will never be evaluated again automatically. You need to call .setVisible(true) on all that apply. One way would be control visibility in the base panel by overriding onBeforeRender() to handle all the cases in one place. e.g. class Contr

Re: Force page reload/re-render

2009-11-10 Thread Pedro
The page will be re-rendered... Implement your menu item componentes isVisible method to return true due your context Enviado de meu iPhone Em 10/11/2009, às 11:39, pieter claassen escreveu: Hi Ernesto, To recap, I have a control panel visible on each and every page and in that control

Re: Force page reload/re-render

2009-11-10 Thread Matthias Keller
Hi Pieter Due to the Java-Nature of Wicket, things done in the constructor are only executed once for this instance. Since F5 only re-renders the instance, the expression setVisible(whatever()) is only executed once. The most dynamic implementation would be to override isVisible() for eve

Re: Force page reload/re-render

2009-11-10 Thread pieter claassen
Hi Ernesto, To recap, I have a control panel visible on each and every page and in that control panel, you can select the appropriate role you want to use. Based on that role some menu items will be visible or not (example below is correct). I am sure this problem has been solved before :-0 as thi

Re: Force page reload/re-render

2009-11-10 Thread pieter claassen
Both of the suggestions I think requires me to modify the logic of the controls (either to keep track of which ones need to be updated or by placing the rendering logic in onBeforeRender()). I think this is a lot of work for something relative straight forward and also any changes to permission str

Re: Force page reload/re-render

2009-11-10 Thread Ernesto Reinaldo Barreiro
Isn't AJAX refresh an option to consider here? For instance, defining some "contexts" which need to be re-rendered (e.g. marking them with an interface) and them having and IVisitor that collects all those contexts and add them to the AjaxRequestTarget? Best, Ernesto On Tue, Nov 10, 2009 at 8:1

Re: Force page reload/re-render

2009-11-10 Thread pieter claassen
Hi Pedro, I tried setResponsePage(getPage()) but the problem is it does not re-render controls on the page. setResponsePage(getPage().getClass()) only works for stateless pages and on most of my pages, I pass params via the constructor. The javascript option will be a last resort, but it seems t

RE: Getting the "Choose Option" on page reload

2009-11-10 Thread vinay.karmarkar
ption" on page reload > I have 2 drop-downs and a search button my page. When the page is > loaded > for the first time, the first option in both the drop-downs is "Choose > Option". Now if I select some value and click Search, the page is > rendered again and the Choose

Re: Force page reload/re-render

2009-11-10 Thread Pedro Santos
if(userSetWasChanged){ target.appendJavascript("window.location.reload()"); or setResponsePage(getPage()); or setResponsePage(getPage().getClass()); } On Tue, Nov 10, 2009 at 5:19 AM, pieter claassen wrote: > I have a link on a panel that is included in many pages. When the user > clicks on the

Force page reload/re-render

2009-11-09 Thread pieter claassen
I have a link on a panel that is included in many pages. When the user clicks on the link, I change something in the user settings that will affect what gets displayed on the page. However, for that to work, I need to reload the page after the user clicked on the link as by default the other compon

Re: Getting the "Choose Option" on page reload

2009-11-09 Thread Wilhelmsen Tor Iver
> I have 2 drop-downs and a search button my page. When the page is > loaded > for the first time, the first option in both the drop-downs is "Choose > Option". Now if I select some value and click Search, the page is > rendered again and the Choose Option is gone forever. But I want it > back. How

Re: Getting the "Choose Option" on page reload

2009-11-06 Thread vineet semwal
you can set the dropdown model object to a value which you will read it from pageparams, and you will set the pageparams in onsubmit, on first page load you will not be able to retrieve from pageparams so in this case set the modelobject to default value. -- regards, Vineet Semwal On Fri, Nov

Getting the "Choose Option" on page reload

2009-11-06 Thread vinay.karmarkar
Hi, I have 2 drop-downs and a search button my page. When the page is loaded for the first time, the first option in both the drop-downs is "Choose Option". Now if I select some value and click Search, the page is rendered again and the Choose Option is gone forever. But I want it back. How do I

Re: force page reload

2008-10-07 Thread francisco treacy
yes... "the page must be bookmarkable" - so i need it anyway. another question that pops out with your suggestion: when called, are bookmarkable pages always instantiated? under any circumstance? just to make sure that calling http://localhost:8080/myapp/bookmarkable will always trigger the code.

Re: force page reload

2008-10-07 Thread Ryan Gravener
Just throwing this out there: http://wicketstuff.org/wicket13doc/org/apache/wicket/Page.html#setStatelessHint(boolean) Perhaps that may work. Ryan Gravener http://twitter.com/ryangravener On Tue, Oct 7, 2008 at 12:02 PM, francisco treacy < [EMAIL PROTECTED]> wrote: > as it is kind of a workf

Re: force page reload

2008-10-07 Thread francisco treacy
as it is kind of a workflow and i had all the pages already prepared by passing imodels along into constructors, i didn't want to have a bookmarkablepage (whatever you pick: panels/pages/variations, you need this one to "call the page executing the code"). but this was the simpler solution, pass an

Re: force page reload

2008-10-06 Thread Jeremy Thomerson
I'd wholeheartedly agree with the panel solution. Either one would work, but I think the panel is really good. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Oct 6, 2008 at 9:53 PM, John Krasnay <[EMAIL PROTECTED]> wrote: > On Mon, Oct 06, 2008 at 07:36:03PM -0200, francisco treac

Re: force page reload

2008-10-06 Thread John Krasnay
On Mon, Oct 06, 2008 at 07:36:03PM -0200, francisco treacy wrote: > thanks for your help, serkan. > > cool, this works. as a workaround nevertheless: > > -i wouldn't want my app to check every single request the existence of > a parameter which i am going to use in only *one* page anyway > -what

Re: force page reload

2008-10-06 Thread francisco treacy
t;return new > BookmarkablePageRequestTarget(ContentSearchPage.class); >} >return super.resolve(cycle, params); >} >}; >} > > > > -Original Message- > From: francisco treacy [mailto:[EMAIL PROTECTED] > Sent: Mon 1

RE: force page reload

2008-10-06 Thread Serkan Camurcuoglu
arams); } }; } -Original Message- From: francisco treacy [mailto:[EMAIL PROTECTED] Sent: Mon 10/6/2008 10:07 PM To: users@wicket.apache.org Subject: force page reload hi, i'm integrating a wicket application with an online payment system provided by a bank. i hav

force page reload

2008-10-06 Thread francisco treacy
hi, i'm integrating a wicket application with an online payment system provided by a bank. i have a wicket stateful page (ie shows visa / mastercard icons) which links to the bank app's payment page. depending on the transaction, the bank sends us back a result code in an encrypted http url param

Re: page reload

2008-04-15 Thread Maurice Marrink
Even though version 1.3.3 has been released 1.3.2 is fine. Theoretically only this is required: @Override public final void onClick() { BaseGroup group = (BaseGroup) getModelObject(); groupManager.deleteGroup(group.getId()); } But it might be possible the model of the listview is loade

Re: page reload

2008-04-14 Thread Milan Křápek
I am using the normal Link. My ListView Model takes data from LoadableDetachableModel. I think if the web page should refresh each time the Link is clicked, than the LoadableDetachableModel::load() method should be called but this does not happen. Is it possible that I am using to old wicket v

Re: page reload

2008-04-14 Thread Maurice Marrink
Are you using an ajaxlink or a regular link? if(ajax) try wrapping your list in a WebMarkupContainer and add that to the ajaxtarget. else this should already work, the entire page is automatically refreshed after the onclick exits. Maurice On Mon, Apr 14, 2008 at 12:38 PM, Milan Křápek <[EMAIL

Re: page reload

2008-04-14 Thread Milan Křápek
Thanks a lot, with the LoadableDetachableModel I am now able to show the changes when I edit the item. But some problems still remain. To delete items I have just link, that on the onClick event removes the selected item. So I need to reload the page after this remove too. I try to do it b

Re: page reload

2008-04-14 Thread Maurice Marrink
In navigationBorder.add(new MyList("myList", databaseManager.loadAndGetGroups())); databaseManager.loadAndGetGroups() should return a reloading model like LoadableDetachableModel which in the load method always goes to the database I assume that right now it simply returns a list or a non reloading

Re: page reload

2008-04-13 Thread Milan Křápek
Hi, I am still stack on this problem. It seems that page refresh does not help. I try to add javascript command window.refresh and window.reload but this does not wokr too. Only thing that helps is new call of this page constructor. (I add some refrsh link, that generates the new page) T

Re: page reload

2008-04-11 Thread Martijn Dashorst
setResponsePage(getPage()) or setResponsePage(getPage()) On 4/11/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > setResponsePage(this) > > will send a redirect to the current page > > Martijn > > > On 4/11/08, Milan Křápek <[EMAIL PROTECTED]> wrote: > > Thanks for quick response. But I am n

Re: page reload

2008-04-11 Thread Martijn Dashorst
setResponsePage(this) will send a redirect to the current page Martijn On 4/11/08, Milan Křápek <[EMAIL PROTECTED]> wrote: > Thanks for quick response. But I am not sure, that this what I want. I think > it will need a little bit more description. > > As I said I have table where I listed some

Re: page reload

2008-04-11 Thread Milan Křápek
Thanks for quick response. But I am not sure, that this what I want. I think it will need a little bit more description. As I said I have table where I listed some objects from database. I have there link which creates new modal window. But I do not give any model to this modal window. In this

Re: page reload

2008-04-11 Thread Maurice Marrink
Set a WindowClosedCallback on the modalwindow and use that to add the table to the ajaxtarget. Note that most listviews,datatables, etc require that you wrap them in a WebMarkupContainer or Panel before you can refresh them via ajax. Of course i assume that the model of the table goes to the datab

page reload

2008-04-11 Thread Milan Křápek
Hi, probably I need a very simple thing but I cannot find the solution. On my page I have table that represents some objects in database. I have there button for adding new item to database. This button opens new modal window with form for filling thenew object. After I submit this form, new o

Re: Page reload after file upload

2008-03-06 Thread Igor Vaynberg
you need to use the same form for both upload and other fields. that is just how html works. -igor On Thu, Mar 6, 2008 at 1:30 AM, Kai Mütz <[EMAIL PROTECTED]> wrote: > Hi, > > I have one form with multiple fields where I can edit a object. I want to > attach a document or image (of class Docu

RE: Page reload after file upload

2008-03-06 Thread Michael Sparer
; > > - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/Page-reload-after-file-upload-tp15869570p15870416.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: Page reload after file upload

2008-03-06 Thread Kai Mütz
[EMAIL PROTECTED] <> wrote: > a fancy solution would be to upload the file by means of an ajax > request - then the values would stay the same as the page doesn't > perform a full reload, that ain't as easy as it sounds, take a look a > this: > http://www.nabble.com/Submitting-an-ajaxform-with-mult

Re: Page reload after file upload

2008-03-06 Thread Michael Sparer
Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/Page-reload-after-file-upload-tp15869570p15869948.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Page reload after file upload

2008-03-06 Thread Kai Mütz
Hi, I have one form with multiple fields where I can edit a object. I want to attach a document or image (of class Document) to the form/object using a second upload form. This works fine if I first execute the upload, then edit other fields and finally submit the form. The problem occurs if I up

Re: DDC and page reload

2008-01-30 Thread Igor Vaynberg
swf.setValue("flashvars", "somevar=" + "somevalue"+ "¤cy=" + curr); ^ that should instead take an IModel so that it renders a fresh value on each new request instead of always rendering the value you passed in at page construction. in fact, it should take the same model instance as is use by the

Re: DDC and page reload

2008-01-30 Thread Sébastien Piller
I found a patch (very ugly but works). On the onSelectionChange, I wrote this: if (MyAbstractPage.this instanceof MyPageWithTheRefreshIssue) { setResponsePage(new MyPageWithTheRefreshIssue()); } But I wonder: is this a normal behavior? I guessed I need not to refresh it manually, need I?

Re: DDC and page reload

2008-01-30 Thread Sébastien Piller
Yes, no problem, but it's really trivial... My Flash object is added here (I use the ShockWaveComponent, little modified, from the wiki): ShockWaveComponent swf = new ShockWaveComponent("swf", "ShirtDesignerV2.swf", "770", "480"); swf.setValue("quality", "high");

Re: DDC and page reload

2008-01-30 Thread Johan Compagner
how are you listening to the change of the DDC? If through ajax then you have to set the response page again to get a real refresh of everything (or just refresh th flash markup part) if through normal submit (onSelection) then the page is completely refreshed anyway maybe you cache at some place

Re: DDC and page reload

2008-01-30 Thread Edvin Syse
I have a little problem with drop down choices. I have one on my page. It stores some currencies. In the same page, I've got a Flash module, who needs the actual currency to work. I pass it using the usual "flashvars". But when I change a currency on the DDC (ie from USD to EUR), the actual p

DDC and page reload

2008-01-30 Thread Sébastien Piller
Hello, I have a little problem with drop down choices. I have one on my page. It stores some currencies. In the same page, I've got a Flash module, who needs the actual currency to work. I pass it using the usual "flashvars". But when I change a currency on the DDC (ie from USD to EUR), the

Re: Uploading files without page reload

2007-08-09 Thread Paolo Di Tommaso
I've done that having the upload form specifying an hidden iframe as target and - above all - having the following code in the Form#onSubmit() method // Tell Wicket we're going to do the redirect ourselves. getRequestCycle().setRedirect(false); // Make sure no o

Re: Uploading files without page reload

2007-08-09 Thread Al Maw
legol wrote: Hi all, I have problem with uploading files. My uploading file form is placed in modal window and after submitting comunicate appears that modal window will be closed. What I want is situation when after submitting modal window is still visible. The best solution would be not reload

Uploading files without page reload

2007-08-09 Thread legol
i read somewhere that it is impossible to upload file via ajax. I tried to do something with PageParameters but to show modal window AjaxRequstTarget. Pls help. -- View this message in context: http://www.nabble.com/Uploading-files-without-page-reload-tf4241610.html#a12069395 Sent from the