Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

maynors2427659
Community profile maynors2427659 Level 2
Job title here
Location here
8 BADGES
Level 2

Level 2

Learn more
Joined the community 22-08-2018 11:02:42 AM
Offline
Top badges earned by maynors2427659
Customize the badges you want to showcase on your profile
Re: Get cqdialog properties in Model adaptable from SlingHttpServletRequest
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
ValueMap vm= request.getResource().getValueMap();

Views

613

Likes

0

Replies

0
Get cqdialog properties in Model adaptable from SlingHttpServletRequest
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Hi, Is there a way to access the cq dialog properties from a Model like this:@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)public class MyClass {@Selfprivate SlingHttpServletRequest request;@Injectprivate Page currentPage;@Injectprivate ResourceResolver resourceResolver;And here's the HTLIs there a way to access them without sending them as parameter ( ) or if i have to send them by parameter how is this done and what type of obj...

Views

1.1K

Likes

0

Replies

4
Send parameters to common cq dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Hi, I have a component with a cq dialog with several tabs, they share the same content so i separate them. This is one of the tabs I have a select with cq-dialog-dropdown-showhide so I need to send a parameter in order to call the JS function with a different name, otherwise it will show and hide the options in the other tabs: How do I send the parameters to this other file in common, something like this:ANd how do I receive it?Thanks,

Views

1.1K

Likes

0

Replies

3
Re: Concat in Ternary Condition
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Thank you so much, that's the answer I needed. Just made a few changes in case someone is interested${!properties.timezoneminute ? ":00" : [':', properties.timezoneminute] @ join=''}

Views

866

Likes

0

Replies

0
Concat in Ternary Condition
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Hi, Is there a way to concat a var or a string in a ternary condition as shown below:"${ properties.timezoneminute ? ":" ${properties.timezoneminute} : ":00"Off course, this does not work. In the example, I want to show the timezone minutes if there is any chosen otherwise show just 00. EST+18:15, EST+19:00, etc... The "var" I am trying to concat is the Colon (":").Thanks

Views

1.1K

Likes

0

Replies

3
Re: Avoid Override when save cq Dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Hi, no i was unable, I saved the responsive grid out of the tabcontent and associated it with an id. That's the only way I found. However the problem with this approach is if you delete the tabcontent then the responsive grid associated with it won't be deleted.

Views

4.6K

Likes

0

Replies

2
Re: Avoid Override when save cq Dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Hi, any ideas about this? Or maybe it's a bug?

Views

4.6K

Likes

0

Replies

0
Disable textfield if not empty in cq dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
I want to call a JS function on load of cq dialog to validate if a field already has something, if so, disable it from edition. I have tried with validation but it is called after the users interacts with the field, I need a way to do it before, when is being loaded. It is possible?

Views

1.2K

Likes

0

Replies

1
Re: Avoid Override when save cq Dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Sure, HERE is the code.

Views

4.6K

Likes

0

Replies

1
Re: Avoid Override when save cq Dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
HTL CODE:

Views

4.6K

Likes

0

Replies

3
Re: Avoid Override when save cq Dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
Thanks for answering, here is a video with current behavior, I tried setting the flag deleteHint to false to the multifield, keeps the content but the problem is when I try to delete something, does not delete anything.

Views

4.6K

Likes

0

Replies

0
Avoid Override when save cq Dialog
Avatar
Ignite 5
Level 2
maynors2427659
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
maynors2427659
- Adobe Experience Manager
I am developing a TABS component, in the cq dialog I have a multifield where you can add the TAB title, then in the HTL it will create a responsive grid inside the item# path of the multifield (as shown below)The problem is when I try to do anything later on the cq dialog, I go and for example, I add a new Tab, and somehow the responsivegrid(tabcontent) is gone for all the tabs, I am guessing that the cq dialog overrides the items of the multifield everytime you close it.I need to prevent this "...

Views

5.3K

Likes

0

Replies

10
Likes given to