doesnt Label do this already? -igor
On Wed, May 7, 2008 at 12:57 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > Hi all, > I have this in several components: > @Override > protected void onComponentTagBody(MarkupStream markupStream, > ComponentTag openTag) { > String value; > if (getModel() != null) { > value = getModelValue(); > } else { > value = ""; > } > replaceComponentTagBody(markupStream, openTag, > Consts.getTableBody(getMarkupId(), > value)); > } > > I want to put it in one location such as in an AbstractBehavior. > Unfortunately, this behavior doesn't have this (or something like this) > method. > > Is there a way for creating a behavior for the onComponentTagBody or > replaceComponentTagBody? > > thanks > > -- > Eyal Golan > [EMAIL PROTECTED] > > Visit: http://jvdrums.sourceforge.net/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]