Use a wrapping model?

On Wed, Oct 14, 2009 at 2:38 PM, Steve Lowery
<slow...@gatessolutions.com> wrote:
> We have a component that extends Label we've written to replace the body of
> the component with N/A, unknown, or whatever resource we give it when its
> model object is null (by overriding onComponentTagBody).  I'd like to pull
> this out into a behavior, but can't seem to do it by overriding
> beforeRender(), onRendered(), or onComponentTag() in the behavior.
>
> I can write to the response in the behavior before and after the components
> tag, but not in its body.
>
> Anybody know of a way to do this?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to