Re: [IE7] Shrinked popup calendar when inside a table

2008-08-26 Thread Federico Fanton
On Mon, 25 Aug 2008 09:32:33 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > On Fri, 22 Aug 2008 15:26:03 +0200 > Federico Fanton <[EMAIL PROTECTED]> wrote: > > > Should I open a JIRA issue? I have a quickstart ready. > > If nobody has something against it

Re: [IE7] Shrinked popup calendar when inside a table

2008-08-25 Thread Federico Fanton
On Fri, 22 Aug 2008 15:26:03 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > Should I open a JIRA issue? I have a quickstart ready. If nobody has something against it, I'll go on and open it ^^ - To unsub

[IE7] Shrinked popup calendar when inside a table

2008-08-22 Thread Federico Fanton
Hey everyone! Another IE7-related weird problem, I'm sorry ^^; I found that if I use a DateField inside a table, when I click the calendar icon ("17") using IE7, the calendar pops up "shrinked" in width, even if there's plenty of screen space.. When I close the popup and re-open it, it shows up

Re: "Document is null or not an object" after PDF from ModalWindow

2008-08-22 Thread Federico Fanton
On Fri, 22 Aug 2008 05:43:28 +0300 Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Thu, 21 Aug 2008, Federico Fanton wrote: > > Should I open a JIRA issue? > > Yes please, with all this information and the quickstart > attached. Thanks :) Here it is https://issues.apach

Re: "Document is null or not an object" after PDF from ModalWindow

2008-08-21 Thread Federico Fanton
On Wed, 20 Aug 2008 12:11:49 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > Sorry, forgot to mention: I'm using Wicket 1.3.4, and according to > Companion.JS the stacktrace for the error is (most recent call first): > > wicket-ajax.js:51 > wicket-event.js:110 >

Re: "Document is null or not an object" after PDF from ModalWindow

2008-08-20 Thread Federico Fanton
Sorry, forgot to mention: I'm using Wicket 1.3.4, and according to Companion.JS the stacktrace for the error is (most recent call first): wicket-ajax.js:51 wicket-event.js:110 wicket-event.js:29 - To unsubscribe, e-mail: [EMAIL

"Document is null or not an object" after PDF from ModalWindow

2008-08-20 Thread Federico Fanton
Hi everyone! I'm sorry, I need to have the browser open PDFs automatically (no "open or save" dialogs) and in a new window (either a browser window or the standalone PDF viewer). So far I've been using this method: IResourceStream stream = new ByteArrayResource("application/pdf", pdf.toByteArra

Re: Button with confirmation with IE7

2008-08-13 Thread Federico Fanton
On Wed, 13 Aug 2008 07:56:16 -0700 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > you should make a jira issue Thanks! :) https://issues.apache.org/jira/browse/WICKET-1788 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Button with confirmation with IE7

2008-08-13 Thread Federico Fanton
On Wed, 13 Aug 2008 09:56:56 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > if(Wicket.Focus.lastFocusId != '') >t.setRequestHeader("Wicket-FocusedElementId", Wicket.Focus.lastFocusId); Oops, better to check for null too: if(Wicket.Focus.lastFoc

Re: Button with confirmation with IE7

2008-08-13 Thread Federico Fanton
On Tue, 12 Aug 2008 17:07:40 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > I tried that, but nothing changed :/ Same "Invalid procedure call or > argument" under IE7.. (still Ok in FF2) After a bit of debugging, I found the "offending" command inside wic

Re: Button with confirmation with IE7

2008-08-12 Thread Federico Fanton
On Tue, 12 Aug 2008 17:07:40 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > On Tue, 12 Aug 2008 07:58:13 -0700 (PDT) > Michael Sparer <[EMAIL PROTECTED]> wrote: > > > try overriding > > > > @Override > >

Re: Button with confirmation with IE7

2008-08-12 Thread Federico Fanton
On Tue, 12 Aug 2008 07:58:13 -0700 (PDT) Michael Sparer <[EMAIL PROTECTED]> wrote: > try overriding > > @Override > protected IAjaxCallDecorator getAjaxCallDecorator() { Hi, thanks for your suggestion :) I tried that, but nothing changed :/ Same "Inval

Re: Button with confirmation with IE7

2008-08-12 Thread Federico Fanton
On Tue, 12 Aug 2008 15:18:49 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > Hi everyone! > I have a Button that shows a JS alert and then executes an AJAX call. > It works fine under Firefox 2, but fails under IE7.. The alert appears, I > click "ok" and then I

Button with confirmation with IE7

2008-08-12 Thread Federico Fanton
Hi everyone! I have a Button that shows a JS alert and then executes an AJAX call. It works fine under Firefox 2, but fails under IE7.. The alert appears, I click "ok" and then I get the "Initiating Ajax GET request..." inside "WICKET AJAX DEBUG", but it doesn't reach my serverside handler.. Here

Re: Extending BrowserInfoForm

2008-08-11 Thread Federico Fanton
On Fri, 8 Aug 2008 08:29:37 -0700 [EMAIL PROTECTED] wrote: > should be fine Done, https://issues.apache.org/jira/browse/WICKET-1786 Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Extending BrowserInfoForm

2008-08-08 Thread Federico Fanton
On Fri, 8 Aug 2008 06:54:50 -0700 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > patch is welcome Ok :) Would it be a problem if I try to write it against 1.3.4? We're not using 1.4 yet.. - To unsubscribe, e-mail: [EMAIL PROTECT

