Re: Modal Window does not open second time

2012-02-24 Thread mjop
Yes, with the latest version of Wicket (1.5.4) it works fine.
 Thanks Igor

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Modal-Window-does-not-open-second-time-tp3824184p4417206.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: Modal Window does not open second time

2012-01-18 Thread Igor Vaynberg
try with latest snapshot

-igor

On Wed, Jan 18, 2012 at 3:05 AM, mjop  wrote:
> I have the same problem. Really nobody doesn't know the solution?
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Modal-Window-does-not-open-second-time-tp3824184p4306315.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
>

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



Re: Modal Window does not open second time

2012-01-18 Thread mjop
I have the same problem. Really nobody doesn't know the solution?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Modal-Window-does-not-open-second-time-tp3824184p4306315.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



Modal Window does not open second time

2011-09-19 Thread vov
Hi All,
when I tried to migrate to wicket 1.5 I found strange things.
One of them is - modal window does not show second time.
In sample below - click to "show" -> on opened modal window click to "close"
-> second click to "show" does not make effect.

//Base page:
public ShowCloseTestPage()
  {
final ModalWindow window = new ModalWindow("window");
window.setPageCreator(new ModalWindow.PageCreator()
{
  @Override
  public Page createPage()
  {
return new ShowCloseContentTestPage(window);
  }
});
add(window);
add(new AjaxLink("show")
{
  @Override
  public void onClick(AjaxRequestTarget target)
  {
window.show(target);
  }
});
  }

//Modal Window page:
public ShowCloseContentTestPage(final ModalWindow window)
  {
add(new AjaxLink("close")
{
  @Override
  public void onClick(AjaxRequestTarget target)
  {
window.close(target);
  }
});
  }

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Modal-Window-does-not-open-second-time-tp3824184p3824184.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