nothing really jumps out at me. create a quickstart and attach it to a jira
issue.

-igor

On Fri, Jul 17, 2009 at 1:45 PM, Fernando Wermus
<fernando.wer...@gmail.com>wrote:

> Igor,
>    Here it is: the border is in the page.
>
> <wicket:extend>
>    <div wicket:id="tabs" />
>    <div wicket:id="border">
>
>        <span wicket:id="label">label contents here</span>
>    </div>
> </wicket:extend>
>
> On Fri, Jul 17, 2009 at 1:34 PM, Igor Vaynberg <igor.vaynb...@gmail.com
> >wrote:
>
> > you dont have <div wicket:id="border"></div> in PaginaTestBorder.html
> >
> > -igor
> >
> > On Fri, Jul 17, 2009 at 1:30 PM, Fernando
> > Wermus<fernando.wer...@gmail.com> wrote:
> > > What am I doing wrong in this very simple example?
> > >
> > >
> > > public class PaginaTestBorder  extends AuthenticatedWebPage{
> > >    public PaginaTestBorder(){
> > >        add(new EmptyPanel("tabs"));
> > >        MyBorder border = new MyBorder("border");
> > >        border.add(new Label("label", "I am the label"));
> > >        add(border);
> > >    }
> > > }
> > >
> > >
> > > MyBorder.html
> > > <div>
> > >  Everything outside of the &lt;wicket:border&gt; tags will be ignored.
> > >  Might be handy as preview code.
> > >    <wicket:border>
> > >     before the border contents <br />
> > >      <wicket:body/>
> > >     <br />after the border contents <br />
> > >    </wicket:border>
> > > </div>
> > >
> > >
> > >
> > > class MyBorder extends Border
> > > {
> > >
> > >   public MyBorder(String id)
> > >   {
> > >       super(id);
> > >   }
> > > }
> > >
> > > WicketMessage: The component(s) below failed to render. A common
> > > problem is that you have added a component in code but forgot to
> > > reference it in the markup (thus the component will never be
> > > rendered).
> > >
> > > 1. [MarkupContainer [Component id = border]]
> > > 2. [MarkupContainer [Component id = _body]]
> > > 3. [Component id = label]
> > >
> > > Root cause:
> > >
> > > org.apache.wicket.WicketRuntimeException: The component(s) below
> > > failed to render. A common problem is that you have added a component
> > > in code but forgot to reference it in the markup (thus the component
> > > will never be rendered).
> > >
> > > 1. [MarkupContainer [Component id = border]]
> > > 2. [MarkupContainer [Component id = _body]]
> > > 3. [Component id = label]
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Fernando Wermus.
> > >
> > > www.linkedin.com/in/fernandowermus
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>

Reply via email to