3

I'm new to Liferay and I have the following situation:

I would like to add extra properties to document metadata field types in Liferay 6.1.20.

For example, I would like to add property 'readonly' to select boxes (see image), as it is a user requirement to show some controls disabled.

Should I use the Expando functionality, a jsp override hook or another approach?

Liferay document metadata field type properties

Maria Ioannidou
  • 1,544
  • 1
  • 15
  • 36

1 Answers1

1

I think Expando functionality, a jsp override hook are a good approach.But using Expando you cannot create it as mandatory field.

Biswajit
  • 2,434
  • 2
  • 28
  • 35
  • Thanx for the answer. Could you please elaborate a little bit more on this? On which class should I use Expando? And on which jsp or html snippet should I add the readonly functionality for the html controls? – Maria Ioannidou Mar 13 '13 at 11:03