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't work. It appears that
the getWindowOpenJavascript() calls Window.show which strictly demands 
keeps the focus

any help, thoughts, or ideas you have would be appreciated. I could try  do
another jquery dialog window but that would stink for a lot of reasons. I do
3 my wicket. This is the far superior solution.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/jquery-dialog-and-wicket-modal-window-tp4656897p4663794.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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://apache-wicket.1842946.n4.nabble.com/jquery-dialog-and-wicket-modal-window-tp4656897.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Wicket modal window example not working in IE8 on wicket-library.com

2011-07-31 Thread Chris Colman

My IE version is: 8.0.6001.18702IS

I'll take a look at the plugins.

Chris

I just tested 8.0.7601.17514 and it worked. Maybe you have a local IE
plugin
that's interfering?

On Sat, Jul 30, 2011 at 6:31 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:

 Does anyone else have a problem in IE8 with this page. The links do
not
 open up a modal window for me but under FF both links work fine.

 http://www.wicket-library.com/wicket-examples/ajax/modal-window

 I do have Javascript enabled :) on IE8 !


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket modal window example not working in IE8 on wicket-library.com

2011-07-30 Thread Chris Colman
Does anyone else have a problem in IE8 with this page. The links do not
open up a modal window for me but under FF both links work fine.
 
http://www.wicket-library.com/wicket-examples/ajax/modal-window
 
I do have Javascript enabled :) on IE8 !


Re: Wicket modal window example not working in IE8 on wicket-library.com

2011-07-30 Thread Dan Retzlaff
I just tested 8.0.7601.17514 and it worked. Maybe you have a local IE plugin
that's interfering?

On Sat, Jul 30, 2011 at 6:31 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:

 Does anyone else have a problem in IE8 with this page. The links do not
 open up a modal window for me but under FF both links work fine.

 http://www.wicket-library.com/wicket-examples/ajax/modal-window

 I do have Javascript enabled :) on IE8 !



Wicket Modal Window - IFrame

2008-09-03 Thread Shaun Thompson
I'm currently running into an issue with the wicket modal window.

My situation is this.

Wicket App A contains an IFrame sourcing Wicket App B.

B has an Wicket IFrame modal window on one of it's pages.

When Wicket.Window.create in modal.js is called from B, the
Wicket.Window is pulled from window.parent.Wicket.Window which has
been created in A.

Now the remaining functions called on Wicket.Window are referencing
functions from A modal.js

This becomes a problem when the createDOM in modal.js is called.  The
div tag containing the modal html from B is created in A's document.
The iframes src is relative so the content for the modal is not found.

One solution is to have Wicket App B use WebRequestCodingStrategy and
encode all it's url's from relative to absolute.  This is not an
optimal solution as I have no control over the multiple wicket apps
that will be sourced in Wicket App A's iframe.

Is there anyway to essentially namespace the Wicket.Window so B does
not pick up A's objects?

Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket Modal Window - IFrame

2008-09-03 Thread Matej Knopp
On Wed, Sep 3, 2008 at 10:13 PM, Shaun Thompson [EMAIL PROTECTED] wrote:
 I'm currently running into an issue with the wicket modal window.

 My situation is this.

 Wicket App A contains an IFrame sourcing Wicket App B.

 B has an Wicket IFrame modal window on one of it's pages.

 When Wicket.Window.create in modal.js is called from B, the
 Wicket.Window is pulled from window.parent.Wicket.Window which has
 been created in A.

 Now the remaining functions called on Wicket.Window are referencing
 functions from A modal.js

 This becomes a problem when the createDOM in modal.js is called.  The
 div tag containing the modal html from B is created in A's document.
 The iframes src is relative so the content for the modal is not found.

 One solution is to have Wicket App B use WebRequestCodingStrategy and
 encode all it's url's from relative to absolute.  This is not an
 optimal solution as I have no control over the multiple wicket apps
 that will be sourced in Wicket App A's iframe.

 Is there anyway to essentially namespace the Wicket.Window so B does
 not pick up A's objects?

I don't think so. And the modal window wasn't really meant to be able
to contain different/multiple applications.

-Matej

 Thanks

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket Modal Window - IFrame

2008-09-03 Thread sthomps

Matej,

Just to be clear - it's not that a modal window in Wicket App A is sourcing
content from Wicket App B.  It's that in this scenario Wicket App A has an
generic iframe - not wicket produced - who's src is Wicket App B.

The code here when run from B on modal creation pulls the Wicket.Window from
A which I don't want.  I want all modal content to be created in the iframe
document that Wicket App B is sourced in.

