Closed modeckimellett closed 10 years ago
This issue appears to only effect the produced xml for certain components. For example, TextArea works properly, but Html5SmartImage and PathField do not.
Also, tested this in the most recent version (2.4.1)
Michael Hodgdon CITYTECH, Inc. 312.673.6433 x162 www.citytechinc.com mhodgdon@citytechinc.com
On May 16, 2014, at 3:31 AM, Andrew Kos notifications@github.com wrote:
This issue appears to only effect the produced xml for certain components. For example, TextArea works properly, but Html5SmartImage and PathField do not.
— Reply to this email directly or view it on GitHub.
Hmm no we aren't. Sorry about that. I'll talk to my team about upgrading. Thank you!
I had tested it previously with the most recent version unsuccessfully, but I just tested it again and it worked. Not sure if there was old data in the jcr or something.
Use Case: PathFields inside MultiCompositeField (cq-library) must have their widths set manually as they do not auto adjust appropriately, especially when not on the first tab of the dialog.
The width property appears to only be available through additionalProperties in the DialogField annotation. However, when width is added there it is not reflected on fields with the PathField Annotation.
The following is written in the Java Annotations:
The resulting xml for this line looks like this:
but I expected to see width="230" included. Note that there are other properties which may need to be included on PathFields using additionalProperties in the future.