since ‎04-12-2013
‎10-12-2019
Bahar
Level 2
Re: Get props in List of List of Object based on Specific Index in Sightly
Avatar

Bahar

Bahar
- Adobe Experience Manager
I have done some changes in my model and add id manually, and I guess I am close to get my result. At least I could get the list based on index. thank you.

Views

969

Likes

0

Replies

0
Re: Get props in List of List of Object based on Specific Index in Sightly
Avatar

Bahar

Bahar
- Adobe Experience Manager
Yes, I know the property has been set correctly. In service I have while loop with these:singleList.add(this.Info1);singleList.add(this.Info2);singleList.add(this.Info3);singleList.add(this.Info4);listOfLists.add(singleList);And they have set values which I can see in the logs/debugger & size of each list are same as my db correctly.My only problem is why I can't get listofLists[i] here!

Views

958

Likes

0

Replies

0
Re: Get props in List of List of Object based on Specific Index in Sightly
Avatar

Bahar

Bahar
- Adobe Experience Manager
In sightly I have created another template and pass parameter to the next template.Still no luck to get list of list based on index which is passing correctly! ========================== ====> It is passing this line ======> This one doesn't pass!! ......... Any Idea why listOfLists[i] is not returning singleList?!

Views

966

Likes

0

Replies

0
Get props in List of List of Object based on Specific Index in Sightly
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hello All,I have a list which I call rows here, then inside that I have another list which is list itself, but I want to get specific index of that list based on outer list index.(rowsList.index), after that I will get the objects inside inner list to show props.But it is not going inside I have these two list in my service:public ArrayList>> listOfLists = new ArrayList>>();public ArrayList> singleList = new ArrayList>();each item of singleList is like this:public List myObject = new ArrayList<>...

Views

2.6K

Likes

0

Replies

4
Re: Create form and submit to DB in /etc path for admin user in author mode
Avatar

Bahar

Bahar
- Adobe Experience Manager
Cool, I am using JDBC DataSourcePool... Then I am in good path. I had doubting because it was using in author mode, I liked to double check with folks here. Then we are good and I can close this question. Thanks Scott for your swift reply.

Views

667

Likes

0

Replies

0
Re: Create form and submit to DB in /etc path for admin user in author mode
Avatar

Bahar

Bahar
- Adobe Experience Manager
No, not any form in PUBLISH. It is only form in author mode in /etc path for specific user who can update and change DB.

Views

660

Likes

0

Replies

0
Create form and submit to DB in /etc path for admin user in author mode
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hello all,I want to create a form page in /etc path for specific admin user, the form with couple of fields and submit data in mysql db.This is what I am doing here:I have created the form component 3 fields with add button. I have new page in /etc folder in my project folder which has sling:resourceType to my new component. It is showing well and has list of the existing data in DB. To make it visual to you, please look at here, it is something like this page: http://localhost:4502/etc/acs-comm...

Views

1.5K

Like

1

Replies

4
Re: Publisher: Page load error; Cannot get DefaultSlingScript
Avatar

Bahar

Bahar
- Adobe Experience Manager
I couldn't figure it out anything more, no more log or specific lines of code. Bundles looked like ok!Finally we have restart the qa publish environment and it works fine without issue.Thanks everyone.

Views

1.2K

Likes

0

Replies

0
Publisher: Page load error; Cannot get DefaultSlingScript
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hello All,I have a new component in AEM 6.4 which works fine in author/publisher in local.Also it is fine in author/publisher in dev env. and when I go to QA env. It works and show correctly in author and wcmmode=disabledBut in publisher of QA, I will get this error and Page is not rendering...org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.scripting.ScriptEvaluationException: java.lang.N...

Views

2.3K

Likes

0

Replies

4
Convert DynamicMedia to Sightly
Avatar

Bahar