Wicket.Window.create = function(settings) {
var win;

if (typeof(settings.src) != undefined  Wicket.Browser.isKHTML() ==
false) {

try {
win = window.parent.Wicket.Window;
} catch (ignore) {
}
}


Matej Knopp-2 wrote:
 
 On Wed, Sep 3, 2008 at 10:13 PM, Shaun Thompson [EMAIL PROTECTED] wrote:
 I'm currently running into an issue with the wicket modal window.

 My situation is this.

 Wicket App A contains an IFrame sourcing Wicket App B.

 B has an Wicket IFrame modal window on one of it's pages.

 When Wicket.Window.create in modal.js is called from B, the
 Wicket.Window is pulled from window.parent.Wicket.Window which has
 been created in A.

 Now the remaining functions called on Wicket.Window are referencing
 functions from A modal.js

 This becomes a problem when the createDOM in modal.js is called.  The
 div tag containing the modal html from B is created in A's document.
 The iframes src is relative so the content for the modal is not found.

 One solution is to have Wicket App B use WebRequestCodingStrategy and
 encode all it's url's from relative to absolute.  This is not an
 optimal solution as I have no control over the multiple wicket apps
 that will be sourced in Wicket App A's iframe.

 Is there anyway to essentially namespace the Wicket.Window so B does
 not pick up A's objects?

 I don't think so. And the modal window wasn't really meant to be able
 to contain different/multiple applications.
 
 -Matej
 
 Thanks

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-Modal-Window---IFrame-tp19297181p19301522.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: Wicket Modal Window

2007-12-04 Thread michalb_cz


I had similar problem. I changed Button to AjaxButton and override onError()
and everything was alright. Note that you must call setOutputMarkupId(true)
on
components which use in another ajax-enabled component (like AjaxButton
is..).
In case below I must call feedback.setOutputMarkupId(true) where feedback =
new Feedback(feedback's wicket id).

like this:


Button btnOk = new AjaxButton(btnOk, form) {

@Override
protected void onSubmit(AjaxRequestTarget target, Form 
form) {
// something to do, when everything is ok and 
valid...
}

@Override
protected void onError(AjaxRequestTarget target, Form 
form) {   
target.addComponent(feedback); // show feedback 
message in feedback
component
}
};

This works ok.


Edi wrote:
 
 
 I have displayed a Wicket modal window(pop-up).
 
 it contains one text box with button.
 
 I have done date validation, if i give wrong date in text box, I have set
 the message in label.
 
 But label have not displayed.
 
 Please explain...
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-Modal-Window-tf4937030.html#a14147964
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: Wicket Modal Window

2007-12-04 Thread Edi

I am using 

AjaxSubmitLink saveButton = new AjaxSubmitLink(saveButton, this) 
{
and I have set 
setOutputMarkupId(true); and
setEscapeModelStrings(false);

But I am not able to display the message.

Could you tell me the reasons for not displaying the message in script?


michalb_cz wrote:
 
 
 I had similar problem. I changed Button to AjaxButton and override
 onError()
 and everything was alright. Note that you must call
 setOutputMarkupId(true) on
 components which use in another ajax-enabled component (like AjaxButton
 is..).
 In case below I must call feedback.setOutputMarkupId(true) where feedback
 =
 new Feedback(feedback's wicket id).
 
 like this:
 
 
 Button btnOk = new AjaxButton(btnOk, form) {
 
   @Override
   protected void onSubmit(AjaxRequestTarget target, Form 
 form) {
   // something to do, when everything is ok and 
 valid...
   }
   
   @Override
   protected void onError(AjaxRequestTarget target, Form 
 form) {   
   target.addComponent(feedback); // show feedback 
 message in feedback
 component
   }
   };
 
 This works ok.
 
 
 Edi wrote:
 
 
 I have displayed a Wicket modal window(pop-up).
 
 it contains one text box with button.
 
 I have done date validation, if i give wrong date in text box, I have set
 the message in label.
 
 But label have not displayed.
 
 Please explain...
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-Modal-Window-tf4937030.html#a14148748
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: Wicket Modal Window

2007-12-04 Thread michalb_cz

could you attach your code?
-- 
View this message in context: 
http://www.nabble.com/Wicket-Modal-Window-tf4937030.html#a14151291
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Wicket Modal Window

2007-12-03 Thread Edi


I have displayed a Wicket modal window(pop-up).

it contains one text box with button.

I have done date validation, if i give wrong date in text box, I have set
the message in label.

But label have not displayed.

Please explain...
-- 
View this message in context: 
http://www.nabble.com/Wicket-Modal-Window-tf4937030.html#a14131480
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]