Hmm, I can't seem to get to the problem myself.

Last cause: Failed to find markup file associated. ActionPanel: [ActionPanel
[Component id = actions]]

Root cause:org.apache.wicket.markup.MarkupNotFoundException: Failed to find
markup file associated. ActionPanel: [ActionPanel [Component id = actions]]    
at
org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.getMarkup(PanelMarkupSourcingStrategy.java:63)
    
at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:464)    
at
org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:669)
    
at
org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:50)
    
at org.apache.wicket.Component.internalRenderComponent(Component.java:2584)    
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1537)

etc

The SimplePage from the examples has the problem. 
Java:

item.add(new ActionPanel("actions", item.getModel()));

HTML:
<td>[actions]</td>

The BasePage.java has a class 

        class ActionPanel extends Panel
        {
                /**
                 * @param id
                 *            component id
                 * @param model
                 *            model for contact
                 */
                public ActionPanel(String id, IModel<Contact> model)
                {
                        super(id, model);
                        add(new Link("select")
                        {
                                @Override
                                public void onClick()
                                {
                                        selected = 
(Contact)getParent().getDefaultModelObject();
                                }
                        });
                }
        }

Anyone got any ideas?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p3729627.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to