the most common cause of this i've found is that you're using a reserved word as a variable name or function name. If you check the error log, you'll see the first time it errors it'll give you a pointer close to the word it failed on.
You need to update the users information in the browser. Try the below. It clears any current information stored in the users profile and reloads it after successful login.$(document).ready(function() { if(userName && password) { if (CQ_Analytics) { if (CQ_Analytics.ProfileDataMgr) { //Clear the c...
Easiest way to handle it is as follows:String[] value = properties.get("propertyName", new String[] {});This will create a string array regardless of 1 or multiple string values, regardless of String or String[] type.
You can use the second piece of code i posted for the multifield of path fields, this will allow you to select multiple pages at really any level, but you can restrict it by path too.
I may be misunderstanding the requirements, but it would seem you could simply use the OOTB path field and set the root path to the content structure.<pathField jcr:primaryType="cq:Widget" fieldLabel="Path Field Example" name="./pathField" rootPath="/content/sample/en" xtype="pathfield"/>If you need...
I don't believe Adobe is putting any attention on improving support for JSP beyond what's already in place. Sightly is the new standard so it may be worth implementing the component you need this functionality in with Sightly rather than JSP.