wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Palka <marcin.pa...@gmail.com>
Subject Re: InvalidUrlException thrown while clicking row in a InMethod DataGrid
Date Sun, 03 Jan 2010 19:42:17 GMT

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


Mime
View raw message