since ‎08-12-2010
‎10-12-2019
gabriel_walt
Employee
Re: we-retail-journal sample implementation package gabriel_walt - Adobe Experience Manager
Hi Sandeep,You're correct, this We.Retail Journal sample will be published as the SPA authoring feature will be released for 6.4.Best,Gabriel
589
Views
0
Likes
0
Answers
Re: POM entries for Sightly package gabriel_walt - Adobe Experience Manager
Hi Reinhard,Have a look at following blog post: http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2014/05/aem6-maven-dependencies.htmlWith AEM6 there is just one big Maven dependency that you need to add to your project, and you are good to go! com.adobe.aem aem-api 6.0.0.1 provided Following urls might also be useful:Maven Repo: http://repo.adobe.com/nexus/content/repositories/releases/com/adobe/aem/aem-api/6.0.0.1/Java Doc: http://docs.adobe.com/content/docs/en/aem/6-0/develop/...
391
Views
0
Likes
0
Answers
Re: Cognifide Slice gabriel_walt - Adobe Experience Manager
We have decided to centralize all Sightly documentation on our usual docs and not create yet another separate site for that. This is why sightly.io has been taken down, instead please have a look at: http://dev.day.com/content/docs/en/aem/6-0/develop/sightly.html.Cheers,Gabriel
333
Views
0
Likes
0
Answers
Re: Could you please provide me some sample examples on sightly in AEM6?? gabriel_walt - Adobe Experience Manager
The documentation can be found here:http://docs.adobe.com/docs/en/aem/6-0/develop/sightly.htmlhttp://docs.adobe.com/docs/en/aem/6-0/develop/sightly/use-api-in-java.htmlhttp://docs.adobe.com/docs/en/aem/6-0/develop/sightly/use-api-in-javascript.htmlAlso, there are several blog posts on that topic:Sightly intro part 1Sightly intro part 2Sightly intro part 3Sightly intro part 4Sightly intro part 5: FAQAnd in AEM, you can have a look at following content:Page built with Sightly: http://localhost:450...
203
Views
1
Like
0
Answers
Re: Getting started with Sightly gabriel_walt - Adobe Experience Manager
We are still finishing the Brackets extension that you'll need to install for URLs of the Developer Mode to open in Brackets. Please give us a few more days for finalising that and releasing it. So stay tuned!Just to be clear, an important thing to understand is that the goal of the Brackets extension is quite different from CRXDE Lite: It won't be about hacking potentially everything there is in the content repository, but about offering an efficient workflow for web developers when they work o...
336
Views
0
Likes
0
Answers
Re: Getting started with Sightly gabriel_walt - Adobe Experience Manager
Hi,FYI, we've just released the Brackets extension for AEM and Sightly:http://docs.adobe.com/docs/en/dev-tools/sightly-brackets.htmlThis version offers great sync features to allow front-end developers to be working productively on AEM projects. It also offers nice Sightly syntax highlighting and auto-completion. What it doesn't have yet is an integration with the Developer Mode so that when you click on a component it opens Brackets instead of CRXDE Lite; we'll need a bit more time for this one...
301
Views
0
Likes
0
Answers
Re: Sightly Domain still down / Documentation is not fully working gabriel_walt - Adobe Experience Manager
FYI, we've just released the plugin for Brackets and Eclipse:http://docs.adobe.com/docs/en/dev-tools.html
194
Views
0
Likes
0
Answers
Re: Sightly Domain still down / Documentation is not fully working gabriel_walt - Adobe Experience Manager
Here you go for building Sightly:Java Doc: http://docs.adobe.com/content/docs/en/aem/6-0/develop/ref/javadoc/com/adobe/cq/sightly/WCMUse.htmlPublic Maven Repository: http://repo.adobe.com/nexus/content/repositories/releases/com/adobe/aem/aem-api/6.0.0.1/Basically, following blog post also explains how to setup the AEM Maven dependencies: http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2014/05/aem6-maven-dependencies.htmlAll of this is currently being added to the official docum...
201
Views
0
Likes
0
Answers
Re: Sightly Domain still down / Documentation is not fully working gabriel_walt - Adobe Experience Manager
We did initially setup sightly.io with some info about Sightly, but finally decided to rather centralize everything on the docs. The link you provided is indeed the place to go now.And btw, there are several blog posts on that topic:Sightly intro part 1Sightly intro part 2Sightly intro part 3Sightly intro part 4Sightly intro part 5: FAQ
190
Views
0
Likes
0
Answers
Re: Sightly - Issue while passing parameters to Java Use-Api gabriel_walt - Adobe Experience Manager
The corresponding documentation page has been updated.Thanks for having brought this to our attention!
852
Views
0
Likes
0
Answers
Re: How to set convenience variables in sightly? gabriel_walt - Adobe Experience Manager
His code example is doing exactly that, it sets yourName in the test, which can then be reused within or later on:....${yourName}Have a quick look at the docs of data-sly-test to better understand that behavior.More generally though, if you need to set many variables in your template, I'd rather advise you to use the Use-API to prepare all the variables you'll need in your template. This will probably be easier to understand by someone reading your template and thus be more maintainable than set...
3836
Views
0
Likes
0
Answers
Re: How to set convenience variables in sightly? gabriel_walt - Adobe Experience Manager
I agree with Feike. Keep in mind that each data-sly-unwrap you're doing will represent one step you're moving away from having your template markup to correspond to your resulting markup. The goal of Sightly is to keep the two as close together as possible for making it as obvious as possible for someone who reads the template to understand what the final resulting markup is going to be.
3843
Views
0
Likes
0
Answers
Re: Is there the equivalent of requestScope variables in Sightly? gabriel_walt - Adobe Experience Manager
See full-length answer to the corresponding question on StackOverflow:http://stackoverflow.com/questions/25430981/are-there-requestscope-variables-in-sightly/25447524#25447524
231
Views
0
Likes
0
Answers
Re: Confusion about JSP and HTML pages gabriel_walt - Adobe Experience Manager
I'd advise you to go with Sightly instead of JSP for any new project as it is designed to replace JSP. This will give you automatic proper HTML encoding and cross-site scripting protection built-in. It will also force some healthy separation of concerns, preventing the kind of code & markup mix you typically can end-up with in JSPs. Thus making the markup overall more readable.
215
Views
0
Likes
0
Answers
Re: Sightly: list child nodes (+ error in docs?) gabriel_walt - Adobe Experience Manager
Hi Paul,Resource properties can directly be accessed on the resource object itself and don't necessarily need to be accessed through the properties object:These two expressions do the same: ${resource.sling:resourceType} ${properties.sling:resourceType}But only properties can be iterated over, in case you wish to display all properties: Key: ${item} Value: ${properties[item]} And to display another resource's properties, you should access them via the resource as within the template you cannot a...
411
Views
1
Like
0
Answers
Re: Developing using Eclipse AEM plugin and Brackets for AEM 6.0 gabriel_walt - Adobe Experience Manager
You need to open the folder that contains the jcr_root folder (as well as the META-INF folder). In the case of projects created with the "AEM Sample Multi-Module Project" archetype, like the Eclipse plugin does, then you have to open ui.apps/src/main/content in Brackets.If you don't open the right folder, then the synchronization of your content within Brackets with your AEM instance doesn't work.
177
Views
0
Likes
0
Answers
Re: Implementing personalization with Sightly gabriel_walt - Adobe Experience Manager
Btw, you can include with Sightly a taglib like you did in JSP; the generated markup is then the same.Have a look at the Client Library section of the docs Shekhar pointed you to:http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html#Client%20Libraries
304
Views
0
Likes
0
Answers
Re: AEM 6 gabriel_walt - Adobe Experience Manager
There's no such feature yet in Sightly.If you can file an enhancement request on DayCare, this helps to raise the priority for it.
146
Views
0
Likes
0
Answers
Re: How do I determine current mode client side gabriel_walt - Adobe Experience Manager
Hi James,We are working on improving this. But for now you can listen to the cq-layer-activated event, which will pass an object containing the new layer being activated (layer) and the previous one (prevLayer). You can then get the active layer as described with Granite.author.layerManager.getCurrentLayer(), and set accordingly a class on your page body.I hope that this will do the trick!Cheers,Gabriel
1104
Views
0
Likes
0
Answers
Re: How to use Brackets editor gabriel_walt - Adobe Experience Manager
FYI, we've just released the Brackets extension that should do what you're looking for:http://docs.adobe.com/docs/en/dev-tools/sightly-brackets.htmlBest,Gabriel
321
Views
0
Likes
0
Answers
Re: AEM 6 Sightly Javascript Use API gabriel_walt - Adobe Experience Manager
The use function is implemented and declared in Java in the "io.sightly.js.bundle" bundle.
111
Views
0
Likes
0
Answers
Re: AEM 6 - Sightly Page Component + Inheritance gabriel_walt - Adobe Experience Manager
And GRANITE-6404 (data-sly-use in parent component does not load object overlaid in inherited component) will be fixed in SP2, which will be released in January 2015.
459
Views
0
Likes
0
Answers
Re: AEM 6 - Sightly Page Component + Inheritance gabriel_walt - Adobe Experience Manager
No it is not, unfortunately.
459
Views
0
Likes
0
Answers
Re: AEM 6 - Sightly Page Component + Inheritance gabriel_walt - Adobe Experience Manager
This issue is tracked internally (GRANITE-6589 - "data-sly-use in parent component does not load script overlaid in inherited component"), we'll try to keep this thread updated when some fixes will be available. But we don't have a date defined yet for an update, meaning that it won't happen so soon.
463
Views
0
Likes
0
Answers
Re: data-sly-test (Sightly) gabriel_walt - Adobe Experience Manager
Hi Prateek,As explained, this only works for server-side JavaScript, so I'm assuming that this is the case for you.This is how a simple example would like like: ${logic.foo} Assuming that you have something like following corresponding JavaScript:use(function () { return { foo: 'My foo text...' }; });What it does: if the foo text exists and is not empty, then the element will be displayed, showing the content of the foo text.In case this doesn't answer your question, then please explain further...
1542
Views
0
Likes
0
Answers
Re: data-sly-test (Sightly) gabriel_walt - Adobe Experience Manager
Sightly is a server-side template language, so you cannot use it to do client-side operations. The confusion might come from the fact that it is using data attributes, or from the fact that it can also use JavaScript as scripting language to prepare the variables. But despite it looking a bit like a client-side thing, it is actually all evaluated on the server: a Sightly template has to be placed into AEM components, just like the JSP templates. Sightly is basically a replacement for JSP.If you ...
1560
Views
0
Likes
0
Answers
Re: Sightly - Include another HTML and pass parameters gabriel_walt - Adobe Experience Manager
Got it! You're correct, each componentService.componentData.* variable access will call the getComponentData method.Then I'd create another Java object to retrieve getComponentData, this will act like a cache for the current template:public class Logic extends WCMUse { private ComponentData data; @Override public void activate() throws Exception { ComponentService s = new ComponentService(); data = s.getComponentData(); } public String getData() { return data; } }If you have multiple templates a...
1970
Views
1
Like
0
Answers
Re: Sightly - Include another HTML and pass parameters gabriel_walt - Adobe Experience Manager
Got it! You're correct, each componentService.componentData.* variable access will call the getComponentData method.Then I'd create another Java object to retrieve getComponentData, this will act like a cache for the current template:public class Logic extends WCMUse { private ComponentData data; @Override public void activate() throws Exception { ComponentService s = new ComponentService(); data = s.getComponentData(); } public String getData() { return data; } }If you have multiple templates a...
1976
Views
0
Likes
0
Answers
Re: Sightly - Include another HTML and pass parameters gabriel_walt - Adobe Experience Manager
It would be possible to do both the double test and the variable assignment in one step, but that would look confusing, so I spare you that.But I think that there's a conceptual issue in your code: data-sly-test isn't intended to be used only to set variables, it is primarily a conditional statement. Usually, you don't have to set variables in the template as you can simply access the members like that: ${componentService.componentData.foo}. In case you really have to set those variables, then y...
1970
Views
0
Likes
0
Answers
Re: Sightly - Include another HTML and pass parameters gabriel_walt - Adobe Experience Manager
Btw, to keep the template markup as simple as possible, your first two divs should be combined into one: ...
1972
Views
0
Likes
0
Answers