but if you dont really care about the web2.0 kiddies you can do it the old
fashioned way as well - via javascript.

class addnewitempage extends webpage implements iheadercontributor {
 private boolean itemadded=false;

 form f=new form(..);
 f.add(new button("add") {
    onsubmit() { ....; itemadded=true; }
 }

 public void renderhead(response response) {
   if (itemadded) {
     response.addonwindowloadjavascript("window.top.leftframename.refresh
();");
     itemadded=false;
   }
 }
}

this assumes your additem page navigates back to itself. if not, adjust
accordingly.

-igor


On 4/20/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:

* Sridhar.N:

> I have a user interface which is having 2 frames.

Frames are not really Web 2.0, I would use a SplitPane:


http://www.demay-fr.net:8080/WCD13/app/?wicket:bookmarkablePage=%3Awicket.contrib.dojo.examples.SplitContainerSample
--
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to