since ‎30-05-2017
‎10-12-2019
bob_smith1
Level 1
Need to access JCR Child Nodes after CQ:Include bob_smith1 - Adobe Experience Manager
I have a component that uses to add multiple child components inside a main component. However, doesn't actually add the child components in the JCR under the parent.Because of this the parent node, currentNode.getNodes() returns 0 and looking at CRXDE there are no child nodes. Is there a way to programmatically add child components into the main component so that the nodes will actually appear in the JCR?I need to access these nodes because I want to be able to create, delete, move, and updat...
1796
Views
0
Likes
3
Answers and Comments
Capture Dialog Button Press in JSP bob_smith1 - Adobe Experience Manager
Is it possible to capture when a dialog's ok button is pressed in JSP code?For example: Let's say I have a component with a parsys and I drag in a component with multiple fields in its dialog.The author fills out the dialog form and pressed the OK button. I take action on the values they entered and now want to clear their entry so when my code checks for that value again it won't take the action a second time. Can I know when they finish editing that new component using its dialog and clear the...
201
Views
0
Likes
2
Answers and Comments
Component CSS Width Increasing Forever in Edit Mode bob_smith1 - Adobe Experience Manager
This question might be slightly confusing but here we go. In this questions we have two components. The first component is a container component consisting of a single column, single row table with a parsys in the cell and optional headers, hereinafter referred to as Container Component.The second component is a custom table component we have created, hereinafter referred to as Table Component. The author chooses how many columns and rows the table contains and the component creates the HTML usi...
244
Views
0
Likes
1
Answers and Comments
Re: Invalid recursion selector value 'data' (data.json.jsp) bob_smith1 - Adobe Experience Manager
Why would this value need to be supplied if calling something such as data.xml.jsp works out of the box?Like I said before I am able to hit the page with Test.data.xml without changing anything else.
361
Views
0
Likes
0
Answers
Invalid recursion selector value 'data' (data.json.jsp) bob_smith1 - Adobe Experience Manager
Let's say I have a page that I hit at url Test.html which contains a single component on the page.If this component, call it tableComp, contains a jsp named tableComp.jsp it correctly renders on the screen when Test.html is hit.Currently I have a file in the same component directory that is called data.xml.jsp. I am able to hit Test.data.xml which calls the jsp file associated with data.xml. I am able to print to the screen my XML and it renders properly.Now I want to display information to the ...
826
Views
0
Likes
2
Answers and Comments
Re: CSS change in clientlibs does not reflect on web page bob_smith1 - Adobe Experience Manager
/var/clientlibs/etc and /var/clientlibs/apps both do not seem to contain cached versions of my clientlibs. When I view the css being applied to my components it appears in either a global.css or styles.css file. I assumed this was all of my clientlibs css files aggregated.Looking at where my css file clientlibs are in Eclipse shows them under:src/main/content/jcr_root/etc/designs/{company}/{clientlibs}Examples of clientlibs are clientlibs.global/css/global.css. Folders under .global consist of c...
666
Views
0
Likes
0
Answers
Re: CSS change in clientlibs does not reflect on web page bob_smith1 - Adobe Experience Manager
I have tried viewing the pages in different browsers and in Firefox private/Chrome incognito browsers and they changes do not show. In terms of creating another clientlibs folder I currently house my css files under /etc/designs/{company}/{clientlibs folder}.
629
Views
0
Likes
0
Answers
CSS change in clientlibs does not reflect on web page bob_smith1 - Adobe Experience Manager
Change to the CSS clientlibs files have produces no change in the CSS applied to our pages.We have tried the following, all of which did not work:Editing in our local Eclipse project and manually uploading the zip to the package managerEditing in CRXDERebuild the clientlibs folder at /libs/granite/ui/content/dumplibs.rebuild.htmlRestarting the CQ5 instanceIn each of these attempts the changes to the CSS were present in the code when viewed from CRXDE but when the page rendered the CSS files did ...
2026
Views
1
Like
5
Answers and Comments
Calling Custom Utility Methods in JSP bob_smith1 - Adobe Experience Manager
I am currently trying to call a custom java utility function that I wrote in the bundle section of my cq5 code. I am calling this from a components jsp.In my common bundle I have a utility class under src/main/java. My package is something like com.test.utility and my file is jcrUtility.java. Inside the java file I have something like:public static ArrayList propertyToArrayList(Node n) { ... }In my component's jsp file I have something like this:<% page import="com.test.utility.jcrUtility"%> <% ...
960
Views
0
Likes
1
Answers and Comments
Likes from