You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Marcin Palka <ma...@gmail.com> on 2010/01/03 20:42:17 UTC

Re: InvalidUrlException thrown while clicking row in a InMethod DataGrid

Hi,

Thanks for your reply. I believe these callbacks are not mandatory. Your
workaround works fine but it also causes the grid selection to disappear
which I don't want to happen.  Thanks to your tip I found another
workaround. This is to use the CloseButtonCallback to hide the iframe before
closing the modal window. This prevents the exception from being thrown.
Anyway the core reason of the problem still remains. Further testing shown
that only the row selection causes the exception. Other operations on the
grid like sorting, switching pages work just fine.

br,
Marcin Palka


Juan Kipes wrote:
> 
> I think you forgot this method in the modal
> 
> modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {
> 
>         });
> 
> 
>         modal.setWindowClosedCallback(new
> ModalWindow.WindowClosedCallback()
> {
> 
>         });
> 
> I attached the modified quickstar
> 

-- 
View this message in context: http://old.nabble.com/InvalidUrlException-thrown-while-clicking-row-in-a-InMethod-DataGrid-tp27001559p27004581.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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