Extending BrowserInfoForm

2008-08-08 Thread Federico Fanton
Hi everyone! I'd like to extend BrowserInfoForm to detect if the browser supports SVGs (javascript method here http://thomas.tanrei.ca/modern-script-based-svg-detection/), but it looks like it cannot be easily extended.. Should I try to write a patch for Wicket instead? Would it be useful? Am I

Re: Interrupting AJAX calls

2008-07-29 Thread Federico Fanton
On Tue, 29 Jul 2008 10:01:41 +0200 "Martijn Dashorst" <[EMAIL PROTECTED]> wrote: > This is nothing we can do anything about: the browser cancels > rendering. And with good cause. I've had my share of websites that > took hold of my browser for too long. especially when they are getting > ads from

Re: Interrupting AJAX calls

2008-07-28 Thread Federico Fanton
On Fri, 25 Jul 2008 12:20:13 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > I'm sorry, I just noticed that if I press "ESC" during an AJAX call in > Wicket, it gets interrupted (and the "onFailure" script gets run, I think) > > To reproduce, jus

Interrupting AJAX calls

2008-07-25 Thread Federico Fanton
Hi everyone! I'm sorry, I just noticed that if I press "ESC" during an AJAX call in Wicket, it gets interrupted (and the "onFailure" script gets run, I think) To reproduce, just head to http://wicketstuff.org/wicket13/ajax/modal-window.1 and click on a link, then quickly press "ESC", the popup wi

Re: Setting focus in DateField

2008-07-17 Thread Federico Fanton
On Thu, 17 Jul 2008 16:40:18 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > I think I'll try hooking into the Calendar's "beforeHideEvent" via > Javascript.. Am I on the right track? :) It works! Thanks to Wicket and its customizabili

Re: Setting focus in DateField

2008-07-17 Thread Federico Fanton
On Thu, 17 Jul 2008 15:42:14 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > Hi everyone! > I'm sorry, is there a way to set the focus to the textfield of a DateField > component, whenever the user picks a date from the popup? > I mean: > - the user clicks on the cal

Setting focus in DateField

2008-07-17 Thread Federico Fanton
Hi everyone! I'm sorry, is there a way to set the focus to the textfield of a DateField component, whenever the user picks a date from the popup? I mean: - the user clicks on the calendar icon - she chooses a date from the popup calendar - the popup closes - the focus goes to the corresponding tex

Re: Wikcet Freechart and SVG

2008-06-30 Thread Federico Fanton
On Sun, 29 Jun 2008 21:03:29 -0300 "Manuel Corrales" <[EMAIL PROTECTED]> wrote: > Hey, great!! But still having issues, sorry to bother you again. Now i added > the svg to the page, but the browser do not display it. The image is there, > because when i right click the broken image that is display

Re: Clicking a tree leaf and confirmation

2008-04-24 Thread Federico Fanton
On Thu, 24 Apr 2008 13:44:15 +0200 "Thomas Kappler" <[EMAIL PROTECTED]> wrote: > Hi Federico, > > you gain a lot of flexibility when overriding newNodeComponent() > instead. There, you return a custom Panel where you can do what you > want, i.e., add the link with all desired functionality. And

