You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by pmaks <pi...@live.com> on 2012/12/18 14:17:27 UTC

Problem regarding ajax refresh contents of ModalWindow containing inmethod-datagrid

Hi All,

I'm facing a problem, that is related to refresh inmethod-datagrid in wicket
modal window.
Grid shows well at first time, however on refreshing 2nd time. SelectAll
checkbox in the header of table just stops working.
I think the reason for it is improper markup state of modal dialog after 2nd
time. see the attachment.

Affected Browsers: *Firefox & IE*
OK Browsers: *Chrome*

I'm attaching the sample code & screenshot of firebug HTML viewer elements
to show state after initial showing of window and after 2nd refresh of the
panel.
Running sample code requires you to wait for 1 mins for initial 
Please help me out.

<http://apache-wicket.1842946.n4.nabble.com/file/n4654883/after1st.png> 


<http://apache-wicket.1842946.n4.nabble.com/file/n4654883/after2nd.png> 

sample app source code.....
testGrid.zip
<http://apache-wicket.1842946.n4.nabble.com/file/n4654883/testGrid.zip>  
Thanks




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-regarding-ajax-refresh-contents-of-ModalWindow-containing-inmethod-datagrid-tp4654883.html
Sent from the Users forum 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


Re: Problem regarding ajax refresh contents of ModalWindow containing inmethod-datagrid

Posted by pmaks <pi...@live.com>.
Hi,

Thanks for reply. I can not use wicket 6, since the problem is part of
bigger project, where everything else  except this is fine.
Anyway I've solved this by using "stop();" on ajax timer and then again
attach it to same component in window close callback, so that future updates
should work properly.
It is working fine for me on every browser.

Thanks




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-regarding-ajax-refresh-contents-of-ModalWindow-containing-inmethod-datagrid-tp4654883p4654914.html
Sent from the Users forum 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


Re: Problem regarding ajax refresh contents of ModalWindow containing inmethod-datagrid

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Can you try with WIcket 6.4.0 and latest InMethod-Grid from
WicketStuff-Core master branch ?
There are some bug fixes in the grid related to "Select All" which may
affect this behavior.

WicketStuff Core 6.4.0 will be released soon so earlier feedback is
appreciated!



On Tue, Dec 18, 2012 at 3:17 PM, pmaks <pi...@live.com> wrote:

> Hi All,
>
> I'm facing a problem, that is related to refresh inmethod-datagrid in
> wicket
> modal window.
> Grid shows well at first time, however on refreshing 2nd time. SelectAll
> checkbox in the header of table just stops working.
> I think the reason for it is improper markup state of modal dialog after
> 2nd
> time. see the attachment.
>
> Affected Browsers: *Firefox & IE*
> OK Browsers: *Chrome*
>
> I'm attaching the sample code & screenshot of firebug HTML viewer elements
> to show state after initial showing of window and after 2nd refresh of the
> panel.
> Running sample code requires you to wait for 1 mins for initial
> Please help me out.
>
> <http://apache-wicket.1842946.n4.nabble.com/file/n4654883/after1st.png>
>
>
> <http://apache-wicket.1842946.n4.nabble.com/file/n4654883/after2nd.png>
>
> sample app source code.....
> testGrid.zip
> <http://apache-wicket.1842946.n4.nabble.com/file/n4654883/testGrid.zip>
> Thanks
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Problem-regarding-ajax-refresh-contents-of-ModalWindow-containing-inmethod-datagrid-tp4654883.html
> Sent from the Users forum 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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>