Bahar
- Adobe Experience Manager Assets
Hello All,Is there anybody who has converted dynamicmedia component to sightly & touch UI./libs/dam/components/scene7/dynamicmediaI am trying to convert it, & add dependency which I need for import com.day.cq.dam.api.s7dam.utils.PublishUtils; in pom.xml. com.day.cq.dam cq-dam-api 5.8.14 provided Build is failing all the time with different approaches.Any help/advice is appreciated. Is there any ServicePack or anywhere which has sightly version of this component?

Views

733

Likes

0

Replies

2
Best Approach for 3 level navigation in header
Avatar

Bahar

Bahar
- Adobe Experience Manager
Please share your experience and best approach to create 3 level navigation in header.Please consider fast rendering and easy to use by author.

Views

482

Likes

0

Replies

0
Re: Add Scene7 Publish Status column by default in DAM classic UI
Avatar

Bahar

Bahar
- Adobe Experience Manager
Folks,It looks like this solution hasn't solved my issue. I did mistake last time and I thought it has been solved.Still the scene7 column is un-checked and same problem here. Any other idea?Anyone has more info than this : https://docs.adobe.com/docs/en/cq/5-5/release_notes/digital_asset_management.html38610 - Scene7 integration: Scene7 publish status shown in DAM Admin

Views

3.0K

Likes

0

Replies

0
Add Scene7 Publish Status column by default in DAM classic UI
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hello,What is the best way to add "Scene7 Publish Status" column by default to the DAM? In fact enable or select it by default in DAM. (Reduce author steps.)Anybody has tried it before?Thanks

Views

3.2K

Like

1

Replies

3
Re: Add new style to list in rtePlugings
Avatar

Bahar

Bahar
- Adobe Experience Manager
Thanks I could do that way with adding new option style. I wish I could add checkmark list icon next to these icons (Bullets/Numbered/Checkmark).For now, I will go with adding style with new css class. In fact I need to add new node to list here:/apps/myapp/components/base/widgets/rteconfig/lists/listsNot sure what is the node and properties I have to use for it.Thanks

Views

681

Likes

0

Replies

0
Add new style to list in rtePlugings
Avatar

Bahar

Bahar
- Adobe Experience Manager
What is the best approach to add new style to list in text? Checkmark ones:/libs/foundation/components/text/cq:dialog/content/items/tabs/items/text/items/column/items/text/rtePlugins/listsI want to add check mark style next to bullet and numbered.

Views

852

Likes

0

Replies

3
Component MUST show only one time in page refresh
Avatar

Bahar

Bahar
- Adobe Experience Manager
There is a filter which has built in component inside it (in last div). With view more the other version of the component will show up and append it to the results. The problem is in page refresh this component will become multiple, the numbers of components will increase with number of refresh.It is not happening in chrome but it happen in IE 9 & 10. There is an index for this built in component & index becomes clear in refresh too.Any idea? How can I force it to show only one of this component...

Views

448

Likes

0

Replies

1
Taggin between two author environment
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hi All,I like to know what will happen or how we can keep the tagging the same/share between two author environment.Suppose that there are server 1 and server 2. I want to be sure tagging is sync and updated on both of them in real time.Thanks,Bahar

Views

526

Likes

0

Replies

2
Recently used pages in Welcome page
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hi all, Recently used pages is blank. There is different update on pages recently but there is no changes in the welcome page.Please let me know if there is any configuration for this item.Thanks,Bahar

Views

380

Likes

0

Replies

0
Re: How to inactive button in author mode?
Avatar

Bahar

Bahar
- Adobe Experience Manager
Avik Banerjee wrote... Hi Bahar, Could you please be more specific with your question here? We would be glad to assist. Thanks- Avik Thanks Avik,Sure, have you seen the image? I have two button in my component which is edit and delete the component.Suppose I have Group A, Group B, Group C in my users of AEM. I want to keep this component readable by all groups A, B, C but only group A be able to do edit and delete the component.I thought that should be good if these components be inactive when t...

Views

578

Likes

0

Replies

