Re: [Wicket-user] how do refresh the repeatview after close ajax modal window?

2007-03-16 Thread tooy li(Gmail)
  hi, I know i should add the parent to ajax request target, but it cannot work.
look the below code, please check my might fault
  WebMarkupContainer listContainer = new WebMarkupContainer(form, 
listContainer);
  RepeatingView listView = new RepeatingView(listContainer, dataList);

setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {
   public void onClose(AjaxRequestTarget target) {
  target.addComponent(listContainer); 
   }
  });


 Message: 1
 Date: Thu, 15 Mar 2007 19:04:13 +0100
 From: Matej Knopp [EMAIL PROTECTED]
 Subject: Re: [Wicket-user] how do refresh the repeatview after close
 ajax modal window?
 To: wicket-user@lists.sourceforge.net
 Message-ID:
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 To refresh a repeater, you have to add it's parent (e.g.
 webmarkupcontainer) to ajax request target. Repeater itself has no
 markup.
 
 -Matej
 
 On 3/15/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
 for the defaultdatatable ,i only need add a parent container of datatable 
 into the target of  ajax modal window.
 But for the repeat view ,it cannot work !!. I also want to when the gridview 
 can work well in 2.0 version
 I used 2.0 version snapshot
 thx.
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] how do refresh the repeatview after close ajax modal window?

2007-03-16 Thread Matej Knopp
listContainer.setOutputMarkupId(true);

On 3/16/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
   hi, I know i should add the parent to ajax request target, but it cannot 
 work.
 look the below code, please check my might fault
   WebMarkupContainer listContainer = new WebMarkupContainer(form, 
 listContainer);
   RepeatingView listView = new RepeatingView(listContainer, dataList);

 setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {
public void onClose(AjaxRequestTarget target) {
   target.addComponent(listContainer);
}
   });


  Message: 1
  Date: Thu, 15 Mar 2007 19:04:13 +0100
  From: Matej Knopp [EMAIL PROTECTED]
  Subject: Re: [Wicket-user] how do refresh the repeatview after close
  ajax modal window?
  To: wicket-user@lists.sourceforge.net
  Message-ID:
  [EMAIL PROTECTED]
  Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
  To refresh a repeater, you have to add it's parent (e.g.
  webmarkupcontainer) to ajax request target. Repeater itself has no
  markup.
 
  -Matej
 
  On 3/15/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
  for the defaultdatatable ,i only need add a parent container of datatable 
  into the target of  ajax modal window.
  But for the repeat view ,it cannot work !!. I also want to when the 
  gridview can work well in 2.0 version
  I used 2.0 version snapshot
  thx.
  -
  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.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] how do refresh the repeatview after close ajax modal window?

2007-03-15 Thread tooy li(Gmail)
for the defaultdatatable ,i only need add a parent container of datatable into 
the target of  ajax modal window.
But for the repeat view ,it cannot work !!. I also want to when the gridview 
can work well in 2.0 version
I used 2.0 version snapshot
thx.  
-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] how do refresh the repeatview after close ajax modal window?

2007-03-15 Thread Matej Knopp
To refresh a repeater, you have to add it's parent (e.g.
webmarkupcontainer) to ajax request target. Repeater itself has no
markup.

-Matej

On 3/15/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
 for the defaultdatatable ,i only need add a parent container of datatable 
 into the target of  ajax modal window.
 But for the repeat view ,it cannot work !!. I also want to when the gridview 
 can work well in 2.0 version
 I used 2.0 version snapshot
 thx.
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user