It sounds like a FeedbackPanel with a component filter that filters all components annotated somehow to be a "footnote" will do the job.
On Mon, Sep 19, 2011 at 11:15 AM, Christian Huber <[email protected]> wrote: > Hi Dan, > > thanks for your answer. > > To be a bit more clear about what I want, I would like (spoken simplified) > to add a footenote to a label like "Some text <sup>1</sup>" and > automatically have the footbnote text appear at the bottom of the > corresponding page. > > Right now I have a Label subclass to do this (and a bit more) but am moving > he code to a behavior and will also try to create an appropriate resolver to > allow the usage of a wicket:footnote tag. But I thougth I'd ask if there > isn't already something like it out there. > > Cheers, Chris > > The Sanity Resort <http://sanityresort.blogspot.com/> > > Am 18.09.2011 22:57, schrieb Dan Retzlaff: >> >> Hi Christian, >> >> I don't understand the particular hierarchy placement you have in mind, >> but >> I'd guess that you could write a Behavior that does it. Behaviors get >> callbacks for component tags, rendering events, etc. >> >> Dan >> >> On Sun, Sep 18, 2011 at 12:12 PM, Christian >> Huber<[email protected]>wrote: >> >>> Hi all, >>> >>> I was wondering if there is something like a footnote component/behavior >>> or >>> similar. A mechanism that allows you to easily add a footnote to a label >>> and >>> the corresponding footnote text to one of it's parents in a generic way. >>> >>> I know I could just add a footnote to a label and another label >>> containing >>> the footnote text but that does not work in a generic way. >>> >>> Cheers, >>> Chris >>> >>> -- >>> The Sanity >>> Resort<http://sanityresort.blogspot.**com/<http://sanityresort.blogspot.com/> > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
