import fr.openwide.core.wicket.more.markup.html.basic.PlaceholderBehavior;
import fr.openwide.core.wicket.more.model.GenericEntityModel;
public abstract class LinksTemplate extends MainTemplate {
private static final long serialVersionUID = -2979443021509594346L;
public static final IPageLinkDescriptor linkDescriptor(IModel<? extends Class<? extends Page>> pageModel, IModel<User> userModel) {
<BUG>return new LinkDescriptorBuilder()

.page(pageModel)</BUG>
.map(CommonParameters.ID, userModel, User.class).mandatory()
<BUG>.build();
}</BUG>
public LinksTemplate(PageParameters parameters) {

import fr.openwide.core.wicket.more.markup.html.basic.PlaceholderBehavior;
import fr.openwide.core.wicket.more.model.GenericEntityModel;
public abstract class LinksTemplate extends MainTemplate {
private static final long serialVersionUID = -2979443021509594346L;
public static final IPageLinkDescriptor linkDescriptor(IModel<? extends Class<? extends Page>> pageModel, IModel<User> userModel) {
return LinkDescriptorBuilder.start()
.map(CommonParameters.ID, userModel, User.class).mandatory()
.page(pageModel);
}
public LinksTemplate(PageParameters parameters) {
