This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi All,
Suppose, I have a component on the page. The sling:resourceType of this component is xyz/components/abc/SAMPLECOMPONENT.
Under xyz/components/abc/SAMPLECOMPONENT, there is xtype=dialog, under which multiple fields like textfield, textarea etc are present.
On some of the fields, there is a CUSTOM string property set.
In my model class, I need to find only such properties and do some manipulation on it.
Any thoughts/pointers/reference code on this will be helpful.
Solved! Go to Solution.
Views
Replies
Total Likes
you can do search using SQL2/Query Builder API and do manipulation using JCR Node API.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi Arun,
Sorry for not being very clear.
Had a requirement, wherein once I read the properties set on the component, for certain dialog fields in the component, had to check for some "custom" property set under /apps/..../component/dialog. Only if that property is there, had to do some manipulations on that.
For now, with componentContext.getEditContext().getComponent().getDialogPath() able to get something.
Working on it.
Will update this thread by today.
Views
Replies
Total Likes
you can do search using SQL2/Query Builder API and do manipulation using JCR Node API.
Views
Replies
Total Likes
Views
Likes
Replies