You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.
Deploy the portlet. Open it's configuration. It won't show any input fields for "drink"
The reason is that in the generated .jar, in features/portlet_preferences.json, this part of the code
{
"name": "drink",
"label": {},
"dataType": "double",
"type": "ddm-decimal",
"tip": {
"": "Choose the drink you like the most"
},
"predefinedValue": {
"": "10.5"
}
}
has "ddm-decimal" set as "type".
Liferay uses soy to render the field. The rendering template in modules/apps/dynamic-data-mapping/dynamic-data-mapping-form-field-type/src/main/resources/META-INF/resources/Numeric/NumericRegister.soy
will only take "numeric" fields as it's params.
The "type" in features/portlet_preferences.json has to be generated as "numeric" instead of "ddm-decimal".
Replace the configuration file contents
features/configuration.json
with the following:Deploy the portlet. Open it's configuration. It won't show any input fields for "drink"
The reason is that in the generated .jar, in
features/portlet_preferences.json
, this part of the codehas "ddm-decimal" set as "type".
Liferay uses soy to render the field. The rendering template in
modules/apps/dynamic-data-mapping/dynamic-data-mapping-form-field-type/src/main/resources/META-INF/resources/Numeric/NumericRegister.soy
will only take "numeric" fields as it's params.
The "type" in
features/portlet_preferences.json
has to be generated as "numeric" instead of "ddm-decimal".LPS-109702 has been opened on this issue.
The text was updated successfully, but these errors were encountered: