Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-04 Thread Eelco Hillenius
On 4/4/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > webmarkupcontainer c=new webmarkupcontainer(); > form f=new form(); > c.add(form); > form.add(new button() { onsubmit() { c.replaceWith(new confirmpanel();}} Also described here: http://chillenious.wordpress.com/2006/11/30/ask-confirmation-on-l

Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-04 Thread Igor Vaynberg
webmarkupcontainer c=new webmarkupcontainer(); form f=new form(); c.add(form); form.add(new button() { onsubmit() { c.replaceWith(new confirmpanel();}} -igor On 4/4/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Thanks Igor I've succesfully implemented the repeater. However, regarding the c

Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-04 Thread ZedroS Schwart
Thanks Igor I've succesfully implemented the repeater. However, regarding the confirmation dialog, your hint has lead me to use the "form.setVisible(false)" and then the info(...) to display my confirmation message. Regarding your solution of a panel, however, could you please just provide a bit

Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-03 Thread Igor Vaynberg
On 4/3/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: How can I show this page without breaking the menu (with the right entry being unable) ? make confirmation dialog be a panel rather then a page. so just replace a part of the page that has your form with the confirmation panel. On another

[Wicket-user] Template page, menu and confirmations pages

2007-04-03 Thread ZedroS Schwart
Hi I've a template for my pages around a boxborder for the content and a list for the links to the pages. All the links are set using BookmarkablePageLink in an html list with "setAutoEnable(true)" so I don't have to mess around with them. However, I'm not stuck with the following use case : hav