Clicking a tree leaf and confirmation

2008-04-24 Thread Federico Fanton
Hi all! First of all, I'd like to celebrate the achieved complete elimination of JSF from our project here, thanks to Wicket :) Next, I'm facing a little problem.. I have a LinkTree and I'd like to make it ask for confirmation (via a JS alert) whenever the user clicks on a leaf.. If the user con

Re: WicketTester.startPage(page) throws "No requestCycle is currently set"

2008-04-21 Thread Federico Fanton
On Sat, 19 Apr 2008 10:39:41 +0200 "Johan Compagner" <[EMAIL PROTECTED]> wrote: > Somehow something detaches everything when it shouldnt have done it > yet in your example. Upload your test to a jira issue Done, WICKET-1558, thanks! --

Re: Handling lost connection

2008-04-21 Thread Federico Fanton
On Fri, 18 Apr 2008 09:15:52 -0700 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > create a jira issue Done, WICKET-1557.. Thanks again! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Handling lost connection

2008-04-18 Thread Federico Fanton
Hi all, is there a way to handle a "connection lost" problem from AJAX buttons? I mean, right now when I click on an AJAX button and the server is down, nothing happens. I'd like to show an alert instead.. I tried registering a handler with registerFailureHandler, but it doesn't fire _only_ on c

Re: WicketTester.startPage(page) throws "No requestCycle is currently set"

2008-04-17 Thread Federico Fanton
On Wed, 16 Apr 2008 16:16:36 +0200 "Frank Bille" <[EMAIL PROTECTED]> wrote: > tester.createRequestCycle() (or something). Though I thought it was > called for you in startPage. It's good that we will take a look at it > for WNG. Thanks for your answer! I'm sorry, but I can't figure out how to use

WicketTester.startPage(page) throws "No requestCycle is currently set"

2008-04-16 Thread Federico Fanton
Hi to all, I'm receiving a strange message with WicketTester in 1.3.3.. Whenever I use startPage(Page) I get a "No requestcycle is currently set!" logged.. To reproduce, just use a QuickStart with a completely static Homepage.html (no wicket:id's) and an empty Homepage.class (just a "Homepage ext

Re: DateTimeField and zero padding hours

2008-04-15 Thread Federico Fanton
On Tue, 15 Apr 2008 08:59:44 +0200 "Johan Compagner" <[EMAIL PROTECTED]> wrote: > I dont know exatly dont see an example here, but i just guess you > dont comply completely with the format and then the formatter just > tries to interperd it. Problem found, Wicket is using my custom converter for

Re: DateTimeField and zero padding hours

2008-04-14 Thread Federico Fanton
On Sat, 12 Apr 2008 18:25:56 +0200 "Johan Compagner" <[EMAIL PROTECTED]> wrote: > I guess this has something to do with the format string that is used > for your locale, just look int what dateformat is used in your case I'm sorry, but I cannot understand how the "blank hours" is related to a loc

DateTimeField and zero padding hours

2008-04-11 Thread Federico Fanton
Hi everyone! Just a quick question.. If I type inside a DateTimeField a 0 in the "hours" and "minutes" field, on submit the "minutes" field is padded to "00", while the "hours" field becomes blank.. Is this an intended behavior? I'm using Wicket 1.3.3.. Thanks for your time! --

Re: Inspecting AjaxRequestTarget

2008-03-31 Thread Federico Fanton
On Mon, 31 Mar 2008 09:57:51 +0200 "Johan Compagner" <[EMAIL PROTECTED]> wrote: > done and fixed And very quickly! Kudos to the Wicket devs! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: Inspecting AjaxRequestTarget

2008-03-31 Thread Federico Fanton
On Fri, 28 Mar 2008 09:31:39 -0700 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > fine by me Great, I'll keep an eye on SVN then, thanks to everyone :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Inspecting AjaxRequestTarget

2008-03-28 Thread Federico Fanton
On Fri, 28 Mar 2008 12:56:44 +0100 "Martijn Dashorst" <[EMAIL PROTECTED]> wrote: > You could replace the original ajax request target with a new one: > > AjaxRequestTarget newAjax = new AjaxRequestTarget(getPage()); > getRequestCycle().setRequestTarget(newAjax); > newAjax.addComponent(table); I

Inspecting AjaxRequestTarget

2008-03-28 Thread Federico Fanton
Hi everyone! I have an Ajax "editable table" made of rows of custom components similar to AjaxEditableLabel. It works fairly well, but sometimes I find myself trying to update the whole table alongside a single row (because of business logic).. When this happens, updating the table changes the r

Re: Dynamic form components and disabling them

2008-02-28 Thread Federico Fanton
On Wed, 27 Feb 2008 17:16:46 -0800 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > yes, you are correct. fixed in trunk. Ok, thanks :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamic form components and disabling them

2008-02-26 Thread Federico Fanton
On Mon, 25 Feb 2008 08:58:11 -0800 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > yeah, the components are recreated. you have to set an item reuse > strategy for the gridview, see setItemReuseStrategy ... I'm sorry, while trying to figure out how reuse strategies work I stumbled upon GridView$Item

Re: Dynamic form components and disabling them

2008-02-25 Thread Federico Fanton
On Mon, 25 Feb 2008 08:58:11 -0800 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > yeah, the components are recreated. you have to set an item reuse > strategy for the gridview, see setItemReuseStrategy ... Yes, I'm using ReuseIfModelsEqualStrategy.. I'll try to tweak it a little then! Many thanks!

Dynamic form components and disabling them

2008-02-25 Thread Federico Fanton
Hi everyone! I have a form built dynamically using a GridView and a bunch of "in-panel" components.. It works pretty fine, but I have to alter its behavior in this way: I need to initialise every component to be disabled, and enable them by pressing an "enable form" button.. My problem is that e

Re: AJAX validation and multiple requests

2008-02-20 Thread Federico Fanton
On Wed, 20 Feb 2008 08:42:14 +0200 Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > I think that we just stored the Component instances in that > case, thogh you should be wary with that and especially with > a repeater it might get difficult. > > A more dynamic way might be to use a marker interface

Re: AJAX validation and multiple requests

2008-02-19 Thread Federico Fanton
On Tue, 19 Feb 2008 06:49:04 +0200 Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > We have done something similar with OnChangeAjaxBehavior and > keeping in some component or validator the state of > validities of each FormComponent. When everything is valid, > the whole form can be submitted. I se

Re: AJAX validation and multiple requests

2008-02-19 Thread Federico Fanton
On Mon, 18 Feb 2008 09:57:18 -0800 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > one way would be to keep a boolean somewhere that marks if the > component is valid or not... but if i were you i would figure out why > the two requests are fired and how to avoid it. can it be that your > enter key h

AJAX validation and multiple requests

2008-02-18 Thread Federico Fanton
Hi everyone! I'm having a little problem.. I have an Ajax "editable table" made with rows of custom components similar to AjaxEditableLabel, that while in "edit mode" use a behavior like this one: protected class EditorBehavior extends AbstractDefaultAjaxBehavior{ @Override protected void o

Re: PageExpired while ordering DataTable

2008-02-12 Thread Federico Fanton
On Mon, 11 Feb 2008 13:01:47 +0100 "Johan Compagner" <[EMAIL PROTECTED]> wrote: > i guess we could up the level a bit yes > Because in 1.3 it is pretty serious error if we cant save the page. Great! Should I open a JIRA issue to track this? --

Re: PageExpired while ordering DataTable

2008-02-11 Thread Federico Fanton
On Sat, 9 Feb 2008 09:51:45 +0100 "Johan Compagner" <[EMAIL PROTECTED]> wrote: > What wicket version is this? > > Normally in 1.3 page expires should never happen, except when your > page isnt serializeble... Here it is! My page wasn't serializable, but my Logback configuration hid the exceptio

Re: PageExpired while ordering DataTable

2008-02-08 Thread Federico Fanton
On Fri, 8 Feb 2008 15:49:58 +0100 "Maurice Marrink" <[EMAIL PROTECTED]> wrote: > If I recall correctly we had a similar problem a little while ago. > As it turned out the page was requested twice but only the first was rendered. > The reason the page was requested twice was because we had somethin

Re: PageExpired while ordering DataTable

2008-02-08 Thread Federico Fanton
On Fri, 8 Feb 2008 12:50:34 +0100 Federico Fanton <[EMAIL PROTECTED]> wrote: > My problem is that if I _quickly_ doubleclick > on a column header (even with no data in the table), > I get a PageExpiredException. I tried debugging > this, so I saw that WicketServlet receives tw

PageExpired while ordering DataTable

2008-02-08 Thread Federico Fanton
Hi everyone! I'm looking for a little help please.. I have a search page with a form and a custom DataTable (with SortableDataProvider). Everything works fine: I can set filters from the form, order the table by clicking on column headers, browse through the table pages, etc.. My problem is that

users@wicket.apache.org

2008-02-07 Thread Federico Fanton
On Thu, 7 Feb 2008 14:17:38 +0100 Fabrizio Giudici <[EMAIL PROTECTED]> wrote: > My navigator panels (e.g. from AjaxFallbackDefaultDataTable, > GridView, etc... looks like << < 1 2 3 > >>. I'd like to replace the > lt and gt with icons, and to control the style of the numbers. How do > I do t

Re: WicketTester Doesn't Support setDefaultFormProcessing(false)

2008-01-28 Thread Federico Fanton
On Tue, 15 Jan 2008 23:45:42 +0100 "Martijn Dashorst" <[EMAIL PROTECTED]> wrote: > Probably a missing feature. Could you open a JIRA issue please? For reference: http://issues.apache.org/jira/browse/WICKET-1291 I'm interested in this issue too, if there's some way I could help.. ---

Re: Setting focus to a TextField

2008-01-14 Thread Federico Fanton
On Thu, 20 Sep 2007 20:21:20 -0400 John Krasnay <[EMAIL PROTECTED]> wrote: > I include this little script in my base page to always auto-focus the > first text box. Pretty! Thanks :) - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: DatePicker NaN

2008-01-03 Thread Federico Fanton
On Thu, 3 Jan 2008 21:29:18 +0100 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > Federico, is it possibly that you try it with the latest trunk? > the fix is in and it will be included in 1.3.1 I'll try it ASAP, many thanks! :) -

Re: DatePicker NaN

2008-01-03 Thread Federico Fanton
On Wed, 19 Sep 2007 18:19:15 +0200 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > ivana filed an issue today (WICKET-989) and i already attached a patch to > it. > so either you persuade any of the committers to apply the patch and commit > it, or you do an svn checkout and apply the patch to your lo

Re: [OT] Howto load external resource (pdf) best?

2007-11-23 Thread Federico Fanton
On Fri, 23 Nov 2007 05:06:29 -0800 (PST) Newgro <[EMAIL PROTECTED]> wrote: > So i'm looking for a solution like - load the template for "fix-location". > And if a new template arrives i can simply put it to the "fix-location". > > But how can i do this - espacially with the wicket framework. If

Re: Aborting Ajax component replacing

2007-11-23 Thread Federico Fanton
On Fri, 23 Nov 2007 11:04:26 +0100 Federico Fanton <[EMAIL PROTECTED]> wrote: > but in Ajax Debug Window i get "SyntaxError: invalid return".. Is there a way > to abort ajax component replacing from prependJavascript? Mmh.. This > r579593 | knopp | 2007-09-26 13:16:5

Re: [OT] Howto load external resource (pdf) best?

2007-11-23 Thread Federico Fanton
On Fri, 23 Nov 2007 03:55:32 -0800 (PST) Newgro <[EMAIL PROTECTED]> wrote: > But i look for a solution where i > can exchange the template without redeploying the whole application. I see.. When testing inside Eclipse I just use new File("/path/to/template.jasper") Maybe something like that would

Re: [OT] Howto load external resource (pdf) best?

2007-11-23 Thread Federico Fanton
On Fri, 23 Nov 2007 00:12:24 -0800 (PST) Newgro <[EMAIL PROTECTED]> wrote: > But where do i have to "place" my template file. I would like to load it on > a button click. But how can i access the template? I put .jasper files inside the jar and access them via something like this.class.getResou

Re: Tracking InlineFrame status

2007-11-23 Thread Federico Fanton
On Thu, 22 Nov 2007 18:52:28 +0100 Federico Fanton <[EMAIL PROTECTED]> wrote: > I have a Wicket page with an InlineFrame pointing to another Wicket page on > the same servlet.. In the "inner" one I have a button that calls > setResponsePage, thus changing the inner page

Aborting Ajax component replacing

2007-11-23 Thread Federico Fanton
Hi everyone! I'm sorry, I'm triying to implement this workflow: - user presses on Ajax button - if server-side check returns false, refresh component X - if server-side check returns true, ask confirmation to user via JS confirm(), and eventually refresh component X I tried using something like

Tracking InlineFrame status

2007-11-22 Thread Federico Fanton
Hi everyone! I'm looking for a hint please :) I have a Wicket page with an InlineFrame pointing to another Wicket page on the same servlet.. In the "inner" one I have a button that calls setResponsePage, thus changing the inner page.. Is there a way for the "outer" page to gain access to the new

Using LinkTree to show subtrees

2007-11-20 Thread Federico Fanton
Hi everyone! I'm looking for a hint please :) I have a somewhat complex chain of TreeNodes that I need to show by subtree (not in its entirety), so I figured I'd just find my "subroot" TreeNode, wrap it in a DefaultTreeModel and pass it to a LinkTree.. Everything is fine, except that clicking on

Re: AjaxIndicator and mouse hourglass

2007-11-15 Thread Federico Fanton
On Thu, 15 Nov 2007 16:18:50 +0100 Federico Fanton <[EMAIL PROTECTED]> wrote: > > I was wondering, is there a way to use the mouse hourglass to indicate AJAX > > activity instead of showing/hiding a component? > > Ehr, maybe Wicket.Ajax.registerPreCallHandler? Ok,

AjaxIndicator and mouse hourglass

2007-11-15 Thread Federico Fanton
Hi everyone! I was wondering, is there a way to use the mouse hourglass to indicate AJAX activity instead of showing/hiding a component? I know that you can use document.style.cursor='wait' but AbstractDefaultAjaxBehavior calls wicketShow() and wicketHide() directly (at least on 1.3b3), so I can'

Re: AjaxIndicator and mouse hourglass

2007-11-15 Thread Federico Fanton
On Thu, 15 Nov 2007 15:59:18 +0100 Federico Fanton <[EMAIL PROTECTED]> wrote: > I was wondering, is there a way to use the mouse hourglass to indicate AJAX > activity instead of showing/hiding a component? Ehr, maybe Wicket.Ajax.registerPr

Re: Doubleclicking on a refreshable Ajax button

2007-11-14 Thread Federico Fanton
On Wed, 14 Nov 2007 17:27:52 +0100 "Matej Knopp" <[EMAIL PROTECTED]> wrote: > Err. These exception shouldn't happen anymore with latest wicket. > Anyone who can reproduce this with latest wicket please file a jira > issue, preferred with quickstart. It's a bug. Great :) I'm sorry, by "latest" do

Re: Doubleclicking on a refreshable Ajax button

2007-11-14 Thread Federico Fanton
On Wed, 14 Nov 2007 17:30:18 +0100 Federico Fanton <[EMAIL PROTECTED]> wrote: > > Can you try using something like > > setThrottleDelay(Duration.milliseconds(500)) > > to help eliminate the accidental, quick-fire second click? > > I completely overlooked tha

Re: Doubleclicking on a refreshable Ajax button

2007-11-14 Thread Federico Fanton
On Wed, 14 Nov 2007 07:22:52 -0800 (PST) jweekend <[EMAIL PROTECTED]> wrote: > Can you try using something like setThrottleDelay(Duration.milliseconds(500)) > to help eliminate the accidental, quick-fire second click? I completely overlooked that X-) I'll try it, many thanks :)

Re: Doubleclicking on a refreshable Ajax button

2007-11-14 Thread Federico Fanton
On Tue, 13 Nov 2007 11:36:30 -0800 "Eelco Hillenius" <[EMAIL PROTECTED]> wrote: > We're actually seeing similar stack traces occasionally. I wonder if > there is something more generic we can do about this. Keeping away from Javascript would be great :) Maybe simply adding a way to suppress the

Re: Doubleclicking on a refreshable Ajax button

2007-11-14 Thread Federico Fanton
On Tue, 13 Nov 2007 19:45:57 +0100 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > you can use an IAjaxCallDecorator to disable/hide the button before sending > the first ajax request. > i'm sure there is plenty to find in the archives... So I have to use Javascript? :/ I see, thanks! Another questio

Doubleclicking on a refreshable Ajax button

2007-11-13 Thread Federico Fanton
Hi everyone! I'm having a problem with an ajax button and I'd like to ask for help X-) I have a DataTable with a Button, a text field and a label on every row. My objective is to be able to insert data into the text field, then click on the button and have an ajax call which 1) renders the label

ModalWindow windowClosedCallback and WicketTester

2007-10-31 Thread Federico Fanton
Hi everyone! I have a ModalWindow with a "close" button in it, the button's "onclick" calls modalWindow.close() via AJAX. My problem is that when I call the onclick via wicketTester.executeAjaxEvent(button, "onclick") the modalWindow's windowClosedCallback doesn't fire.. Am I missing something? O

Re: Confirmation message after form submit

2007-10-29 Thread Federico Fanton
On Thu, 25 Oct 2007 11:33:57 +0100 "Dipu Seminlal" <[EMAIL PROTECTED]> wrote: > yes a modal window, I see, I'll go with this solution.. Many thanks to everyone who answered :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Confirmation message after form submit

2007-10-25 Thread Federico Fanton
On Thu, 25 Oct 2007 10:40:20 +0100 "Dipu Seminlal" <[EMAIL PROTECTED]> wrote: > I think you can make use of a modal window to do this You mean, a modal window instead of the javascript confirm() ? - To unsubscribe, e-mail: [EMA

Confirmation message after form submit

2007-10-25 Thread Federico Fanton
Hi everyone! I have a form with a submit button, and I need to implement a sequence like this: - user presses the button - form submit - server-side validation of submitted data - popup with confirmation message (like javascript confirm() ) - if user presses "yes", call Java method X - if user pre

Re: File download and page refresh

2007-10-18 Thread Federico Fanton
On Thu, 18 Oct 2007 10:04:17 -0700 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > you can redirect to a page that has a meta refresh pointing to a file... I'll try that, thanks! :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For

File download and page refresh

2007-10-18 Thread Federico Fanton
Hi everyone! Is it possible to build a form button which triggers a download *and* a page refresh? Many thanks for your time! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Page expired upon file download + model update

2007-10-17 Thread Federico Fanton
On Thu, 11 Oct 2007 17:00:46 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > The button has setDefaultFormProcessing(false), and overrides onSubmit so > that the form model object is sent to the persistence layer and printed > immediately afterwards. The persistence layer

Re: Page expired upon file download + model update

2007-10-15 Thread Federico Fanton
On Mon, 15 Oct 2007 09:37:50 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > > See here > > http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-Startingdownloadafterformsubmission(Wicket1.1) Sorry, I forgot to say I

Re: Page expired upon file download + model update

2007-10-15 Thread Federico Fanton
On Fri, 12 Oct 2007 17:59:11 +0400 Andrew Klochkov <[EMAIL PROTECTED]> wrote: > See here > http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-Startingdownloadafterformsubmission(Wicket1.1) Thanks for your answer! Following the example I tried writing to WebRes

Page expired upon file download + model update

2007-10-11 Thread Federico Fanton
Hi everyone! I have a form with some fields and a submit button which says "Save and print". The button has setDefaultFormProcessing(false), and overrides onSubmit so that the form model object is sent to the persistence layer and printed immediately afterwards. The persistence layer *may* alter

Re: Onclick and ondblclick on same element

2007-10-01 Thread Federico Fanton
On Mon, 1 Oct 2007 02:10:13 -0700 (PDT) swaroop belur <[EMAIL PROTECTED]> wrote: > b1.setThrottleDelay(Duration.valueOf(1000)); // Make sure dbl click happens > before onclick So the delay takes place *before* the first event, not after? I see.. Many thanks! :) ---

Re: Onclick and ondblclick on same element

2007-10-01 Thread Federico Fanton
On Fri, 28 Sep 2007 16:43:05 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > My problem is that when I double click on the row three events are fired: two > onclick and one ondblclick.. Is this normal? Is there a way to isolate the > last event and ignore the first two? I go

Onclick and ondblclick on same element

2007-09-28 Thread Federico Fanton
Hi everyone! I fear this isn't strictly Wicket-related, but I'm having a little problem with a table row having two associated events: onclick and ondblclick. Onclick should highlight the row, while Ondblclick should jump to another page passing along information about the selected row.. My probl

Re: Dojo floating panel

2007-09-20 Thread Federico Fanton
On Wed, 19 Sep 2007 20:00:46 +0200 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > hope it works this time ;) It works very well :) Many thanks for your time and patience! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Dojo floating panel