0
How to inactive button in author mode?
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hi all,I am using a component on top of page which has edit and delete button.I wan to make these buttons inactive for all author members except one group. It should be able to edit/delete with that specific group of member, no one else.What is your best method?Thanks

Views

738

Likes

0

Replies

2
How can I get the list of pages in a folder?
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hi,I want to have the list of pages of news in news folder. I want to return the title & date of created time sorted one.I need a limit number in order to return those # of news pages information. I have a dialog which has 2 field: Path of news & limit number; String parentPage = properties.get("parentPage", currentPage.getPath()); // this one shows me the path parentPage: /content/ci/news (I am not sure how to write this part: TagManager tagM = resourceResolver.adaptTo(TagManager.class); )?! I ...

Views

454

Likes

0

Replies

1
Re: Scaffolding dialog editor link missing in design mode
Avatar

Bahar

Bahar
- Adobe Experience Manager
Thanks Scott,But it is in design mode, I just open the sidekick manually to show that it is in design mode.I think this is a bug in version 5.6.1.My friend has version 5.6.0 and he can see the link.

Views

677

Likes

0

Replies

0
Scaffolding dialog editor link missing in design mode
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hi guys,I am following the document to create scaffolding in version 5.6.1 : http://dev.day.com/docs/en/cq/current/wcm/scaffolding.htmlBut when I reach to this step: "Next, you have to define the structure of the page that this scaffold will create. To do this go into design mode on the scaffold page. A link will appear allowing you to edit the scaffold in the dialog editor."I can't see the link. you can see the screenshot in attachment.Is there any way to fix this problem.Thanks

Views

1.1K

Likes

0

Replies

6
How to customize the structure of dialog editor of scaffolding?
Avatar

Bahar

Bahar
- Adobe Experience Manager
I like to know how can I customize the structure of dialog editor of scaffolding?I want to add image/text/.. in Tab Panel.

Views

469

Likes

0

Replies

1
Re: Replicate Agent exception after installing SP2
Avatar

Bahar

Bahar
- Adobe Experience Manager
There was some tasks in queue for publishing before install SP2. It looks like that was the reason. I have cleared all queue lists in author agent and the error has gone.Thanks

Views

591

Likes

0

Replies

0
Replicate Agent exception after installing SP2
Avatar

Bahar

Bahar
- Adobe Experience Manager
Folks,Any idea why there is an exception after upgrade SP1 to version SP2 in AEM 6.Now there is an exception for Replicate Agent:StringIndexOutOfBoundsException: String index out of range: -1Thanks

Views

649

Likes

0

Replies

2
Re: Limit the author access to different console - Security issues
Avatar

Bahar

Bahar
- Adobe Experience Manager
Great! It was really helpful.

Views

617

Likes

0

Replies

0
Limit the author access to different console - Security issues
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hello,I want to create users with author access to the site but I need to consider some security for them.They should be able to update the content of site in website/DAM/Tagging consoles, but they should not be able to do anything else in the system.I want other console be inactive/disabled. How can I make this access type for them?Specially, I don't want they open tools and even if they can open any other console they should not be able to do any action on it!!Can I do it in Users console?! Th...

Views

694

Like

1

Replies

2
Elevator Carousel
Avatar

Bahar

Bahar
- Adobe Experience Manager
Hi guys, I need to create elevator carousel. Displays X number of images, assigned to the carousel when it is added. Transition between images is vertical swipe up or down, depending on the button the user clicks toadvance. Contents of this area will be inherited by all sub pages. Inheritance can be overridden on individual pages.I am not sure, what type of css I need exactly, and definitely jsp/jquery.Please give me some hint or sample pages/source code.Thanks,Bahareh

Views

833

Like

1

Replies

2
How can I have a video over carousel banner in background which keep rolling automatically.
Avatar

Bahar

Bahar
- Adobe Experience Manager
It should show just carousel banner if the video is not available.

Views

697

Likes

2

Replies

2
Likes from