since ‎14-03-2017
‎10-12-2019
arjitbansal
Level 2
Re: Sightly : How to Iterate through Map<String,Object>
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi Feike,Thanks for the instant replies.I made it work : key = ${item} //This should be data-sly-test, no need to iterate again text = ${beanObj.text}

Views

1.4K

Likes

0

Replies

0
Re: Sightly : How to Iterate through Map<String,Object>
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Infact it is not going inside the inner loop.And i tried printing the value of ${hashmap.hubarticle[item]} but nothing is getting printed.This is what i have tried: key = ${item}value = ${hashmap.map[item]} //This is not printing anything(This should be the beanObject logically) text = ${hashmap.map[item].text} //Here, "beanObject.customProp" should work but it is not printing Can you please have a look fieke?

Views

1.3K

Likes

0

Replies

0
Re: Sightly : How to Iterate through Map<String,Object>
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Thanks for the reply feike but this ${hashmap.map[item].yourProp} is not working.

Views

1.3K

Likes

0

Replies

0
Re: Sightly : How to Iterate through Map<String,Object>
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
yes fieke i saw but i couldn't understand how will i get that specific data member from my bean class. Could you please help me understand.I have a data member "text" in a bean class which i m returning using a sling model ->map.put(key,bean).As per the link : ${item} ${aem} ${hashmap.map[item][aem]} How can i fetch my data member "text" using the inner loop?

Views

1.3K

Likes

0

Replies

0
Sightly : How to Iterate through Map<String,Object>
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi ,I am not able to iterate the map in sightly. The map is having values as a bean object which i am not able to get in sightly.I am able to get the keys directly but for values i understood there has to be a second loop since it is an object .the code i have tried :keyname = ${keyName}keyvalue = ${model.map[keyName]} BeanData= ${key} ${key.text} Here in my code keyname is printed on the page but keyvalue is not.In java class the map is of type : map and Bean class have the data members which ...

Views

2.9K

Likes

0

Replies

6
TouchUI richtext component "useFixedInlineToolbar" property not working
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi,I have created a touchUI richtext component but i am facing issues:when the dialog is opened for the first time the useFixedInlineToolbar property which is supposed to show the toolbar even when we dont click on the richtext area doesn't work.Same it does when we reopen the dialog for the second time after entering some data. Only when you click inside the richtext area you can see the toolbar. And if u give the value of the property as false it wont allow me to edit.It is a duplicate of the ...

Views

507

Likes

0

Replies

1
Re: AEM 6.3 richtext
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi,Is the bug fixed ?I m still facing this issue.Thanks,Arjit

Views

845

Likes

0

Replies

0
Re: Touch UI Debug
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi ,I am also curious abt the answer.If there is a way to debug a touch UI dialog please let us knw.Thanks,Arjit

Views

685

Likes

0

Replies

0
Re: AEM 6.2 Testrunner is not displaying in Page level.
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
ravindrareddydr​ smacdonald2008​ Jörg Hoh​I have the same doubt.Did you receive any answer or clarification?Thanks,Arjit.

Views

382

Likes

0

Replies

0
Re: hobbes.js vs wcm.io for GUI testing
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
smacdonald2008​ i had already gone through the above mentioned article but as i already asked above i wanted to know if hobbes.js is better or wcm.io Please read my query again since it has many questions.Can anyone clear my dilemma which one would be better among hobbes.js and wcm.io and why?And is there a way to debug the test cases ?In we-retail examples it shows the test suite like a demo but for me it just shows pass or fail, so how can i achieve that?Thanks,Arjit

Views

198

Likes

0

Replies

0
hobbes.js vs wcm.io for GUI testing
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi ,Recently started UI testing with hobbes.js framework but couldn't find proper illustrations apart from we.retail examples like we-retail-instore.js , we-retail-devices.js etc.I am still confused whether to go with hobbes.js itself or is there another framework for testing GUI like i have heard about wcm.ioCan anyone clear my dilemma which one would be better among hobbes.js and wcm.io and why?I have implemented few test cases using hobbes.js but when the test cases executes it just shows pas...

Views

500

Likes

0

Replies

4
Re: Siteadmin fulltext search working
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Thank you for the answer.i understood it well but can u guide me a little on how can i customize the ootb siteadmin search functionality to search for a page content no matter where it is written i.e. can be under /etc or /content or /apps.As per my understanding we have to overlay /libs/wcm/core/content/search/searchpanel/facets/fulltext under /apps and then proceed and in backend we have to implement FulltextPredicateEvaluator class and change the rel_path value in fulltext predicate.Please gu...

