For example, the text component, has an init.jsp file. However I don't see it being included in any other JSP file.
Its super resource type, /libs/foundation/components/form/defaults/field, doesn't user it either.
So what, how and when does CQ invoke this script?
Solved! Go to Solution.
Hi,
This init selector of form components is explictly called by the ootb form in the rendering process, so it's not up to you. This init.jsp is specific to the form components and is not used by other components. I am not a specialist in the the form components ...
Views
Replies
Total Likes
Which text component are you referring to?
Views
Replies
Total Likes
Jorg,
I am referring to /libs/foundation/components/form/text. A bunch of other components also have init.jsp scripts that are not being included in a larger, parent script.
I wonder how are they getting invoked?
Another question I had is how does CQ automatically add an end (/libs/foundation/components/form/end) component to pair with a start (/libs/foundation/components/form/start) component, when the start component is dropped onto the page?
Thanks.
Views
Replies
Total Likes
Hi Jorg,
Any ideas about this?
Thanks in advance.
Views
Replies
Total Likes
Hi Jorg,
Could you please elaborate?
Thanks.
Views
Replies
Total Likes
The init.jsp files are called in the FormsHelper class, which includes the form elements with the selector "init". So that's a feature of the foundation form components.
Hi,
This init selector of form components is explictly called by the ootb form in the rendering process, so it's not up to you. This init.jsp is specific to the form components and is not used by other components. I am not a specialist in the the form components ...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies