Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
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?
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
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 ...
Vistas
Respuestas
Total de me gusta
Which text component are you referring to?
Vistas
Respuestas
Total de me gusta
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.
Vistas
Respuestas
Total de me gusta
Hi Jorg,
Any ideas about this?
Thanks in advance.
Vistas
Respuestas
Total de me gusta
Hi Jorg,
Could you please elaborate?
Thanks.
Vistas
Respuestas
Total de me gusta
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.
Vistas
Respuestas
Total de me gusta
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 ...
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas