why to use ./ while giving a name for cq:widget
why do we use ./ while giving a name for cq:widget. I didnt find any answer about it anywhere clearly. Is it a stardard way to do it or there is some meaning to it ? I am newbie.
why do we use ./ while giving a name for cq:widget. I didnt find any answer about it anywhere clearly. Is it a stardard way to do it or there is some meaning to it ? I am newbie.
That is how we name widgets in the CQ dialog nodes. Assume we name a multi-field widget ./multi. THen in the JSP code - we can reference it without the ./. Therefore it is multi- as shown here:
if (prop.getDefinition().isMultiple() && (name.equalsIgnoreCase("multi")
{
//Do whatever
}
To see this - see this article -- https://helpx.adobe.com/experience-manager/using/creating-custom-xtype.html
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.