.map(CommonParameters.ID, userModel, User.class).mandatory()
<BUG>.build();
}</BUG>
private <U extends User> IPageLinkDescriptor userDescription(IModel<? extends Class<? extends Page>> pageClassModel,
<BUG>IModel<U> userModel, Class<U> userClass, IModel<Page> sourcePageModel) {
return builder()
.page(pageClassModel)</BUG>
.map(CommonParameters.ID, userModel, userClass).mandatory()
.map(CommonParameters.SOURCE_PAGE_ID, sourcePageModel, Page.class).optional()
<BUG>.build();
}</BUG>
public static final LinkGeneratorFactory<User> userDescriptionLinkGeneratorFactory() {

.map(CommonParameters.ID, userModel, User.class).mandatory()
.page(ReadOnlyModel.of(userModel, USER_TO_FICHE_CLASS_FUNCTION));
}
private <U extends User> IPageLinkDescriptor userDescription(IModel<? extends Class<? extends Page>> pageClassModel,
IModel<U> userModel, Class<U> userClass, IModel<Page> sourcePageModel) {
return LinkDescriptorBuilder.start()
.map(CommonParameters.ID, userModel, userClass).mandatory()
.map(CommonParameters.SOURCE_PAGE_ID, sourcePageModel, Page.class).optional()
.page(pageClassModel);
}
public static final LinkGeneratorFactory<User> userDescriptionLinkGeneratorFactory() {
