yes, basically null pointer exception for contentResource node. If I do contentResouce = request.getResouce(), then policy is null. I am wondering if this has to do anything with having component in structure vs initial content etc
Can someone suggest me if I would like to have wrapper component such as column control.Should I use responsivegrid or newpar? component html: <div>
<div data-sly-resource="${ @ resourceType='wcm/foundation/components/responsivegrid'}"></div>
<div data-sly-resource="${ @ resourceType='wcm/foundati...
I have cq dialog field mapped to a servlet using resourceType to populate data source. How can I get component resource object in aem servlet. request.getResource() returning the dialog field resource. I would like to get the component resource of dialog field, so I could use it to get component p...
Component Dialog has "select" drop down that needs to read values set by author in "design dialog".Following is the servlet that mapped to dialog select field using resourceType mapping. How to get get component policy values in servlet. I tried below but content resource coming as null Resource c...
@arunpatidar @Veena_Vikram I have a servlet mapped with resourceType to dialog field. How to get policy, stored design dialog values that template author authored for component (select dropdown is dialog field that mapped to servlet to auto populate authored links from design dialog). Thanks again....
@Veena_Vikram thanks for the response , I put in UPDATE2 with screenshot of log and also updated code blocks, screen shot of dialog for the component. ( what you see is update if blocks to get away with 500 null pointer exception.