rafoli / liferay-sample-workspace

2 stars 7 forks source link

LSW-61 Create a custom field type module #66

Closed alexandresjunior closed 3 years ago

alexandresjunior commented 3 years ago

https://services.liferay.com/browse/INLSW-35

afablf commented 3 years ago

Note: This process of creating a custom field, using Soy, is being discontinued as new versions of the Portal are released. For a future task, maybe we need to consider update to a model aligned with the new versions of the Portal.

rafoli commented 3 years ago

Hey @alexandresjunior , could you please generate a new state with an example of this feature?

alexandresjunior commented 3 years ago

state saved and pushed!

the sample custom field was a default text field generated by the form-field template, which can be found in customized elements within the form elements sidebar, as ilustrated at the screenshots below. any modifications/customizations must be done within .soy files.

Screenshot from 2021-09-24 14-36-57

Screenshot from 2021-09-24 14-37-39

alexandresjunior commented 3 years ago

@rafoli a new state was generated with a new page in which there is a sample form with a sample custom field. I'd suggest to leverage this state to follow the next tasks, specially those related to funcional tests with the sample modules.

rafoli commented 3 years ago

Reviewing

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication