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

[Wicket-user] Template page

2006-02-26 Thread Nili Adoram
Hi All, What is the best practice to create a template page containing header, footer, menu etc. using Wicket? Thanks Nili --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and

Re: [Wicket-user] Template page

2006-02-26 Thread Juergen Donnerstag
You may either used Border (border page; see library example) or markup inheritance (see template example), which seems to be a bit easier for most users. Juergen On 2/26/06, Nili Adoram <[EMAIL PROTECTED]> wrote: > Hi All, > What is the best practice to create a template page containing header,