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/

Reply via email to