On 6/8/07, Mark Derricutt <[EMAIL PROTECTED]> wrote:
Hey all,
Hey Mark,
Just catching up on my wicket-foo and noticed that the wiki page on using borders is invalid for 1.3 as the add/removeAll/replace/autoAdd methods are all final. http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html
Not so sure what to do with this. I think we should regard such use of borders as outdated, and that for such templating markup inheritance should be used. I updated the 'org.apache.wicket.examples.template' example in Wicket examples to show how you can achieve roughly the same things using markup inheritance and borders. However, having a base page with a border like the example states doesn't strike me as a good way to do things. I know we've been promoting that in the past, but ever since we had markup inheritence, we've been saying that that is a better technique to use. My 2c. I would appreciate it if someone else could update the WIKI, maybe taking a look at the templates example. Cheers, Eelco