snippet

20
01/2016

Reindex an entity by the id

If we have a web content and we want to update the index of it we can do that with the following code:

19
01/2016

Getting the model hints in the code

While trying to make a custom validator in a form, there was the need to reuse the information set in the portlet-model-hints.xml file. You can do this by using the following Util class: