Sling Merger Comments - aem

i'm curious about html comments in a page source, i can find such html comments on all pages system, or wich were created by ourselves. I guess that it comment't for sling merger or so on.
We use AEM 6.2.0 with acs commons 3.3.0, i guess it for dev's mode of something else, but i can't find how to turn it of.

I think that it's the WCM Developer Mode Filter. Try disabling it from the OSGi console and see if the output disappears.

I believe you have enabled the xray mode of TouchUI as per the document at:
https://helpx.adobe.com/experience-manager/kb/troubleshooting-aem-touchui-issues.html
You can disable this feature by deleting the node at: /etc/xraymode/enable

Related

Can anyone show or give the download link for AEM / CQ5

i want learn the aem /cq5 so Can anyone show or give the download link for AEM / CQ5 please
AEM is a comercial product, you can have it either by working on a project that already bought Production licenses. or your employer is part of the Adobe partner program - SPP. Other way it will be either impossible or illegal :(
Though you would need a license to procure the Adobe product, there are options to learn & understand the basics:
just create an Adobe ID and download old CQ basics from here
-https://helpx.adobe.com/experience-manager/aem-previous-versions.html
if you have understood the very basics of AEM, then the runnable JAR from Apache sling - https://sling.apache.org/downloads.cgi would be very handy.
You can play around with this JAR (which comes with a built-in JCR repository where you can use the JCR API - the core of AEM)
please go ver the below before jump in to the JAR:
https://sling.apache.org/documentation.html
https://docs.adobe.com/docs/en/spec/jcr/2.0/2_Introduction.html
http://felix.apache.org/documentation/tutorials-examples-and-presentations/apache-felix-osgi-tutorial.html

How to update value of a field for all page in AEM?

I create a site with AEM (Adobe Experience Manager). I have a page type as property-page. The property-page have a field type "Number of event in a page". I want to modify the number of event for all property page.
How to do that?
Thank you & kind regards,
There is no mass-update feature in AEM. Ask your developers for support. They either write you a little tool. Or they could generate a lot of curl-requests based on a query. Another option would be the AEM Groovy Console (https://github.com/OlsonDigital/aem-groovy-console). There you or your developers could write a script.
Finally you can do it one by one manually. Take a look into crx/de, which might be a little bit faster.
If you want to bulk update the page property you may use OTB Bulk Editor feature. Here is a video explaining how to use this.
There is a similar ACS tool for updating sling:resourceType property. You can extend and customize this tool if not happy with OTB feature.

Eclipse RAP/RWT not containing a Transform class

I am using Eclipse RWT to port applications written using Eclipse SWT to the web. But unfortunately there is no equivalent class for transformations under org.eclipse.swt.graphics.
You can compare the Eclipse Platform API and the corresponding RAP/RWT API to see what else is missing. Concerning single sourcing the transformation operations are quite important and yet I couldn’t figure out why these are missing. And before opening a feature request ticket it is probably better to ask if someone already has a solution to this problem.
The reason why the GC API in is not completely implemented in RAP is that some features are hard or impossible to implement in all browsers. For example, in IE7 and IE8, the webclient has to resort to VML to draw, which is very limited. But also the HTML5 Canvas API does not cover all features of the GC API. I guess that transformations are only possible with SVG, which has already been considered as an alternative to HTML Canvas.
I'd suggest that you open an enhancement request for your requirements.
Please open an enhancement request here [1]. I'm not sure if all the Transform API could be implemented against HTML canvas in all supported by RAP browsers.
[1] http://eclipse.org/rap/bugs/

Liferay cms url changes on content change

We've been trying to work with Liferay CMS to create Web Content (liferay terminology). The content is versioned in the sense, each time we change the content and publish it, the version increments.
This has an impact on the URL which is publicly exposed, and we're facing the trouble of changing the URL on content change.
Is there a way of getting a published URL that reflects change in content without changing the URL?
You could use friendly urls in this case. Have a look at this post for some more info.
It doesn't appear that you are able to grab the latest journal content with any invokable URL because it requires a version number to be passed along with the request (otherwise it will just grab the first version not the last).
A work around would be to create a hook plugin that modifies the /journal/view_article_content action path with your custom implementation to return the latest article.
See Liferay's Portal Hook Plugins wiki page on how to create a hook.
Then see Mika's blog post on the specifics of overwriting a struts path.
Good Luck!

Automatic web tester for 404 links?

Is there any test framework or software that can automatically go through a site and find 404 errors from links?
You could use an extension for your favourite browser, i.e. LinkChecker for Firefox.
Are you looking for a tool that does complete validation/checking of the site? Or one that does use-case testing of specific parts of the site.
For the latter I recommend TestPlan, it has the ability to check the headers of pages and work with the so-called "meta" response of the page.
The original web-site is no longer available but the project is now hosted on Launchpad.
For the former it isn't the best tool, but as part of a test framework it is easy enough to get it to scan through links on the site looking for errors.
If you're running on Windows there is this one.