Yes, this is a known issue with refreshing dataview with toolbars
using ajax. The problem is that toolbars use non-invalid markup which
works fine with regular requests, but doesn't work using ajax.

-Matej

On 4/9/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> hi
> i used a defaultdatatable to show the data list , and add some ajax link in 
> it to open some modal window to show detail.
> the toptoolbar will dispeared when these modal window closed, it's only 
> happen in firefox, work well in IE 6.
> so ,is there any one can help me ? the below is my code.
>
> ps. the crypted url and customed error page cannot work in the current 2.0 
> snapshot when i used modal window.
>
> it' seem that the current 2.0 is very not stable for some ajax behavior. no 
> body care it again?
>
>
> table.addTopToolbar(new IToolbarFactory() {
>    public AbstractToolbar newToolbar(WebMarkupContainer parent,
>      String id, DataTable dataTable) {
>     FilterToolbar tt = new FilterToolbar(parent, id, instance, dataProvider);
>     tt.setOutputMarkupId(true);
>     return tt;
>    }
>   });
>  table.setOutputMarkupId(true);
>
> setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {
>    public void onClose(AjaxRequestTarget target) {
>         target.addComponent(table);
>      }
>   });
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to