AjaxLink and target="_blank"

2011-06-06 Thread Tier
Hello,

My question is there any possibility to use AjaxLink with html markup
target="_blank"?
In my code wicket ignore this, and redirect to current tab.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxLink-and-target-blank-tp3576635p3576635.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: AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-05 Thread Tier
Thanks, it's help me with my problem.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-in-ModalWindow-throws-Submit-Button-is-not-visible-exception-tp3570446p3576210.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



AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-03 Thread Tier
Hello,

I have ModalWindow with form inside

html:

wicket:panel>

   ...

  




java:

add(okButton = new AjaxSubmitLink("closeOK", this)  
{
@Override
protected void onSubmit(AjaxRequestTarget target, 
Form form)
{
save();
window.close(target);
}
});

If I press button few times before it closes - it wicket will throw an
exception 

org.apache.wicket.WicketRuntimeException: Submit Button closeOK
(path=centralPanel:offerList:rejectOfferWindow:content:offerForm:closeOK) is
not visible
 at org.apache.wicket.markup.html.form.Form$2.component(Form.java:620)

Any ideas how fix this problem?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-in-ModalWindow-throws-Submit-Button-is-not-visible-exception-tp3570229p3570229.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



AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-03 Thread Tier
Hello,

I have ModalWindow with form inside

html:

wicket:panel>

   ...

  




java:

add(okButton = new AjaxSubmitLink("closeOK", this)  
{
@Override
protected void onSubmit(AjaxRequestTarget target, 
Form form)
{
save();
window.close(target);
}
});

If I press button few times before it closes - it wicket will throw an
exception 

org.apache.wicket.WicketRuntimeException: Submit Button closeOK
(path=centralPanel:offerList:rejectOfferWindow:content:offerForm:closeOK) is
not visible
 at org.apache.wicket.markup.html.form.Form$2.component(Form.java:620)

Any ideas how fix this problem?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-in-ModalWindow-throws-Submit-Button-is-not-visible-exception-tp3570446p3570446.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