Views

232

Likes

0

Replies

0
Siteadmin fulltext search working
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi,I am trying to understand how full text search works in siteadmin.My requirement is:Can i search a page with a particular text present in the page using the site admin search functionality?Say for example, We.retail page(http://localhost:4502/editor.html/content/we-retail/us/en.html ) we search a word "coldest" so it will come in the search results but if i search for "All Rights Reserved" it will not show anything.This is happening with many pages.I just want to understand how does the full ...

Views

560

Likes

0

Replies

3
Comparison component
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi All,I have a requirement where i have to create a product comparison component which can compare atleast 3 products.Say we have 3 laptops details in the node structure in crxde lite and the nodes have values which i want to compare like ram,color,storage.Requirement is:Next to every product, compare button should come and on clicking it should add the products in the list and compare them and display the results.Its similar to what we have in every ecommerce website.(like for comparing to mob...

Views

361

Likes

0

Replies

1
Re: Populating dropdown from values stored in nodes as properties
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager Forms
I think i was not that clear before.Let me explain it again.So, as shown in the image, i have a component by the name dropdown which has a dialog (this is a classic dialog), where i have 2 selection widgets, both are getting their options from the same servlet (returning data in json format). The functionality should be: If i select a state in the first dropdown, the corresponding cities should get populated in the 2nd dropdown. The servlet code handles the formation of json response for the opt...

Views

2.6K

Likes

0

Replies

1
Populating dropdown from values stored in nodes as properties
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager Forms
Hi All,I am populating 2 dropdowns in dialog from a servlet.Based on the selection of the first dropdown the second one will be populated.I am fetching the values from a node (nt:unstructured) which is under apps folder (/apps/ststes-info).Lets say the first dropdown is states and second is the cities for the selected state.so how can i get the cities based on the selected state i.e based on the first dropdown how to fetch 2nd dropdown data.Please guide.

Views

4.5K

Like

1

Replies

5
getting error not able to resolve AemContext type in wcm.io
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hello Guys,I have deployed wcm-io-testing package in AEM 6.2. When i am creating new aem project to write Junit testcases using wcm.io.In my aem project in build path under project i am configuring wcm-io-testing package to use AEM-Mock , When i am writing the @Rule public final AemContext context = new AemContext(); getting error not able to resolve AemContext type while i have included the required package also.Please help me in this regard if you have complete example of wcm-io included java ...

Views

1.3K

Likes

0

Replies

1
Re: Major issues faced while using Angular2 with AEM
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Thanks scott.we are using adobe target as well and in few links they have mentioned issues with that also. please help us choose the right framework so that later down the line we don't have to start over if we face major issues.

Views

265

Likes

0

Replies

0
Major issues faced while using Angular2 with AEM
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager
Hi ,we are starting a new project and we are not sure whether to go with angular1.6 or angular2. I have gone through few adobe links and they stated few issues with angular2 like:Sightly integration issues with Angular 2.0. (reffered http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__mcwy-while_implementinga.html)From Authoring perspective, Angular 2 is not ideal. (reffered http://stackoverflow.com/questions/42846007/is-it-poss...

Views

833

Likes

0

Replies

3
DAM retention policy
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager Assets
DAM retention policy can vary depending on the organization but can anyone help me out with a generic or minimum things to keep in mind regarding retention policy of assets.Can anyone help me out with the best practices of retention in AEM DAM (i.e. DAM retention policy) Eg:when to delete the assets? (like verisons of assets and old assest etc)On what basis we can delete like delete if the asset is older than 6 months or delete it if its size is greater than 10mb etc.When to archive and when to ...

Views

935

Likes

0

Replies

3
Sidebar/siderail not coming in touchUI mode
Avatar

arjitbansal

arjitbansal
- Adobe Experience Manager Forms
In my instance(http://localhost:4502/editor.html/content/anypage) the siderail option is not coming and the whole toolbar(marked in yellow) is not working. Its working with another instance(http://localhost:4512/editor.html/content/anypage).The Edit dropdown, Preview and Annotate are also not working.redError.log is giving this:16.03.2017 12:22:00.616 *WARN* [0:0:0:0:0:0:0:1 [1489647120248] GET /editor.html/content/geometrixx/en.html HTTP/1.1] libs.granite.ui.components.foundation.admin.page.pag...

Views

722

Likes

0

Replies

4
Likes from