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.
Hi All,
In my dialog.xml, we have the below :
<multi
jcr:primaryType="cq:Widget"
fieldLabel="Page Path"
name="./relatedPath"
xtype="multifield">
<fieldConfig
jcr:primaryType="nt:unstructured"
xtype="pathfield"/>
</multi>
#1]We should be able to restrict the pathfield we can choose to 1 here.
Any reference/snippet/thoughts on this will be really helpful.
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
if you only want to allow 1 path to be chosen, don't put the path field in a mutlfield. Just have it be a pathfield.
<relatedPage jcr:primaryType="cq:Widget" fieldLabel="Page Path" name="./relatedPath" xtype="pathfield"> </relatedPage>
No need to over complicate.
Vistas
Respuestas
Total de me gusta
I am not clear in what you are looking for. Seem you want to know how to restrict a path field values where the path field is used in a multi-field control.
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
if you only want to allow 1 path to be chosen, don't put the path field in a mutlfield. Just have it be a pathfield.
<relatedPage jcr:primaryType="cq:Widget" fieldLabel="Page Path" name="./relatedPath" xtype="pathfield"> </relatedPage>
No need to over complicate.
Vistas
Respuestas
Total de me gusta
I agree with @leaasling. Keep the path field out of the multifield so you dont have to put the extra 'limitation' to it.
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas