Re: ModalDialog - why no dialog?

2024-08-09 Thread Maxim Solodovnik
On Sat, 3 Aug 2024 at 21:34, Korbinian Bachl wrote: > > Hi, > > why is it that the new "ModalDialog" doesn't use the "" elemt? But a > instead with the need of custom css? > > -> https://developer.mozilla.org/en-US/docs/We

ModalDialog - why no dialog?

2024-08-03 Thread Korbinian Bachl
Hi, why is it that the new "ModalDialog" doesn't use the "" elemt? But a instead with the need of custom css? -> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog And why are the https://examples9x.wicket.apache.org/ajax/modal-dialog crashing (c

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 For

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: https://gitlab.

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-08 Thread Ernesto Reinaldo Barreiro
elated to a ClassCastException and to > a > > missing call to tabbedPanel.setOutputMarkupId(true) . > > > > Thank you for quick response. > > > > Regards, > > Ulrich Knaack > > > > > > > -Ursprüngliche Nachricht- > > > Von: Martin Gri

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-08 Thread Martin Grigorov
> > -Ursprüngliche Nachricht- > > Von: Martin Grigorov [mailto:mgrigo...@apache.org] > > Gesendet: Mittwoch, 3. Mai 2017 15:04 > > An: users@wicket.apache.org > > Betreff: Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel > > > > Hi, > >

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-08 Thread Knaack, Ulrich
> Von: Martin Grigorov [mailto:mgrigo...@apache.org] > Gesendet: Mittwoch, 3. Mai 2017 15:04 > An: users@wicket.apache.org > Betreff: Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel > > Hi, > > I think I see the problem. > When using AjaxBootstrapTabbe

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel - solved

2017-05-08 Thread Knaack, Ulrich
> Von: Martin Grigorov [mailto:mgrigo...@apache.org] > Gesendet: Mittwoch, 3. Mai 2017 15:04 > An: users@wicket.apache.org > Betreff: Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel > > Hi, > > I think I see the problem. > When using AjaxBootstrapTabbe

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-03 Thread Martin Grigorov
plication after work! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, May 3, 2017 at 2:19 PM, Knaack, Ulrich < ulrich.kna...@lgln.niedersachsen.de> wrote: > Hi, > > I've to create a modal dialog which contains a AjaxBootstrapTabbedPanel

Re: Wicket tester and jquery-ui dialog

2017-01-23 Thread Maxim Solodovnik
Hello All, With the help of Sebastien I was able to create POC [1] [2] and was able to test wicket-jquery-ui dialog using wicket tester Hope this will be useful :) [1] https://github.com/apache/openmeetings/blob/3.2.x/ openmeetings-web/src/test/java/org/apache/openmeetings/ test

Re: Wicket tester and jquery-ui dialog

2017-01-23 Thread Sebastien
he discussion, > Could you please tell me or maybe send a link to the example on how > wickek-jquery-ui dialog can be pressed using wicket tester? > > Thanks in advance! > > -- > WBR > Maxim aka solomax >

Wicket tester and jquery-ui dialog

2017-01-22 Thread Maxim Solodovnik
Hello Sebastien, I do remember were there some questions on the topic, but unfortunately I was unable to find the discussion, Could you please tell me or maybe send a link to the example on how wickek-jquery-ui dialog can be pressed using wicket tester? Thanks in advance! -- WBR Maxim aka

Re: Indicating dialog button don't stop

2016-09-18 Thread Maxim Solodovnik
Hello Sebastien, sorry for the late response was too busy to check :(( Everything works as expected in samples, will check my code Thanks a lot for the fix! On Tue, Sep 13, 2016 at 3:01 AM, Sebastien wrote: > Hi Maxim, > > This is not intended that the dialog flickers... This is we

Re: Indicating dialog button don't stop

2016-09-12 Thread Sebastien
Hi Maxim, This is not intended that the dialog flickers... This is weird and I don't see any reason (and I don't see this on my side...) Can you run the "upload dialog" sample of wicket-jquery-ui-samples to see if you do repro it ? > git clone https://github.com/sebfz1/wi

Re: Indicating dialog button don't stop

2016-09-12 Thread Maxim Solodovnik
Thanks a lot for the SNAPSHOT It works as expected :) the only issue I was able to see is: dialog flickers while waiting ... is it expected? Thanks for the steps will try to use it to debug broken menu item, will write back :) On Mon, Sep 12, 2016 at 5:23 AM, Sebastien wrote: > Hi Ma

