Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
pl.fhframework.docs.converter.ConverterDocumentationForm__View Maven / Gradle / Ivy
package pl.fhframework.docs.converter;
public class ConverterDocumentationForm__View extends pl.fhframework.docs.converter.ConverterDocumentationForm
{
@org.springframework.beans.factory.annotation.Autowired private pl.fhframework.format.FhConversionService __conversionService;
@org.springframework.beans.factory.annotation.Autowired private pl.fhframework.core.i18n.MessageService __messagesService;
@org.springframework.beans.factory.annotation.Autowired private pl.fhframework.core.rules.service.RulesService __ruleService;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_OutputLabel_1;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1;
pl.fhframework.model.forms.SelectOneMenu u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1;
pl.fhframework.model.forms.SelectOneMenu u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1;
pl.fhframework.model.forms.InputText u_exampleCode_1;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1;
pl.fhframework.model.forms.InputText u__Form_PanelGroup1_PanelGroup2_InputText1_1;
pl.fhframework.model.forms.OutputLabel u_boundUserLabel1_1;
pl.fhframework.model.forms.OutputLabel u_boundUserLabel2_1;
pl.fhframework.model.forms.OutputLabel u_boundUserLabel3_1;
pl.fhframework.model.forms.InputText u_exampleCode2_1;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup3_1;
pl.fhframework.model.forms.InputText u_exampleModelFormatterCode_1;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup4_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1;
pl.fhframework.model.forms.InputText u_exampleFormatterCode_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1;
pl.fhframework.model.forms.InputText u_exampleFormatterCode2_1;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_1;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel1_1;
pl.fhframework.model.forms.SelectOneMenu u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel2_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel3_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel4_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel5_1;
pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel6_1;
pl.fhframework.model.forms.InputText u_exampleCode3_1;
pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_PanelGroup_1;
pl.fhframework.model.forms.InputText u_exampleModelFormatterCode2_1;
pl.fhframework.model.forms.AvailabilityConfiguration a_availabilityConfiguration_1;
pl.fhframework.model.forms.Model a_model_1;
public static final java.util.Set ____actions = new java.util.LinkedHashSet<>();
static {
}
public static final java.util.Set ____variants = new java.util.LinkedHashSet<>();
static {
}
public static final java.util.Set ____includes = new java.util.LinkedHashSet<>();
static {
}
public ConverterDocumentationForm__View()
{
initCmp_this();
setupAccessibility();
}
private pl.fhframework.format.FhConversionService __getConversionService() { return __conversionService; }
private pl.fhframework.core.i18n.MessageService __getMessageService() { return __messagesService; }
private ConverterDocumentationForm__View getThisForm() { return this; }
private void initCmp_this() {
this.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_type_conversion}",
null,
String.class, /* target type */
this::__getConversionService,
this::getThis_labelModelBinding, /* getter */
null /* setter */
));
this.setDeclaredContainer("mainForm");
this.setHideHeader(false);
this.setFocusFirstElement(true);
this.setLayout(pl.fhframework.model.forms.attribute.Layout.VERTICAL);
this.setModal(false);
this.setFormType(pl.fhframework.model.forms.attribute.FormType.STANDARD);
this.setModalSize(pl.fhframework.model.forms.attribute.FormModalSize.REGULAR);
this.setXmlns("http://fh.asseco.com/form/1.0");
this.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
this.setId("documentationHolder");
this.setInvisible(false);
u__Form_PanelGroup1_1 = new pl.fhframework.model.forms.PanelGroup(this);
this.addSubcomponent(u__Form_PanelGroup1_1);
u__Form_PanelGroup1_1.setGroupingParentComponent(this);
initCmp_u__Form_PanelGroup1_1(u__Form_PanelGroup1_1);
u__Form_PanelGroup2_1 = new pl.fhframework.model.forms.PanelGroup(this);
this.addSubcomponent(u__Form_PanelGroup2_1);
u__Form_PanelGroup2_1.setGroupingParentComponent(this);
initCmp_u__Form_PanelGroup2_1(u__Form_PanelGroup2_1);
a_availabilityConfiguration_1 = new pl.fhframework.model.forms.AvailabilityConfiguration(this);
this.setAvailabilityConfiguration(a_availabilityConfiguration_1);
initCmp_a_availabilityConfiguration_1(a_availabilityConfiguration_1);
a_model_1 = new pl.fhframework.model.forms.Model(this);
this.setModelDefinition(a_model_1);
initCmp_a_model_1(a_model_1);
}
// $.fh.docs.converter_type_conversion
private String getThis_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_type_conversion");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getThis_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_1) {
u__Form_PanelGroup1_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selectonemenu_bound_to_collection}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_1.setCollapsible(false);
u__Form_PanelGroup1_1.setBorderVisible(false);
u__Form_PanelGroup1_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup1_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup1_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup1_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup1_1.setWidth("md-12");
u__Form_PanelGroup1_1.setId("_Form_PanelGroup1");
u__Form_PanelGroup1_1.setInvisible(false);
u__Form_PanelGroup1_OutputLabel_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_OutputLabel_1);
u__Form_PanelGroup1_OutputLabel_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_OutputLabel_1(u__Form_PanelGroup1_OutputLabel_1, u__Form_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_1 = new pl.fhframework.model.forms.PanelGroup(this);
u__Form_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup1_1(u__Form_PanelGroup1_PanelGroup1_1, u__Form_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup2_1 = new pl.fhframework.model.forms.PanelGroup(this);
u__Form_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup2_1);
u__Form_PanelGroup1_PanelGroup2_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup2_1(u__Form_PanelGroup1_PanelGroup2_1, u__Form_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup3_1 = new pl.fhframework.model.forms.PanelGroup(this);
u__Form_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup3_1);
u__Form_PanelGroup1_PanelGroup3_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup3_1(u__Form_PanelGroup1_PanelGroup3_1, u__Form_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup4_1 = new pl.fhframework.model.forms.PanelGroup(this);
u__Form_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup4_1);
u__Form_PanelGroup1_PanelGroup4_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup4_1(u__Form_PanelGroup1_PanelGroup4_1, u__Form_PanelGroup1_1);
u__Form_PanelGroup1_1.setGroupingParentComponent(this);
}
// $.fh.docs.converter_selectonemenu_bound_to_collection
private String getU__Form_PanelGroup1_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_selectonemenu_bound_to_collection");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_OutputLabel_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_OutputLabel_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_1) {
u__Form_PanelGroup1_OutputLabel_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_OutputLabel_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_conversion_is_mechanism_which_will}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_OutputLabel_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_OutputLabel_1.setWidth("md-12");
u__Form_PanelGroup1_OutputLabel_1.setId("_Form_PanelGroup1_OutputLabel");
u__Form_PanelGroup1_OutputLabel_1.setInvisible(false);
u__Form_PanelGroup1_OutputLabel_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
}
// $.fh.docs.converter_conversion_is_mechanism_which_will
private String getU__Form_PanelGroup1_OutputLabel_1_valueBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_conversion_is_mechanism_which_will");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_OutputLabel_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup1_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup1_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_to_string_conversion}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup1_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup1_1.setCollapsible(false);
u__Form_PanelGroup1_PanelGroup1_1.setBorderVisible(false);
u__Form_PanelGroup1_PanelGroup1_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup1_PanelGroup1_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup1_PanelGroup1_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup1_PanelGroup1_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup1_PanelGroup1_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup1_1.setId("_Form_PanelGroup1_PanelGroup1");
u__Form_PanelGroup1_PanelGroup1_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1);
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1(u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1, u__Form_PanelGroup1_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1 = new pl.fhframework.model.forms.SelectOneMenu(this);
u__Form_PanelGroup1_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1(u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1, u__Form_PanelGroup1_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1 = new pl.fhframework.model.forms.SelectOneMenu(this);
u__Form_PanelGroup1_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1(u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1, u__Form_PanelGroup1_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1);
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1(u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1, u__Form_PanelGroup1_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1);
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1(u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1, u__Form_PanelGroup1_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup1_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1);
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1(u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1, u__Form_PanelGroup1_PanelGroup1_1);
u_exampleCode_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup1_PanelGroup1_1.addSubcomponent(u_exampleCode_1);
u_exampleCode_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
initCmp_u_exampleCode_1(u_exampleCode_1, u__Form_PanelGroup1_PanelGroup1_1);
u__Form_PanelGroup1_PanelGroup1_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
}
// $.fh.docs.converter_to_string_conversion
private String getU__Form_PanelGroup1_PanelGroup1_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_to_string_conversion");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_in_this_example_first_selectonemenu}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup1_OutputLabel1_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1.setId("_Form_PanelGroup1_PanelGroup1_OutputLabel1");
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup1_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
}
// $.fh.docs.converter_in_this_example_first_selectonemenu
private String getU__Form_PanelGroup1_PanelGroup1_OutputLabel1_1_valueBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_in_this_example_first_selectonemenu");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_OutputLabel1_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1(pl.fhframework.model.forms.SelectOneMenu u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setKeepRemovedValue(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setListBinding(new pl.fhframework.binding.CompiledBinding<>(
"{users}",
"users", /* property name */
java.util.List.class, /* target type */
this::__getConversionService,
this::getModel, /* base object getter */
(baseObject) -> this.getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_listBinding(baseObject), /* getter of property on base object */
(baseObject, newValue) -> this.setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_listBinding(baseObject, newValue) /* setter of property on base object */
));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setEmptyLabel(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setHintInputGroup(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{selectedUser}",
"selectedUser", /* property name */
pl.fhframework.docs.converter.model.User.class, /* target type */
this::__getConversionService,
this::getModel, /* base object getter */
(baseObject) -> this.getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_modelBinding(baseObject), /* getter of property on base object */
(baseObject, newValue) -> this.setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_modelBinding(baseObject, newValue) /* setter of property on base object */
));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setOnChange(new pl.fhframework.binding.CompiledActionBinding(
"-", "-"));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_please_select_user_by_last_name}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setInputSize(60.0d);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setId("_Form_PanelGroup1_PanelGroup1_SelectOneMenu1");
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
}
// users
private java.util.List getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_listBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject) {
try {
return baseObject.getUsers();
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_listBinding")) {
return null;
} else {
throw e;
}
}
}
// users
private void setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_listBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject, java.util.List newValue) {
try {
baseObject.setUsers(newValue);
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_listBinding")) {
// ignore
} else {
throw e;
}
}
}
// selectedUser
private pl.fhframework.docs.converter.model.User getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject) {
try {
return baseObject.getSelectedUser();
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_modelBinding")) {
return null;
} else {
throw e;
}
}
}
// selectedUser
private void setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject, pl.fhframework.docs.converter.model.User newValue) {
try {
baseObject.setSelectedUser(newValue);
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_modelBinding")) {
// ignore
} else {
throw e;
}
}
}
// $.fh.docs.converter_please_select_user_by_last_name
private String getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_please_select_user_by_last_name");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu1_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1(pl.fhframework.model.forms.SelectOneMenu u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setKeepRemovedValue(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setListBinding(new pl.fhframework.binding.CompiledBinding<>(
"{users}",
"users", /* property name */
java.util.List.class, /* target type */
this::__getConversionService,
this::getModel, /* base object getter */
(baseObject) -> this.getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_listBinding(baseObject), /* getter of property on base object */
(baseObject, newValue) -> this.setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_listBinding(baseObject, newValue) /* setter of property on base object */
));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setFormatter("userSecondFormatter");
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setEmptyLabel(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setHintInputGroup(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{selectedUser}",
"selectedUser", /* property name */
pl.fhframework.docs.converter.model.User.class, /* target type */
this::__getConversionService,
this::getModel, /* base object getter */
(baseObject) -> this.getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_modelBinding(baseObject), /* getter of property on base object */
(baseObject, newValue) -> this.setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_modelBinding(baseObject, newValue) /* setter of property on base object */
));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setOnChange(new pl.fhframework.binding.CompiledActionBinding(
"-", "-"));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_please_select_user_by_first_name}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setInputSize(60.0d);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setId("_Form_PanelGroup1_PanelGroup1_SelectOneMenu2");
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
}
// users
private java.util.List getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_listBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject) {
try {
return baseObject.getUsers();
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_listBinding")) {
return null;
} else {
throw e;
}
}
}
// users
private void setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_listBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject, java.util.List newValue) {
try {
baseObject.setUsers(newValue);
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_listBinding")) {
// ignore
} else {
throw e;
}
}
}
// selectedUser
private pl.fhframework.docs.converter.model.User getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject) {
try {
return baseObject.getSelectedUser();
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_modelBinding")) {
return null;
} else {
throw e;
}
}
}
// selectedUser
private void setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject, pl.fhframework.docs.converter.model.User newValue) {
try {
baseObject.setSelectedUser(newValue);
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_modelBinding")) {
// ignore
} else {
throw e;
}
}
}
// $.fh.docs.converter_please_select_user_by_first_name
private String getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_please_select_user_by_first_name");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_SelectOneMenu2_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_is}: {selectedUser.lastName}, {selectedUser.firstName}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup1_OutputLabel2_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1.setId("_Form_PanelGroup1_PanelGroup1_OutputLabel2");
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup1_OutputLabel2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
}
// {$.fh.docs.converter_selected_user_is}: {selectedUser.lastName}, {selectedUser.firstName}.
private String getU__Form_PanelGroup1_PanelGroup1_OutputLabel2_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_is")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedUser().getLastName()) + ", " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedUser().getFirstName()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_OutputLabel2_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_is_2} {selectedUser.age} {$.fh.docs.converter_years_old}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup1_OutputLabel3_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1.setId("_Form_PanelGroup1_PanelGroup1_OutputLabel3");
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup1_OutputLabel3_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
}
// {$.fh.docs.converter_selected_user_is_2} {selectedUser.age} {$.fh.docs.converter_years_old}.
private String getU__Form_PanelGroup1_PanelGroup1_OutputLabel3_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_is_2")) + " " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedUser().getAge()) + " " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_years_old")) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_OutputLabel3_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_was_created_on}: {selectedUser.creationDate}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup1_OutputLabel4_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1.setId("_Form_PanelGroup1_PanelGroup1_OutputLabel4");
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup1_OutputLabel4_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
}
// {$.fh.docs.converter_selected_user_was_created_on}: {selectedUser.creationDate}.
private String getU__Form_PanelGroup1_PanelGroup1_OutputLabel4_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_was_created_on")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedUser().getCreationDate()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup1_OutputLabel4_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_exampleCode_1(pl.fhframework.model.forms.InputText u_exampleCode_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup1_1) {
u_exampleCode_1.setRowsCount(5);
u_exampleCode_1.setMaxLength(65535);
u_exampleCode_1.setHintInputGroup(false);
u_exampleCode_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>(" "));
u_exampleCode_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_code}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_exampleCode_1_labelModelBinding, /* getter */
null /* setter */
));
u_exampleCode_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_exampleCode_1.setInputSize(60.0d);
u_exampleCode_1.setWidth("md-12");
u_exampleCode_1.setId("exampleCode");
u_exampleCode_1.setInvisible(false);
u_exampleCode_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup1_1);
}
// $.fh.docs.converter_code
private String getU_exampleCode_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_code");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_exampleCode_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup2_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup2_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_to_object_conversion}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup2_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup2_1.setCollapsible(false);
u__Form_PanelGroup1_PanelGroup2_1.setBorderVisible(false);
u__Form_PanelGroup1_PanelGroup2_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup1_PanelGroup2_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup1_PanelGroup2_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup1_PanelGroup2_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup1_PanelGroup2_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup2_1.setId("_Form_PanelGroup1_PanelGroup2");
u__Form_PanelGroup1_PanelGroup2_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup2_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1);
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
initCmp_u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1(u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1, u__Form_PanelGroup1_PanelGroup2_1);
u__Form_PanelGroup1_PanelGroup2_InputText1_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup1_PanelGroup2_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup2_InputText1_1);
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
initCmp_u__Form_PanelGroup1_PanelGroup2_InputText1_1(u__Form_PanelGroup1_PanelGroup2_InputText1_1, u__Form_PanelGroup1_PanelGroup2_1);
u_boundUserLabel1_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup2_1.addSubcomponent(u_boundUserLabel1_1);
u_boundUserLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
initCmp_u_boundUserLabel1_1(u_boundUserLabel1_1, u__Form_PanelGroup1_PanelGroup2_1);
u_boundUserLabel2_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup2_1.addSubcomponent(u_boundUserLabel2_1);
u_boundUserLabel2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
initCmp_u_boundUserLabel2_1(u_boundUserLabel2_1, u__Form_PanelGroup1_PanelGroup2_1);
u_boundUserLabel3_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup2_1.addSubcomponent(u_boundUserLabel3_1);
u_boundUserLabel3_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
initCmp_u_boundUserLabel3_1(u_boundUserLabel3_1, u__Form_PanelGroup1_PanelGroup2_1);
u_exampleCode2_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup1_PanelGroup2_1.addSubcomponent(u_exampleCode2_1);
u_exampleCode2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
initCmp_u_exampleCode2_1(u_exampleCode2_1, u__Form_PanelGroup1_PanelGroup2_1);
u__Form_PanelGroup1_PanelGroup2_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
}
// $.fh.docs.converter_to_object_conversion
private String getU__Form_PanelGroup1_PanelGroup2_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_to_object_conversion");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup2_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1) {
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_in_this_example_inputtext_is_bound}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup2_OutputLabel1_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1.setId("_Form_PanelGroup1_PanelGroup2_OutputLabel1");
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup2_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
}
// $.fh.docs.converter_in_this_example_inputtext_is_bound
private String getU__Form_PanelGroup1_PanelGroup2_OutputLabel1_1_valueBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_in_this_example_inputtext_is_bound");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup2_OutputLabel1_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup2_InputText1_1(pl.fhframework.model.forms.InputText u__Form_PanelGroup1_PanelGroup2_InputText1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1) {
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setMaxLength(65535);
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setHintInputGroup(false);
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{typedUser}",
"typedUser", /* property name */
pl.fhframework.docs.converter.model.User.class, /* target type */
this::__getConversionService,
this::getModel, /* base object getter */
(baseObject) -> this.getU__Form_PanelGroup1_PanelGroup2_InputText1_1_modelBinding(baseObject), /* getter of property on base object */
(baseObject, newValue) -> this.setU__Form_PanelGroup1_PanelGroup2_InputText1_1_modelBinding(baseObject, newValue) /* setter of property on base object */
));
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setOnChange(new pl.fhframework.binding.CompiledActionBinding(
"-", "-"));
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_please_type_last_name_one_of_users}:",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup2_InputText1_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setInputSize(60.0d);
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setId("_Form_PanelGroup1_PanelGroup2_InputText1");
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup2_InputText1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
}
// typedUser
private pl.fhframework.docs.converter.model.User getU__Form_PanelGroup1_PanelGroup2_InputText1_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject) {
try {
return baseObject.getTypedUser();
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup2_InputText1_1_modelBinding")) {
return null;
} else {
throw e;
}
}
}
// typedUser
private void setU__Form_PanelGroup1_PanelGroup2_InputText1_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject, pl.fhframework.docs.converter.model.User newValue) {
try {
baseObject.setTypedUser(newValue);
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup1_PanelGroup2_InputText1_1_modelBinding")) {
// ignore
} else {
throw e;
}
}
}
// {$.fh.docs.converter_please_type_last_name_one_of_users}:
private String getU__Form_PanelGroup1_PanelGroup2_InputText1_1_labelModelBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_please_type_last_name_one_of_users")) + ":";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup2_InputText1_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_boundUserLabel1_1(pl.fhframework.model.forms.OutputLabel u_boundUserLabel1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1) {
u_boundUserLabel1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_boundUserLabel1_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"1 {$.fh.docs.converter_typed_user_is}: {typedUser.firstName}, {typedUser.lastName}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_boundUserLabel1_1_valueBinding, /* getter */
null /* setter */
));
u_boundUserLabel1_1.setWidth("md-12");
u_boundUserLabel1_1.setId("boundUserLabel1");
u_boundUserLabel1_1.setInvisible(false);
u_boundUserLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
}
// 1 {$.fh.docs.converter_typed_user_is}: {typedUser.firstName}, {typedUser.lastName}.
private String getU_boundUserLabel1_1_valueBinding() {
try {
return "1 " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_typed_user_is")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getTypedUser().getFirstName()) + ", " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getTypedUser().getLastName()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_boundUserLabel1_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_boundUserLabel2_1(pl.fhframework.model.forms.OutputLabel u_boundUserLabel2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1) {
u_boundUserLabel2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_boundUserLabel2_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"2 {$.fh.docs.converter_typed_user_is_2} {typedUser.age} {$.fh.docs.converter_years_old}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_boundUserLabel2_1_valueBinding, /* getter */
null /* setter */
));
u_boundUserLabel2_1.setWidth("md-12");
u_boundUserLabel2_1.setId("boundUserLabel2");
u_boundUserLabel2_1.setInvisible(false);
u_boundUserLabel2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
}
// 2 {$.fh.docs.converter_typed_user_is_2} {typedUser.age} {$.fh.docs.converter_years_old}.
private String getU_boundUserLabel2_1_valueBinding() {
try {
return "2 " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_typed_user_is_2")) + " " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getTypedUser().getAge()) + " " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_years_old")) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_boundUserLabel2_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_boundUserLabel3_1(pl.fhframework.model.forms.OutputLabel u_boundUserLabel3_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1) {
u_boundUserLabel3_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_boundUserLabel3_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"3 {$.fh.docs.converter_typed_user_was_created_on}: {typedUser.creationDate}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_boundUserLabel3_1_valueBinding, /* getter */
null /* setter */
));
u_boundUserLabel3_1.setWidth("md-12");
u_boundUserLabel3_1.setId("boundUserLabel3");
u_boundUserLabel3_1.setInvisible(false);
u_boundUserLabel3_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
}
// 3 {$.fh.docs.converter_typed_user_was_created_on}: {typedUser.creationDate}.
private String getU_boundUserLabel3_1_valueBinding() {
try {
return "3 " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_typed_user_was_created_on")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getTypedUser().getCreationDate()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_boundUserLabel3_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_exampleCode2_1(pl.fhframework.model.forms.InputText u_exampleCode2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup2_1) {
u_exampleCode2_1.setRowsCount(4);
u_exampleCode2_1.setMaxLength(65535);
u_exampleCode2_1.setHintInputGroup(false);
u_exampleCode2_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>(" "));
u_exampleCode2_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_code}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_exampleCode2_1_labelModelBinding, /* getter */
null /* setter */
));
u_exampleCode2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_exampleCode2_1.setInputSize(60.0d);
u_exampleCode2_1.setWidth("md-12");
u_exampleCode2_1.setId("exampleCode2");
u_exampleCode2_1.setInvisible(false);
u_exampleCode2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup2_1);
}
// $.fh.docs.converter_code
private String getU_exampleCode2_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_code");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_exampleCode2_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup3_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup3_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup3_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_model}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup3_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup3_1.setCollapsible(false);
u__Form_PanelGroup1_PanelGroup3_1.setBorderVisible(false);
u__Form_PanelGroup1_PanelGroup3_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup1_PanelGroup3_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup1_PanelGroup3_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup1_PanelGroup3_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup1_PanelGroup3_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup3_1.setId("_Form_PanelGroup1_PanelGroup3");
u__Form_PanelGroup1_PanelGroup3_1.setInvisible(false);
u_exampleModelFormatterCode_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup1_PanelGroup3_1.addSubcomponent(u_exampleModelFormatterCode_1);
u_exampleModelFormatterCode_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup3_1);
initCmp_u_exampleModelFormatterCode_1(u_exampleModelFormatterCode_1, u__Form_PanelGroup1_PanelGroup3_1);
u__Form_PanelGroup1_PanelGroup3_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
}
// $.fh.docs.converter_model
private String getU__Form_PanelGroup1_PanelGroup3_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_model");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup3_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_exampleModelFormatterCode_1(pl.fhframework.model.forms.InputText u_exampleModelFormatterCode_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup3_1) {
u_exampleModelFormatterCode_1.setRowsCount(11);
u_exampleModelFormatterCode_1.setMaxLength(65535);
u_exampleModelFormatterCode_1.setHintInputGroup(false);
u_exampleModelFormatterCode_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>("@Getter @Setter @AllArgsConstructor public class User { private String username; private String email; private String firstName; private String lastName; private int age; private LocalDateTime creationDate; }"));
u_exampleModelFormatterCode_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_code}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_exampleModelFormatterCode_1_labelModelBinding, /* getter */
null /* setter */
));
u_exampleModelFormatterCode_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_exampleModelFormatterCode_1.setInputSize(60.0d);
u_exampleModelFormatterCode_1.setWidth("md-12");
u_exampleModelFormatterCode_1.setId("exampleModelFormatterCode");
u_exampleModelFormatterCode_1.setInvisible(false);
u_exampleModelFormatterCode_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup3_1);
}
// $.fh.docs.converter_code
private String getU_exampleModelFormatterCode_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_code");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_exampleModelFormatterCode_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup4_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup4_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_1) {
u__Form_PanelGroup1_PanelGroup4_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_formatter}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup4_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup4_1.setCollapsible(false);
u__Form_PanelGroup1_PanelGroup4_1.setBorderVisible(false);
u__Form_PanelGroup1_PanelGroup4_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup1_PanelGroup4_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup1_PanelGroup4_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup1_PanelGroup4_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup1_PanelGroup4_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup4_1.setId("_Form_PanelGroup1_PanelGroup4");
u__Form_PanelGroup1_PanelGroup4_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup4_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1);
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
initCmp_u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1(u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1, u__Form_PanelGroup1_PanelGroup4_1);
u_exampleFormatterCode_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup1_PanelGroup4_1.addSubcomponent(u_exampleFormatterCode_1);
u_exampleFormatterCode_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
initCmp_u_exampleFormatterCode_1(u_exampleFormatterCode_1, u__Form_PanelGroup1_PanelGroup4_1);
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup1_PanelGroup4_1.addSubcomponent(u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1);
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
initCmp_u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1(u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1, u__Form_PanelGroup1_PanelGroup4_1);
u_exampleFormatterCode2_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup1_PanelGroup4_1.addSubcomponent(u_exampleFormatterCode2_1);
u_exampleFormatterCode2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
initCmp_u_exampleFormatterCode2_1(u_exampleFormatterCode2_1, u__Form_PanelGroup1_PanelGroup4_1);
u__Form_PanelGroup1_PanelGroup4_1.setGroupingParentComponent(u__Form_PanelGroup1_1);
}
// $.fh.docs.converter_formatter
private String getU__Form_PanelGroup1_PanelGroup4_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_formatter");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup4_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup4_1) {
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_in_fh_framework_we_have_two_ways}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup4_OutputLabel1_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1.setId("_Form_PanelGroup1_PanelGroup4_OutputLabel1");
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup4_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
}
// $.fh.docs.converter_in_fh_framework_we_have_two_ways
private String getU__Form_PanelGroup1_PanelGroup4_OutputLabel1_1_valueBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_in_fh_framework_we_have_two_ways");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup4_OutputLabel1_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_exampleFormatterCode_1(pl.fhframework.model.forms.InputText u_exampleFormatterCode_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup4_1) {
u_exampleFormatterCode_1.setRowsCount(16);
u_exampleFormatterCode_1.setMaxLength(65535);
u_exampleFormatterCode_1.setHintInputGroup(false);
u_exampleFormatterCode_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>("@FhFormatter public class UserFormatter extends AutoRegisteredFormatter { @Autowired private UserService userService; @Override public User parse(String s, Locale locale) throws ParseException { return userService.findByLastName(s); } @Override public String print(User user, Locale locale) { return user.getLastName(); } }"));
u_exampleFormatterCode_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_default_formatter_code}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_exampleFormatterCode_1_labelModelBinding, /* getter */
null /* setter */
));
u_exampleFormatterCode_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_exampleFormatterCode_1.setInputSize(60.0d);
u_exampleFormatterCode_1.setWidth("md-12");
u_exampleFormatterCode_1.setId("exampleFormatterCode");
u_exampleFormatterCode_1.setInvisible(false);
u_exampleFormatterCode_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
}
// $.fh.docs.converter_default_formatter_code
private String getU_exampleFormatterCode_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_default_formatter_code");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_exampleFormatterCode_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup4_1) {
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_if_we_want_to_have_other_than_default}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup1_PanelGroup4_OutputLabel2_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1.setWidth("md-12");
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1.setId("_Form_PanelGroup1_PanelGroup4_OutputLabel2");
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1.setInvisible(false);
u__Form_PanelGroup1_PanelGroup4_OutputLabel2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
}
// $.fh.docs.converter_if_we_want_to_have_other_than_default
private String getU__Form_PanelGroup1_PanelGroup4_OutputLabel2_1_valueBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_if_we_want_to_have_other_than_default");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup1_PanelGroup4_OutputLabel2_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_exampleFormatterCode2_1(pl.fhframework.model.forms.InputText u_exampleFormatterCode2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup1_PanelGroup4_1) {
u_exampleFormatterCode2_1.setRowsCount(13);
u_exampleFormatterCode2_1.setMaxLength(65535);
u_exampleFormatterCode2_1.setHintInputGroup(false);
u_exampleFormatterCode2_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>("@FhFormatter(\"userSecondFormatter\") public class UserSecondFormatter implements Formatter { @Override public String print(User user, Locale locale) { return user.getFirstName(); } @Override public User parse(String s, Locale locale) throws ParseException { return null; } }"));
u_exampleFormatterCode2_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_custom_formatter_code}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_exampleFormatterCode2_1_labelModelBinding, /* getter */
null /* setter */
));
u_exampleFormatterCode2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_exampleFormatterCode2_1.setInputSize(60.0d);
u_exampleFormatterCode2_1.setWidth("md-12");
u_exampleFormatterCode2_1.setId("exampleFormatterCode2");
u_exampleFormatterCode2_1.setInvisible(false);
u_exampleFormatterCode2_1.setGroupingParentComponent(u__Form_PanelGroup1_PanelGroup4_1);
}
// $.fh.docs.converter_custom_formatter_code
private String getU_exampleFormatterCode2_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_custom_formatter_code");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_exampleFormatterCode2_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_1) {
u__Form_PanelGroup2_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_inherited_conversion}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_1.setCollapsible(false);
u__Form_PanelGroup2_1.setBorderVisible(false);
u__Form_PanelGroup2_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup2_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup2_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup2_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup2_1.setWidth("md-12");
u__Form_PanelGroup2_1.setId("_Form_PanelGroup2");
u__Form_PanelGroup2_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_1 = new pl.fhframework.model.forms.PanelGroup(this);
u__Form_PanelGroup2_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_1.setGroupingParentComponent(u__Form_PanelGroup2_1);
initCmp_u__Form_PanelGroup2_PanelGroup_1(u__Form_PanelGroup2_PanelGroup_1, u__Form_PanelGroup2_1);
u__Form_PanelGroup2_1.setGroupingParentComponent(this);
}
// $.fh.docs.converter_inherited_conversion
private String getU__Form_PanelGroup2_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_inherited_conversion");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_1) {
u__Form_PanelGroup2_PanelGroup_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_inherited_to_string_conversion}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_1.setCollapsible(false);
u__Form_PanelGroup2_PanelGroup_1.setBorderVisible(false);
u__Form_PanelGroup2_PanelGroup_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup2_PanelGroup_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup2_PanelGroup_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup2_PanelGroup_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup2_PanelGroup_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_1.setId("_Form_PanelGroup2_PanelGroup");
u__Form_PanelGroup2_PanelGroup_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_OutputLabel1_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel1_1(u__Form_PanelGroup2_PanelGroup_OutputLabel1_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1 = new pl.fhframework.model.forms.SelectOneMenu(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1(u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_OutputLabel2_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel2_1(u__Form_PanelGroup2_PanelGroup_OutputLabel2_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_OutputLabel3_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel3_1(u__Form_PanelGroup2_PanelGroup_OutputLabel3_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_OutputLabel4_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel4_1(u__Form_PanelGroup2_PanelGroup_OutputLabel4_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_OutputLabel5_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel5_1(u__Form_PanelGroup2_PanelGroup_OutputLabel5_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1 = new pl.fhframework.model.forms.OutputLabel(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_OutputLabel6_1);
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel6_1(u__Form_PanelGroup2_PanelGroup_OutputLabel6_1, u__Form_PanelGroup2_PanelGroup_1);
u_exampleCode3_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u_exampleCode3_1);
u_exampleCode3_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u_exampleCode3_1(u_exampleCode3_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_PanelGroup_1 = new pl.fhframework.model.forms.PanelGroup(this);
u__Form_PanelGroup2_PanelGroup_1.addSubcomponent(u__Form_PanelGroup2_PanelGroup_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
initCmp_u__Form_PanelGroup2_PanelGroup_PanelGroup_1(u__Form_PanelGroup2_PanelGroup_PanelGroup_1, u__Form_PanelGroup2_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_1.setGroupingParentComponent(u__Form_PanelGroup2_1);
}
// $.fh.docs.converter_inherited_to_string_conversion
private String getU__Form_PanelGroup2_PanelGroup_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_inherited_to_string_conversion");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel1_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel1_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_in_this_example_first_selectonemenu_is_bound}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_OutputLabel1_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1.setId("_Form_PanelGroup2_PanelGroup_OutputLabel1");
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_OutputLabel1_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// $.fh.docs.converter_in_this_example_first_selectonemenu_is_bound
private String getU__Form_PanelGroup2_PanelGroup_OutputLabel1_1_valueBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_in_this_example_first_selectonemenu_is_bound");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_OutputLabel1_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1(pl.fhframework.model.forms.SelectOneMenu u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setKeepRemovedValue(false);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setListBinding(new pl.fhframework.binding.CompiledBinding<>(
"{foreignUsers}",
"foreignUsers", /* property name */
java.util.List.class, /* target type */
this::__getConversionService,
this::getModel, /* base object getter */
(baseObject) -> this.getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_listBinding(baseObject), /* getter of property on base object */
(baseObject, newValue) -> this.setU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_listBinding(baseObject, newValue) /* setter of property on base object */
));
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setEmptyLabel(false);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setHintInputGroup(false);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{selectedForeignUser}",
"selectedForeignUser", /* property name */
pl.fhframework.docs.converter.model.ForeignUser.class, /* target type */
this::__getConversionService,
this::getModel, /* base object getter */
(baseObject) -> this.getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_modelBinding(baseObject), /* getter of property on base object */
(baseObject, newValue) -> this.setU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_modelBinding(baseObject, newValue) /* setter of property on base object */
));
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setOnChange(new pl.fhframework.binding.CompiledActionBinding(
"-", "-"));
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_please_select_user_by_last_name}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setInputSize(60.0d);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setId("_Form_PanelGroup2_PanelGroup_SelectOneMenu");
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_SelectOneMenu_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// foreignUsers
private java.util.List getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_listBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject) {
try {
return baseObject.getForeignUsers();
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_listBinding")) {
return null;
} else {
throw e;
}
}
}
// foreignUsers
private void setU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_listBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject, java.util.List newValue) {
try {
baseObject.setForeignUsers(newValue);
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_listBinding")) {
// ignore
} else {
throw e;
}
}
}
// selectedForeignUser
private pl.fhframework.docs.converter.model.ForeignUser getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject) {
try {
return baseObject.getSelectedForeignUser();
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_modelBinding")) {
return null;
} else {
throw e;
}
}
}
// selectedForeignUser
private void setU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_modelBinding(pl.fhframework.docs.converter.model.ConverterDocumentationModel baseObject, pl.fhframework.docs.converter.model.ForeignUser newValue) {
try {
baseObject.setSelectedForeignUser(newValue);
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_modelBinding")) {
// ignore
} else {
throw e;
}
}
}
// $.fh.docs.converter_please_select_user_by_last_name
private String getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_please_select_user_by_last_name");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_SelectOneMenu_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel2_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_is}: {selectedForeignUser.lastName}, {selectedForeignUser.firstName}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_OutputLabel2_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1.setId("_Form_PanelGroup2_PanelGroup_OutputLabel2");
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_OutputLabel2_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// {$.fh.docs.converter_selected_user_is}: {selectedForeignUser.lastName}, {selectedForeignUser.firstName}.
private String getU__Form_PanelGroup2_PanelGroup_OutputLabel2_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_is")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedForeignUser().getLastName()) + ", " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedForeignUser().getFirstName()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_OutputLabel2_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel3_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel3_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_is_2} {selectedForeignUser.age} {$.fh.docs.converter_years_old}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_OutputLabel3_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1.setId("_Form_PanelGroup2_PanelGroup_OutputLabel3");
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_OutputLabel3_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// {$.fh.docs.converter_selected_user_is_2} {selectedForeignUser.age} {$.fh.docs.converter_years_old}.
private String getU__Form_PanelGroup2_PanelGroup_OutputLabel3_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_is_2")) + " " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedForeignUser().getAge()) + " " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_years_old")) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_OutputLabel3_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel4_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel4_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_was_created_on}: {selectedForeignUser.creationDate}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_OutputLabel4_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1.setId("_Form_PanelGroup2_PanelGroup_OutputLabel4");
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_OutputLabel4_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// {$.fh.docs.converter_selected_user_was_created_on}: {selectedForeignUser.creationDate}.
private String getU__Form_PanelGroup2_PanelGroup_OutputLabel4_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_was_created_on")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedForeignUser().getCreationDate()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_OutputLabel4_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel5_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel5_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_comes_from_system_id}: {selectedForeignUser.systemInfo}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_OutputLabel5_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1.setId("_Form_PanelGroup2_PanelGroup_OutputLabel5");
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_OutputLabel5_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// {$.fh.docs.converter_selected_user_comes_from_system_id}: {selectedForeignUser.systemInfo}.
private String getU__Form_PanelGroup2_PanelGroup_OutputLabel5_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_comes_from_system_id")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedForeignUser().getSystemInfo()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_OutputLabel5_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_OutputLabel6_1(pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup2_PanelGroup_OutputLabel6_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_selected_user_comes_from_company}: {selectedForeignUser.companyName}.",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_OutputLabel6_1_valueBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1.setId("_Form_PanelGroup2_PanelGroup_OutputLabel6");
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1.setInvisible(false);
u__Form_PanelGroup2_PanelGroup_OutputLabel6_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// {$.fh.docs.converter_selected_user_comes_from_company}: {selectedForeignUser.companyName}.
private String getU__Form_PanelGroup2_PanelGroup_OutputLabel6_1_valueBinding() {
try {
return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.converter_selected_user_comes_from_company")) + ": " + pl.fhframework.core.generator.CompiledClassesHelper.nvl(getModel().getSelectedForeignUser().getCompanyName()) + ".";
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_OutputLabel6_1_valueBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_exampleCode3_1(pl.fhframework.model.forms.InputText u_exampleCode3_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u_exampleCode3_1.setRowsCount(7);
u_exampleCode3_1.setMaxLength(65535);
u_exampleCode3_1.setHintInputGroup(false);
u_exampleCode3_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>(" "));
u_exampleCode3_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_code}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_exampleCode3_1_labelModelBinding, /* getter */
null /* setter */
));
u_exampleCode3_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_exampleCode3_1.setInputSize(60.0d);
u_exampleCode3_1.setWidth("md-12");
u_exampleCode3_1.setId("exampleCode3");
u_exampleCode3_1.setInvisible(false);
u_exampleCode3_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// $.fh.docs.converter_code
private String getU_exampleCode3_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_code");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_exampleCode3_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u__Form_PanelGroup2_PanelGroup_PanelGroup_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_PanelGroup_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_1) {
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_model}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU__Form_PanelGroup2_PanelGroup_PanelGroup_1_labelModelBinding, /* getter */
null /* setter */
));
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setCollapsible(false);
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setBorderVisible(false);
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setWidth("md-12");
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setId("_Form_PanelGroup2_PanelGroup_PanelGroup");
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setInvisible(false);
u_exampleModelFormatterCode2_1 = new pl.fhframework.model.forms.InputText(this);
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.addSubcomponent(u_exampleModelFormatterCode2_1);
u_exampleModelFormatterCode2_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_PanelGroup_1);
initCmp_u_exampleModelFormatterCode2_1(u_exampleModelFormatterCode2_1, u__Form_PanelGroup2_PanelGroup_PanelGroup_1);
u__Form_PanelGroup2_PanelGroup_PanelGroup_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_1);
}
// $.fh.docs.converter_model
private String getU__Form_PanelGroup2_PanelGroup_PanelGroup_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_model");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup2_PanelGroup_PanelGroup_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_u_exampleModelFormatterCode2_1(pl.fhframework.model.forms.InputText u_exampleModelFormatterCode2_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup2_PanelGroup_PanelGroup_1) {
u_exampleModelFormatterCode2_1.setRowsCount(12);
u_exampleModelFormatterCode2_1.setMaxLength(65535);
u_exampleModelFormatterCode2_1.setHintInputGroup(false);
u_exampleModelFormatterCode2_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>("@Getter @Setter public class ForeignUser extends User { private String systemInfo; private String companyName; public ForeignUser(String username, String email, String firstName, String lastName, int age, LocalDateTime creationDate, String systemInfo, String companyName) { super(username, email, firstName, lastName, age, creationDate); this.systemInfo = systemInfo; this.companyName = companyName; } }"));
u_exampleModelFormatterCode2_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
"{$.fh.docs.converter_code}",
null,
String.class, /* target type */
this::__getConversionService,
this::getU_exampleModelFormatterCode2_1_labelModelBinding, /* getter */
null /* setter */
));
u_exampleModelFormatterCode2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
u_exampleModelFormatterCode2_1.setInputSize(60.0d);
u_exampleModelFormatterCode2_1.setWidth("md-12");
u_exampleModelFormatterCode2_1.setId("exampleModelFormatterCode2");
u_exampleModelFormatterCode2_1.setInvisible(false);
u_exampleModelFormatterCode2_1.setGroupingParentComponent(u__Form_PanelGroup2_PanelGroup_PanelGroup_1);
}
// $.fh.docs.converter_code
private String getU_exampleModelFormatterCode2_1_labelModelBinding() {
try {
return __getMessageService().getAllBundles().getMessage("fh.docs.converter_code");
} catch(NullPointerException e) {
if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_exampleModelFormatterCode2_1_labelModelBinding")) {
return null;
} else {
throw e;
}
}
}
private void initCmp_a_availabilityConfiguration_1(pl.fhframework.model.forms.AvailabilityConfiguration a_availabilityConfiguration_1) {
a_availabilityConfiguration_1.setInvisible(false);
a_availabilityConfiguration_1.setGroupingParentComponent(this);
}
private void initCmp_a_model_1(pl.fhframework.model.forms.Model a_model_1) {
a_model_1.setInvisible(false);
}
private void setupAccessibility() {
// exampleCode,exampleCode2,exampleModelFormatterCode,exampleFormatterCode,exampleFormatterCode2,exampleCode3,exampleModelFormatterCode2
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("exampleCode", "", _rule_ -> pl.fhframework.model.forms.AccessibilityEnum.VIEW, null /* null as xml object won't be provided in compiled form */));
// exampleCode,exampleCode2,exampleModelFormatterCode,exampleFormatterCode,exampleFormatterCode2,exampleCode3,exampleModelFormatterCode2
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("exampleCode2", "", _rule_ -> pl.fhframework.model.forms.AccessibilityEnum.VIEW, null /* null as xml object won't be provided in compiled form */));
// exampleCode,exampleCode2,exampleModelFormatterCode,exampleFormatterCode,exampleFormatterCode2,exampleCode3,exampleModelFormatterCode2
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("exampleModelFormatterCode", "", _rule_ -> pl.fhframework.model.forms.AccessibilityEnum.VIEW, null /* null as xml object won't be provided in compiled form */));
// exampleCode,exampleCode2,exampleModelFormatterCode,exampleFormatterCode,exampleFormatterCode2,exampleCode3,exampleModelFormatterCode2
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("exampleFormatterCode", "", _rule_ -> pl.fhframework.model.forms.AccessibilityEnum.VIEW, null /* null as xml object won't be provided in compiled form */));
// exampleCode,exampleCode2,exampleModelFormatterCode,exampleFormatterCode,exampleFormatterCode2,exampleCode3,exampleModelFormatterCode2
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("exampleFormatterCode2", "", _rule_ -> pl.fhframework.model.forms.AccessibilityEnum.VIEW, null /* null as xml object won't be provided in compiled form */));
// exampleCode,exampleCode2,exampleModelFormatterCode,exampleFormatterCode,exampleFormatterCode2,exampleCode3,exampleModelFormatterCode2
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("exampleCode3", "", _rule_ -> pl.fhframework.model.forms.AccessibilityEnum.VIEW, null /* null as xml object won't be provided in compiled form */));
// exampleCode,exampleCode2,exampleModelFormatterCode,exampleFormatterCode,exampleFormatterCode2,exampleCode3,exampleModelFormatterCode2
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("exampleModelFormatterCode2", "", _rule_ -> pl.fhframework.model.forms.AccessibilityEnum.VIEW, null /* null as xml object won't be provided in compiled form */));
// boundUserLabel1,boundUserLabel2,boundUserLabel3
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("boundUserLabel1", "", pl.fhframework.core.generator.CompiledClassesHelper.wrapAccessibilityMethodInvocation(this::isBoundUserLabel1Visible), null /* null as xml object won't be provided in compiled form */));
// boundUserLabel1,boundUserLabel2,boundUserLabel3
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("boundUserLabel2", "", pl.fhframework.core.generator.CompiledClassesHelper.wrapAccessibilityMethodInvocation(this::isBoundUserLabel2Visible), null /* null as xml object won't be provided in compiled form */));
// boundUserLabel1,boundUserLabel2,boundUserLabel3
this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("boundUserLabel3", "", pl.fhframework.core.generator.CompiledClassesHelper.wrapAccessibilityMethodInvocation(this::isBoundUserLabel3Visible), null /* null as xml object won't be provided in compiled form */));
// defaultAvailability attributes of Variant elements
}
}