Fórumok
Liferay 6.1.1 how to programmatically set the width of an expando field?
Elijah Mangason, módosítva 11 év-val korábban
Liferay 6.1.1 how to programmatically set the width of an expando field?
Junior Member Bejegyzések: 65 Csatlakozás dátuma: 2012.05.14. Legújabb bejegyzések
I need to create expandos from a startup hook as described in this post. What's missing is how to set the width of the expando fields from the hook. Would anyone know how to accomplish this programmatically?
Ray Augé, módosítva 11 év-val korábban
RE: Liferay 6.1.1 how to programmatically set the width of an expando field
Liferay Legend Bejegyzések: 1197 Csatlakozás dátuma: 2005.02.08. Legújabb bejegyzések
Do you mean the hints used for the input fields or the physical size constraint on the value stored in the DB?
Elijah Mangason, módosítva 11 év-val korábban
RE: Liferay 6.1.1 how to programmatically set the width of an expando field
Junior Member Bejegyzések: 65 Csatlakozás dátuma: 2012.05.14. Legújabb bejegyzések
Thanks for asking! I'm simply trying to resize the custom field's text box. By default, it's really big. Through the UI it can be resized using the 'height' and 'width' parameters. How can I adjust the width of the custom fields textbox using code. I couldn't find a setWidth() method that looked like it would work in this case. Any ideas?