Re: Indicating dialog button don't stop

2016-09-11 Thread Sebastien
Hi Maxim, I've deployed 7.4.1-SNAPSHOT with the fix. About debugging the client side, you would : - watch the dev tool / network ajax requests and response - watch the ajax debug window if there is any js commands in the ajax response that has not effect (you can copy/paste them in the brower's d

Re: Indicating dialog button don't stop

2016-09-11 Thread Maxim Solodovnik
Sep 11, 2016 at 6:23 PM, Sebastien wrote: >> > Hi Maxim, >> > >> > It seems to be a bug on my side, I'm on it... >> > >> > Best regards, >> > Sebastien. >> > >> > >> > On Sun, Sep 11, 2016 at 6:57 AM, Maxim

Re: Regarding nested multipart modal dialog

2016-05-20 Thread Sven Meier
ried to refresh the root form by adding it to 'AjaxRequestTarget', but it didn't work. Any workaround you know of, that I can use for now ? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-nested-multipart-modal-dialog-tp4

Re: Regarding nested multipart modal dialog

2016-05-20 Thread Andrea Del Bene
ny workaround you know of, that I can use for now ? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-nested-multipart-modal-dialog-tp4674764p4674769.html Sent from the Users forum mailing l

Re: Regarding nested multipart modal dialog

2016-05-20 Thread Sven Meier
to refresh the root form by adding it to 'AjaxRequestTarget', but it didn't work. Any workaround you know of, that I can use for now ? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-nested-multipart-modal-dialog-tp4674764p4

Re: Regarding nested multipart modal dialog

2016-05-20 Thread Ernesto Reinaldo Barreiro
Can't you use a Page for the second dialog? And a normal page summit? On Fri, May 20, 2016 at 10:24 AM, Rakesh A wrote: > Hi, > > Created JIRA issue - https://issues.apache.org/jira/browse/WICKET-6171 > > I tried to refresh the root form by adding it to 'AjaxRequestT

Re: Regarding nested multipart modal dialog

2016-05-20 Thread Rakesh A
//apache-wicket.1842946.n4.nabble.com/Regarding-nested-multipart-modal-dialog-tp4674764p4674769.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For addi

Re: Regarding nested multipart modal dialog

2016-05-20 Thread Sven Meier
Hi, problem is that the root form caches its "multipart" state until it is rendered again (i.e. the hint flag is cleared in #onBeforeRender only). Please create a Jira issue. Regards Sven On 20.05.2016 06:43, Rakesh A wrote: Hi, I observed that when I've a nested (secon

Re: Jqueryui tabs on dialog

2016-05-19 Thread Maxim Solodovnik
Sure, sorry I my code I have re-added the form (with tabs) via ajax on dialog open this is why tabs behavior was dropped i have changed target.add(form) with target.add(form.add(new JQueryUIBehavior("#tabs", "tabs")) and now everything works as expected dumb error On Fri, M

Re: Jqueryui tabs on dialog

2016-05-19 Thread Martin Grigorov
ay 20, 2016 at 12:07 AM, Maxim Solodovnik > wrote: > > > Hello Sebastien, > > > > I'm trying to add tabs to form dialog > > > > I'm add behavior to the constructor: > > add(new JQueryUIBehavior("#tabs", "tabs")); > > > &g

Regarding nested multipart modal dialog

2016-05-19 Thread Rakesh A
Hi, I observed that when I've a nested (second level) dialog with multipart form in it, after submitting this form, first level dialog form submit results a multipart form submit instead of normal form submit. I've attached a quick start to reproduce this. Steps: 1. Click the link on

Re: Jqueryui tabs on dialog

2016-05-19 Thread Maxim Solodovnik
find out resolution myself sorry for the noise, I shouldn't send emails in the middle of the night :(( On Fri, May 20, 2016 at 12:07 AM, Maxim Solodovnik wrote: > Hello Sebastien, > > I'm trying to add tabs to form dialog > > I'm add behavior to the construct

Jqueryui tabs on dialog

2016-05-19 Thread Maxim Solodovnik
Hello Sebastien, I'm trying to add tabs to form dialog I'm add behavior to the constructor: add(new JQueryUIBehavior("#tabs", "tabs")); I'm adding JS code to onOpen handler handler.appendJavaScript("$('#tabs').tabs();"); no luck :( no

Re: link with confirm dialog

2015-05-31 Thread Chris
7; returns false then the Ajax call won't be made at all. > > To accomplish what you need you have to introduce a step in the middle. > When the user clicks on the Ajax link you have to open a dialog/modal > window with your question and buttons OK/Cancel. If OK is clicked then go &

Re: link with confirm dialog

2015-05-31 Thread Martin Grigorov
p in the middle. When the user clicks on the Ajax link you have to open a dialog/modal window with your question and buttons OK/Cancel. If OK is clicked then go to page Page, otherwise do nothing. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sat, May 30, 2015 at 8:

link with confirm dialog

2015-05-30 Thread Chris
Hi all, how can I change the code so that the confirm-dialog is called when the #onClick method is executed and not at constructor-time? I would like to change the dialog text based on some runtime variable. Thanks, Chris Link link = new AjaxFallbackLink("link") {

Re: Generating a popup dialog in OnSubmit()

2015-04-27 Thread Sebastien
questTarget.class); > > MessageDialog dialog = new MessageDialog("dialog", "Notice", > "Decision Matches " , > DialogButtons.OK_CANCEL, DialogIcon.WARN) { > > public void onClose( AjaxRequestTarget target, DialogButton

Generating a popup dialog in OnSubmit()

2015-04-27 Thread smoothe19
protected void onSubmit() { if (trainingmode()){ AjaxRequestTarget target = RequestCycle.get().find(AjaxRequestTarget.class); MessageDialog dialog = new MessageDialog("dialog", "Notice", "Decision Matches " , DialogButt

Re: JQWicket - Modal/Dialog to an External URL, Or Something Like It?

2014-09-25 Thread MissOvenMitts
Thanks so much! That worked like a charm. I hadn't thought of it at all before! HTML: Open the dialog JAVA: final DialogWebMarkupContainer insideDialogBox = new DialogWebMarkupContainer( "insideDialogBox", new DialogOptio

Re: JQWicket - Modal/Dialog to an External URL, Or Something Like It?

2014-09-25 Thread mscoon
Hi, You could simply put an iframe inside your dialog div: In case the url is dynamic you can attach the iframe to a wicket component and use an attribute modifier to set the src attribute. On Thu, Sep 25, 2014 at 2:04 AM, MissOvenMitts < chantal.lucette.da...@gmail.com>

JQWicket - Modal/Dialog to an External URL, Or Something Like It?

2014-09-24 Thread MissOvenMitts
Good afternoon everybody! Can one point a dialog in JQWicket to an external URL (or just in Wicket in general..)? E.g. can I have a link that opens a modal dialog showing "https://www.google.com/"; in it, or something like that? I keep seeing this example over and over, but it's t

Re: WiQuery: positioning a dialog when reusing it

2014-08-20 Thread Mihir Chhaya
In fact I have found WiQuery dialog more helpful. I am sharing my code with you; just to show my version of using the dialog. Not necessarily the best way, but is working for me and very helpful. (I HAVE DEVELOPED MY VERSION USING ERNESTO REINALDO'S ORIGINAL SUGGESTION FOR DIALOG BOX CRE

Re: WiQuery: positioning a dialog when reusing it

2014-08-20 Thread Martin Dietze
I have looked into that issue a bit further. On 17 August 2014 17:23, Mihir Chhaya wrote: > I have used WQuery Dialog for Wicket 1.4 and could make it work in center > using setMinimumHeight and setMinimumWidth methods when adding dialog. That's true, but this is part of the problem.

Re: WiQuery: positioning a dialog when reusing it

2014-08-17 Thread Mihir Chhaya
Martin, I have used WQuery Dialog for Wicket 1.4 and could make it work in center using setMinimumHeight and setMinimumWidth methods when adding dialog. Have you tried those? You could pass different values for height and width from the source when creating to match your requirements. For

WiQuery: positioning a dialog when reusing it

2014-08-15 Thread Martin Dietze
In my application I am using WiQuery's 'Dialog' for a global page dialog that gets constructed in my page base class. Each time I want to show a dialog I embed a different panel in it and then show it. Usually I would like to display smaller dialogs that fit on t

Re: How can I display modal dialog only if validation is sucessful?

2014-05-23 Thread Bruce Lombardi
>> are correct, an email is sent to the user and the user is returned to the >> login page. That's a bit abrupt for the user and I would like to provide a >> simple modal dialog that confirms that the email is sent before sending them >> to the home page. Howeve

Re: How can I display modal dialog only if validation is sucessful?

2014-05-22 Thread Francois Meillet
e answers > are correct, an email is sent to the user and the user is returned to the > login page. That's a bit abrupt for the user and I would like to provide a > simple modal dialog that confirms that the email is sent before sending them > to the home page. However, if the

How can I display modal dialog only if validation is sucessful?

2014-05-21 Thread Bruce Lombardi
Hi, I have a form with several question that a user must answer. If the answers are correct, an email is sent to the user and the user is returned to the login page. That's a bit abrupt for the user and I would like to provide a simple modal dialog that confirms that the email is sent b

Re: Wicket Message Dialog Behavior, close on click

2014-04-25 Thread Martin Grigorov
ear still to how to implement "onBeforeSend", > Cant i add this "onBeforeSend" behavior to target.appendjavascript in some > manner?? or do i need to create n extent a particular class > > Regards > Neha > > -- > View this message in context: > http://a

Re: Wicket Message Dialog Behavior, close on click

2014-04-25 Thread Neha
he-wicket.1842946.n4.nabble.com/Wicket-Message-Dialog-Behavior-close-on-click-tp4665557p4665572.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additio

Re: Wicket Message Dialog Behavior, close on click

2014-04-24 Thread Martin Grigorov
Hi, #onClose() is executed only when the Ajax request is processed at the server side. The JavaScript created with String js2 = this.getMarkupId() + ".dialog('close')"; target.appendJavaScript(js2); will be executed when the Ajax response is processed in the browser.

Wicket Message Dialog Behavior, close on click

2014-04-24 Thread Neha
Hi, I am using wicket message dialog box, which is a jquery ui widget dialog. I want to close the dialog box , when user clicks on "confirm button. Even if the operation takes time, the dialog box must close. When I press "Cancel" dialog box closes immedialtely, but when I click

Re: "Confirm Navigation" pop up dialog box

2014-03-05 Thread Martin Grigorov
7; or are there instances where I can only > use 'setOutputMarkupId'?? > > Thanks again. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Confirm-Navigation-pop-up-dialog-box-tp4664

Re: "Confirm Navigation" pop up dialog box

2014-03-05 Thread msalman
t. Can I always use 'setOutputMarkupPlaceholderTag' or are there instances where I can only use 'setOutputMarkupId'?? Thanks again. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Confirm-Navigation-pop-up-dialog-box-tp4664778p4664809.html Sent from the Users

Re: "Confirm Navigation" pop up dialog box

2014-03-04 Thread Martin Grigorov
pPanel); > target.add(agentPanel); > target.add(FsUserBrowsePage.this); > > currentPanelSelection = panelSelection; > } > > As you can see that page is added to the

"Confirm Navigation" pop up dialog box

2014-03-04 Thread msalman
. But this causes the "confirm navigation" type popup dialog box in all the browsers. If I don't include the page to the target then my changes do not happen. Because of the frame work developed here, it seems that I would just have to add the page to the target. I have tried a

Re: jquery dialog and wicket modal window

2014-01-16 Thread Zee
what i mean to say is the modal window is still in focus & i can't work with my jquery dialog window. the jquery dialog window must be opened first i tried adding a document.getElementByID("id").focus() at the end of the getWindowOpenJavascript in renderHead but that didn'

Re: Modal dialog box to appear upon page load is too late

2014-01-08 Thread Jan Moxter
completely loaded hide this div. We use this kind of mechanism "transparent div with hourglass in the center" all the time and works simple but perfect. Jan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Modal-dialog-box-to-appear-upon-page-load-i

Re: Modal dialog box to appear upon page load is too late

2014-01-08 Thread J.K. Baltzersen
nder the JS when the whole page DOM is constructed > you can add > right after the modal's div > and use a Label("js", getWindowOpenJavaScript()) > [...] Best regards, J.K. Baltzersen -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Modal

Re: Modal dialog box to appear upon page load is too late

2014-01-08 Thread Martin Grigorov
is will render the JS when the whole page DOM is constructed you can add right after the modal's div and use a Label("js", getWindowOpenJavaScript()) > response.render(OnLoadHeaderItem.forScript(getCloseJavacript())); > } > > The purpose of the modal di

Modal dialog box to appear upon page load is too late

2014-01-08 Thread J.K. Baltzersen
renderHead(IHeaderResponse response) { response.render(OnDomReadyHeaderItem.forScript(getWindowOpenJavaScript())); response.render(OnLoadHeaderItem.forScript(getCloseJavacript())); } The purpose of the modal dialog box is to prevent the user from entering data before the page

Re: DropDownChoice with Confirm Dialog

2013-07-24 Thread Martin Grigorov
always. > > M > > Il giorno 24/lug/2013, alle ore 10:59, Martin Grigorov < > mgrigo...@apache.org> ha scritto: > > > Hi, > > > > > > On Wed, Jul 24, 2013 at 11:54 AM, Marco Di Sabatino Di Diodoro < > > marco.disabat...@tirasa.net> wrote:

Re: DropDownChoice with Confirm Dialog

2013-07-24 Thread Marco Di Sabatino Di Diodoro
; wrote: > >> Hi all, >> >> I like implement a DropDownChoice with an Confirm Dialog. >> I used an AjaxFormComponentUpdatingBehavior("on change") to intercept the >> change in the DropDownChoice. >> In addition, the user must first confirm the oper

Re: DropDownChoice with Confirm Dialog

2013-07-24 Thread Martin Grigorov
Hi, On Wed, Jul 24, 2013 at 11:54 AM, Marco Di Sabatino Di Diodoro < marco.disabat...@tirasa.net> wrote: > Hi all, > > I like implement a DropDownChoice with an Confirm Dialog. > I used an AjaxFormComponentUpdatingBehavior("on change") to intercept the > cha

DropDownChoice with Confirm Dialog

2013-07-24 Thread Marco Di Sabatino Di Diodoro
Hi all, I like implement a DropDownChoice with an Confirm Dialog. I used an AjaxFormComponentUpdatingBehavior("on change") to intercept the change in the DropDownChoice. In addition, the user must first confirm the operation with a dialog before changing the value in the DropDownCh

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-18 Thread Andrew Schetinin
Hi, To anybody interested, I've found a workaround that worked. I've added an invisible link into the dialog and simulated clicking on it: HTML code for the link: Java code for the link: submitLink = new AjaxSubmitLink( "submitFormInvisibleButton", form ) { priva

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-17 Thread Andrew Schetinin
s a very simple > > object. There is no updateAjaxAttributes() to change. > > > > As I explained, the form submit there works by a plain call from > > JavaScript, and that call does not work anymore because of the missing > > wicketSubmitFormById() function. > > > &

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-16 Thread Ernesto Reinaldo Barreiro
; JavaScript, and that call does not work anymore because of the missing > > wicketSubmitFormById() function. > > > > It seems to me that the only way to extend Dialog in wiQuery is through > > JavaScript - at least everything related to reaction on the button > clicks

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-16 Thread Sebastien
e works by a plain call from > JavaScript, and that call does not work anymore because of the missing > wicketSubmitFormById() function. > > It seems to me that the only way to extend Dialog in wiQuery is through > JavaScript - at least everything related to reaction on the button cl

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-16 Thread Andrew Schetinin
that call does not work anymore because of the missing wicketSubmitFormById() function. It seems to me that the only way to extend Dialog in wiQuery is through JavaScript - at least everything related to reaction on the button clicks. Regards, Andrew -- Andrew Schetinin On Tue, Jul 16, 2013 at 6

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-16 Thread Sebastien
ormId"); } Best regards, Sebastien. On Tue, Jul 16, 2013 at 5:21 PM, Andrew Schetinin wrote: > Hi, > > I've just upgraded from Wicket 1.4 to 6.9, and (among lots of other > problems) I have a trouble with porting the code that submitted a form from > within a wiQuery dialog. >

Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-16 Thread Andrew Schetinin
Hi, I've just upgraded from Wicket 1.4 to 6.9, and (among lots of other problems) I have a trouble with porting the code that submitted a form from within a wiQuery dialog. My code is based on the sample that can be found here: http://code.google.com/p/wiquery/source/browse/examples/wi

Re: jquery dialog onclick AjaxButton

2013-07-15 Thread Sebastien
Hi, In addition, wicket-jquery-ui provides a confirmation button (ConfirmButton / ConfirmAjaxButton) which already handles a confirmation jQuery UI dialog. http://www.7thweb.net/wicket-jquery-ui/button/ConfirmButtonPage If you need inspiration on how jQuery UI dialog's buttons are handled

Re: jquery dialog onclick AjaxButton

2013-07-14 Thread Paul Borș
Sorry my mail client just caught your original post too. For the dialog, you want a modal window. Example at: http://www.wicket-library.com/wicket-examples/ajax/modal-window Have a great day, Paul Bors On Jul 14, 2013, at 11:48 PM, "Paul Borș" wrote: > This is not the java s

Re: jquery dialog onclick AjaxButton

2013-07-14 Thread Paul Borș
dvice is there anything wrong with the > script ? sdimilar script works for ajax link but for submit buttons its > not please advice . > Thanks > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/jquery-dialog-onclick-AjaxBut

Re: jquery dialog onclick AjaxButton

2013-07-14 Thread fachhoch
I am not java script expert please advice is there anything wrong with the script ? sdimilar script works for ajax link but for submit buttons its not please advice . Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jquery-dialog-onclick-AjaxButton

jquery dialog onclick AjaxButton

2013-07-07 Thread fachhoch
I want to show a jquery dialog instead of confirm for which I am adding AjaxFormSubmitBehavior with my script, here is generated java script I click on the button dialog shows up , If I click OK the dialog should close and Ok function should be called but dialog is getting closed and

Re: using jquery dialog instead of alert

2013-07-04 Thread Enoch James
If it works for you, then it's right. On 7/4/2013 10:03 AM, fachhoch wrote: I am trying to use jquery dialog instead of javascript alert, I am using the jquery dialog script and inserting wicket onclick script in the OK :function. In java I am replacing the string myscript with w

using jquery dialog instead of alert

2013-07-04 Thread fachhoch
I am trying to use jquery dialog instead of javascript alert, I am using the jquery dialog script and inserting wicket onclick script in the OK :function. In java I am replacing the string myscript with wicket ajax script. I tested, it works ,please advice if this is right way to do

Re: Aw: Re: Re: Re: Re: wicket 6 and a confirm dialog

2013-05-29 Thread Martin Grigorov
regards >> >> marcel >> >> Gesendet: Mittwoch, 29. Mai 2013 um 10:12 Uhr >>> Von: "Martin Grigorov" >>> An: "users@wicket.apache.org" >>> Betreff: Re: Re: Re: Re: wicket 6 and a confirm dialog >>> >>> Hi, >>> >

Re: Aw: Re: Re: Re: Re: wicket 6 and a confirm dialog

2013-05-29 Thread Sven Meier
he.org" Betreff: Re: Re: Re: Re: wicket 6 and a confirm dialog Hi, Replace "if (!conf) return false; "; with "if (!conf) { Wicket.Event.stop(event, true); return false;} "; in JavascriptEventConfirmation.java On Wed, May 29, 2013 at 11:07 AM, Marcel Hoerr wrote

Re: Re: Re: Re: wicket 6 and a confirm dialog

2013-05-29 Thread Martin Grigorov
tly, this should work in wicket 6 too ("cancel" fires > no request). > > Best regards > > marcel > > > Gesendet: Dienstag, 28. Mai 2013 um 12:58 Uhr > > Von: "Martin Grigorov" > > An: "users@wicket.apache.org" > > Betreff: Re: Re: Re:

Re: Re: Re: wicket 6 and a confirm dialog

2013-05-28 Thread Martin Grigorov
; marcel > > > Gesendet: Montag, 27. Mai 2013 um 14:46 Uhr > > Von: "Martin Grigorov" > > An: "users@wicket.apache.org" > > Betreff: Re: Re: wicket 6 and a confirm dialog > > > > Hi Marcel, > > > > But the solution with onclick

Aw: Re: Re: wicket 6 and a confirm dialog

2013-05-28 Thread Marcel Hoerr
Ajax Components anymore. I will give it a try in a Quickstart, if you say it should work. Best regards marcel > Gesendet: Montag, 27. Mai 2013 um 14:46 Uhr > Von: "Martin Grigorov" > An: "users@wicket.apache.org" > Betreff: Re: Re: wicket 6 and a confirm dialog &

Re: Re: wicket 6 and a confirm dialog

2013-05-27 Thread Martin Grigorov
suggested solution needs AjaxRequestAttributes in order to display the > confirm dialog. In an non Ajax setting there would be no ajaxrequest though. > > Best regards > > marcel > > > Am 27.05.13 um 11:37 schrieb Martin Grigorov > > > > > Hi Marcel, > > >

Fwd: Re: wicket 6 and a confirm dialog

2013-05-27 Thread Marcel . Hoerr
Hi Martin, the suggested solution needs AjaxRequestAttributes in order to display the confirm dialog. In an non Ajax setting there would be no ajaxrequest though. Best regards marcel > Am 27.05.13 um 11:37 schrieb Martin Grigorov > > > Hi Marcel, > > > > > > >

Re: wicket 6 and a confirm dialog

2013-05-27 Thread Martin Grigorov
Hi Marcel, What exactly is the issue with non-Ajax links ? On Mon, May 27, 2013 at 12:34 PM, Marcel Hoerr wrote: > Hi wicket community, > > i have a question about how to implement a confirm dialog via javascript > on a button or link. Before wicket 6 we used a simple behavior (as

wicket 6 and a confirm dialog

2013-05-27 Thread Marcel Hoerr
Hi wicket community,   i have a question about how to implement a confirm dialog via javascript on a button or link. Before wicket 6 we used a simple behavior (as mentioned here: https://cwiki.apache.org/WICKET/getting-user-confirmation.html) which could be used to enrich any button or link

jquery dialog and wicket modal window

2013-03-01 Thread fachhoch
jquery ui dialog does shows up behind wicket modal window. I am using wicket 1.4.21 when a modal window is open , next If I click a link which opens jquery dialog it always open behind modalwindow,I can see the dialog only If I close the modal window. -- View this message in context: http

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread Martin Grigorov
gt; > > Can you just register your "behavior" to on change? Something > like: > > > > > > > > > > > > MyPanel extends Panel { > > > > > > > > > > > > > > > > > > public void renderHead(IH

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread heapifyman
> > > > MyPanel extends Panel { > > > > > > > > > > > > > > > public void renderHead(IHeaderResponse reponse) { > > > > > > > > > > > > > > > > > > > > > >

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread Martin Grigorov
nse.render(OnDomReadyHeaderItem.forScript("jQuery('#mydropdown').on('change', > > > > function(){//what ever you want to do});")); > > > > > > > > } > > > > > > > > } > > > > > > > > On Mon,

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread heapifyman
erResponse reponse) { > > > > > > > > > > > > > > > reponse.render(OnDomReadyHeaderItem.forScript("jQuery('#mydropdown').on('change', > > > function(){//what ever you want to do});")); > > > > > > }

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread Martin Grigorov
hat ever you want to do});")); > > > > } > > > > } > > > > On Mon, Feb 25, 2013 at 11:44 AM, venkat > wrote: > > > > > Hi , > > > > > > I have a requirement, where when user selects a particular option from > > > d

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread heapifyman
er you want to do});")); > > } > > } > > On Mon, Feb 25, 2013 at 11:44 AM, venkat wrote: > > > Hi , > > > > I have a requirement, where when user selects a particular option from > > dropdown, I need to show Java Script Confirmation dialog. Is t

How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread venkat
Hi , I have a requirement, where when user selects a particular option from dropdown, I need to show Java Script Confirmation dialog. Is there any way in Wicket to add javaScript behaviour to dropdown choice. Have used JavaScriptConfirmation to submit buttons in other areas and is working fine

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-13 Thread Martin Grigorov
ing a Page it renders it inside an _iframe_. On Tue, Nov 13, 2012 at 10:40 PM, Alec Swan wrote: > Martin, > > My original problem was in the environment without any proxies but > relative URLs on the modal dialog loaded from jQuery were still > broken. If you have a chance c

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-13 Thread Alec Swan
Martin, My original problem was in the environment without any proxies but relative URLs on the modal dialog loaded from jQuery were still broken. If you have a chance could you please review my original email and suggest what can be done to fix the links? Thanks, Alec On Mon, Nov 12, 2012 at

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-13 Thread Martin Grigorov
> > Please let me know if there is a problem with this approach. > > > > Thanks, > > > > Alec > > > > On Mon, Nov 5, 2012 at 2:09 PM, Alec Swan wrote: > >> Hello, > >> > >> I have a base page mounted at /app/root URL. This page

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-12 Thread Alec Swan
I was unable to figure this out and ended up changing the mount path of the dialog from /root/dialog to /root-dialog in order to match the depth of the parent page's mount path /root. I wish there was a cleaner way to fix this. Does anybody have any thoughts on this? Thanks, Alec On Mon

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-12 Thread Alec Swan
per.getURL().toString())); > } > > Please let me know if there is a problem with this approach. > > Thanks, > > Alec > > On Mon, Nov 5, 2012 at 2:09 PM, Alec Swan wrote: >> Hello, >> >> I have a base page mounted at /app/root URL. This page loads and pops

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-06 Thread Alec Swan
())); } Please let me know if there is a problem with this approach. Thanks, Alec On Mon, Nov 5, 2012 at 2:09 PM, Alec Swan wrote: > Hello, > > I have a base page mounted at /app/root URL. This page loads and pops > up a modal dialog (DIV) which content is loaded from /app

Links in modal dialog are relative to dialog URL and not base page URL

2012-11-05 Thread Alec Swan
Hello, I have a base page mounted at /app/root URL. This page loads and pops up a modal dialog (DIV) which content is loaded from /app/root/dialog URL. All links on the dialog are relative to the dialog URL and not base page URL. However, the browser resolves relative links against base page URL

Open WiQuery modal dialog as message / feedback panel

2012-05-19 Thread Stefan Moises
Hi there, I am trying to open a WiQuery dialog on certain events, e.g. after a row of an Inmethod datagrid is edited and saved... the dialog opens fine when using a link on the page (adding a WiQueryEventBehavior to it, as explained in the WiQuery quickstart example). But if I try to open it

Re: How to disable TinyMCE confirm dialog in Wicket?

2012-03-20 Thread Ilkemdk
Thank you for help. I will test it later~ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-disable-TinyMCE-confirm-dialog-in-Wicket-tp4486793p4489099.html Sent from the Users forum mailing list archive at Nabble.com

  1   2   3   >