Hi

I'm using a behaviour to add component's label like this :
public class AddLabelBehavior extends AbstractBehavior
{
    @Override
    public void beforeRender(Component component)
    {
        super.beforeRender(component);
        component.getResponse().write(new
StringResourceModel(component.getId(),component,null,component.getId()).getString()
+ " : ");
    }
}

However, I would like to add as well a "dedicated feedbackpanel" just after
the component in question. 

In short, it's just a component that I would like to add (both in the Java
code and html rendered) just after my component.

Is it possible ? If so, how ?

NB : I guess it should use onRendered(Component component) but I don't see
how to add a component.

Thanks in advance

best, 
zedros
-- 
View this message in context: 
http://www.nabble.com/How-to-add-a-component-in-a-behavior---tp21758993p21758993.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to