Class-only inheritance

2011-01-26 Thread DCarr
Hi, Is it possible to have class inheritance without markup inheritance? I would like a wicket-aware base class (with an associated markup file) with derived classes supplying data (e.g.. BaseClass with an 'abstract protected String getName()') and no markup files (or XML files). I

Re: Class-only inheritance

2011-01-26 Thread DCarr
. -igor On Wed, Jan 26, 2011 at 9:13 AM, DCarr listobser...@gmail.com wrote: Hi,    Is it possible to have class inheritance without markup inheritance?    I would like a wicket-aware base class (with an associated markup file) with derived classes supplying data (e.g.. BaseClass

Re: Class-only inheritance

2011-01-26 Thread DCarr
May have been due to some stale built files or a misconfiguration someplace. Restarted from scratch in a new project and now works as desired. Thanks, DC DCarr wrote: Hm - I'm doing something wrong, then. The BaseClass.html does not have a wicket:child in it, and I do get that second

Re: Localized PropertyTreeColumn header string

2010-02-27 Thread DCarr
Anyone have any hints/tips/wiki page references, or are column headers really not internationalizable? Thanks, Doug. DCarr wrote: Hi, Is there a recommended way to set the header string in a PropertyTreeColumn when that string should come from a resource file? It doesn't take a model

Re: Localized PropertyTreeColumn header string

2010-02-27 Thread DCarr
newhreader(parent, id) { label l=super.newheader(parent,id); l.setdefaultmodelobject(getstring(l.getdefaultmodelobjectasstring()); } } -igor On Sat, Feb 27, 2010 at 5:47 AM, DCarr listobser...@gmail.com wrote: Anyone have any hints/tips/wiki page references, or are column

Localized PropertyTreeColumn header string

2010-02-25 Thread DCarr
Hi, Is there a recommended way to set the header string in a PropertyTreeColumn when that string should come from a resource file? It doesn't take a model, so the load cannot be deferred until later; using getLocalizer().getString(...) results in: -WARN::org.apache.wicket.Localizer: