Hi,

On Wed, Dec 21, 2011 at 11:58 AM, Adrian Wiesmann <awiesm...@somap.org> wrote:
> Hello list
>
> We built a rendering engine in Wicket 1.4 which takes a UI description from
> an XML file and builds an HTML representation from that. Everything worked
> fine in Wicket 1.4.x.
>
> Now I tried to switch to Wicket 1.5.3. Without changing anything from the
> rendering part, I now get this error:
>
>> 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).

This error means that Wicket sees these components only in the Java
component tree but doesn't see them in the markup tree.
How exactly do you pass the generated markup to Wicket ?

>
> Below that message I get a list with all components.
>
> We mostly use ListViews to build the UI:
>
> ListView<ObjectBase> listView = new ListView<ObjectBase>("eachGuiElem",
> formRoot.getChildren())
> {
>        @Override
>        protected void populateItem(ListItem<ObjectBase> item)
>        {
>                ObjectBase ob = item.getModelObject();
>
>                item.add(new Panel(...));
>        }
> };
>
> So here is my question. What did change with Wicket 1.5? How can I make our
> renderer work again? Where should I look at to find out whats wrong?
>
> Thanks,
> Adrian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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

Reply via email to