Hello!i´m doing a call to the son class, and and show the error:
WicketMessage: Base markup of inherited markup not found. Component class:
com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for
org.apache.wicket.util.resource.Resource to get a list of all filenames
tried.
Root cause:
org.apache.wicket.markup.MarkupNotFoundException: Base markup of inherited
markup not found. Component class:
com.consisint.frontend.pages.ThirdByRolPolicy Enable debug messages for
org.apache.wicket.util.resource.Resource to get a list of all filenames
tried.
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:98)
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
at
org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:55)
The classes is:
public class ThirdByRolMain extends Panel {
protected WebMarkupContainer wmc;
protected Form formThird;
protected Object object;
protected DataView<ThirdModel> dataView; // data table
protected SortableThirdProvider thirdProvider; // data model
protected List<String> partAdds = new ArrayList<String>();
protected Label numberRowLabel;
protected FeedbackPanel feedback;
public ThirdByRolMain(final String id,final Object object,final String
idClass, final Role role,final boolean isClient,final Policy pol){
super(id);
System.out.println("id padreeeeee= " + id);
wmc = new WebMarkupContainer( "wmc" ) {
@Override
public boolean isTransparentResolver()
{
return true;
}};
add(wmc);
// formThird= new Form("form");
this.object=object;
WebMarkupContainer containerDetailSearch = new
WebMarkupContainer("detailSearch");
containerDetailSearch.setOutputMarkupId(true);
add(containerDetailSearch);
}
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:wicket="http://www.w3.org/1999/XSL/Transform">
<head>
</head>
<body>
<wicket:panel>
<div wicket:id="wmc"><wicket:child> </wicket:child></div>
<div wicket:id="detailSearch"></div>
</wicket:panel>
</body>
</html>
public class ThirdByRolPolicy extends ThirdByRolMain{
private ConfirmationAnswer isSure;
private ModalDialog dataBasicModalDialog,modalDialogSecurity;
private boolean isEmpty=true;
private ValueMap properties = new ValueMap();
private String idThirdOld="";
public ThirdByRolPolicy(final String id,final Object object,final String
idClass, final Role role,final boolean isClient,final Policy pol){
super(id, object,idClass,role, isClient, pol);
Form formThird = new Form("thirdForm");
wmc.add(formThird);
}
}
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:wicket="http://www.w3.org/1999/XSL/Transform">
<wicket:extend>
<form wicket:id="thirdForm"></form>
</wicket:extend>
</html>
Help me please, thank you!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055355.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]