2007-09-19 Thread Federico Fanton
On Tue, 18 Sep 2007 16:19:59 +0200 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > you could pass a reference to the dojofloatingpane to Page2 I tried that, using it from a button inside Page2 like button.add(new AjaxEventBehavior("onclick"){ protected void onEvent(AjaxRequestTarget target) {

Re: PropertyResolverConverter and non-String values

2007-09-19 Thread Federico Fanton
On Wed, 19 Sep 2007 12:32:09 +0200 "Johan Compagner" <[EMAIL PROTECTED]> wrote: > thats final > you could try to do something with: > > protected Object convertChoiceIdToChoice(String id) Right, sorry ^^ > But that is an id and how is that id converted to what? > Is that the ClassDescriptionBea

Re: Dojo floating panel

2007-09-19 Thread Federico Fanton
On Tue, 18 Sep 2007 16:19:59 +0200 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > you could pass a reference to the dojofloatingpane to Page2 *snap* I keep forgetting this kind of things X-) Many thanks for your help! - To unsubsc

Re: PropertyResolverConverter and non-String values

2007-09-19 Thread Federico Fanton
On Wed, 19 Sep 2007 12:11:10 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > Obviously PropertyResolverConverter doesn't know how to map a > ClassDescriptionBean to the corresponding Class, but how am I supposed to do > it? I already have a custom ConverterLocator in plac

PropertyResolverConverter and non-String values

2007-09-19 Thread Federico Fanton
Hi everyone! I have a form which needs to select a Class from a list, so I added a DropDownChoice loaded with a list of beans like: public class ClassDescriptionBean{ private String description; private Class type; [getters and setters omissis] } so that the form shows nice description

Re: Dojo floating panel

2007-09-18 Thread Federico Fanton
On Tue, 18 Sep 2007 15:09:40 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > I see, but since the closing button is *inside* an iframe, I don't have any > means to get myDojoFloatingPane (which is in the containing page).. Am I > wrong? ^^; As a side note, maybe thi

Re: Dojo floating panel

2007-09-18 Thread Federico Fanton
On Tue, 18 Sep 2007 14:53:48 +0200 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > yes, that's the wrong way. > > instead of target.prependJavascript(..); you should do the following: > myDojoFloatingPane.close(target); I see, but since the closing button is *inside* an iframe, I don't have any mea

Re: Dojo floating panel

2007-09-18 Thread Federico Fanton
On Mon, 17 Sep 2007 12:32:40 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > > you can probably add an InlineFrame which loads the webpage to the > > DojoFloatingPane. > > Mmh.. What about communicating between the two pages (containing page and > panel) in su

Re: Dojo floating panel

2007-09-17 Thread Federico Fanton
On Mon, 17 Sep 2007 11:27:51 +0200 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > i've never used wicketstuff-dojo (or dojo at all), so i maybe totally wrong > about it. > you can probably add an InlineFrame which loads the webpage to the > DojoFloatingPane. I see, thanks :) Mmh.. What about communi

Dojo floating panel

2007-09-17 Thread Federico Fanton
Hi everyone! I need a floating panel such as the one provided by wicket-dojo's DojoFloatingPanel, but I was wondering, is there a way to handle the panel content as if it was a normal WebPage? I mean, can I build a normal page and insert it into a panel when needed? Could it be possible? Many th

Re: setEnabled() and complex components

2007-08-24 Thread Federico Fanton
On Fri, 24 Aug 2007 12:24:46 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > > I was wondering, is there a way to cleanly enable/disable complex > > components such as DateFields and Palettes? I see that > > Component.setEnabled() is final so it cannot be overridde

Re: setEnabled() and complex components

2007-08-24 Thread Federico Fanton
On Fri, 24 Aug 2007 12:08:48 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > I was wondering, is there a way to cleanly enable/disable complex components > such as DateFields and Palettes? I see that Component.setEnabled() is final > so it cannot be overridden to handl

setEnabled() and complex components

2007-08-24 Thread Federico Fanton
Hi everyone! I was wondering, is there a way to cleanly enable/disable complex components such as DateFields and Palettes? I see that Component.setEnabled() is final so it cannot be overridden to handle special cases.. Should I always call visitChildren() on the component and setEnabled() on eve

  1   2   >