Expand my Community achievements bar.

jkpanera
jkpanera
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • How can I match a string against a regular expression in HTL?I would want to do one thing if it matches and another if it doesn't.Alternatively, if HTL does not have that capability built in, is there a way that I can pass a string into a utility method to do that?Thanks!

    Type

    Questions

    Views

    6.1K

    Likes

    0

    Replies

    6
  • You do realize that I'm not hardcoding links in jsp or htl, right? Are you seriously suggesting that I write something myself to do path rewriting myself? If so, then why am I paying for an AEM license?

    Type

    Discussions

    Views

    3.8K

    Likes

    0

    Replies

    1
  • gauravb10066713​ maybe you could give me an example of how I can do this?I need to map /content/domain_com/en-us to /en-us. So for example, http://domain.com/en-us should be redirected to directed to the resource /content/domain_com/en-us BUT all links that are to /content/domain_com/en-us should be...

    Type

    Discussions

    Views

    12.8K

    Likes

    0

    Replies

    3
  • Hi guys,In the Sling documentation, it alludes to using JavaScript instead of Apache SSIs to implement Sling Dynamic Includes (https://sling.apache.org/documentation/bundles/dynamic-includes.html#javascript-include​) but it gives very little detail and no example. Is it possible to include certain c...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    1
  • So after discussing with my team, we do actually need reverse mappings BUT we don't want external redirects. I.e. we only ever want absolute URLs used if the links in the content tree are absolute URLs. If there are relative URLs in the content, we wanted them to be relative (but mapped on a path ba...

    Type

    Discussions

    Views

    12.8K

    Likes

    0

    Replies

    5
  • Hi Hermant, we looked through that. We were able to disable many of the external redirects by changing them to be regexps, but we are still fiddling with it. Is there a way to turn off external redirects entirely?Using the same mechanism for both direct and reverse mappings without an explicit switc...

    Type

    Discussions

    Views

    12.8K

    Likes

    0

    Replies

    0
  • Thanks for your prompt reply JaideepBrar. I'll try to get the logging added in production.  In the meantime, I poked around a bit and found this:http://<publishhost>:4503/system/console/jcrresolverThere are five sections:Configuration, Configuration Test, Resolver Map Entries, and Mapping Map Entrie...

    Type

    Discussions

    Views

    12.8K

    Likes

    0

    Replies

    9
  • Hi guys, We are seeing an issue in our production environment where links are being incorrectly substituted. Our author (and our code) only select resources from the JCR to build links. AFAIK, the links should be relative but we are actually seeing host names in the links.For instance, if an author ...

    Type

    Discussions

    Views

    13.2K

    Likes

    0

    Replies

    11
  • I tried that option but it still hangs when I try to start profiling.

    Type

    Discussions

    Views

    4.0K

    Likes

    0

    Replies

    1
  • Well, let me give you some motivation. Nginx is an all around superior product to Apache.In the context of AEM, it has particular advantages. (Please correct me if I am wrong about any of this.)The way Apache works is that when a thread handles a request, it blocks on submitting the request to publi...

    Type

    Questions

    Views

    3.9K

    Likes

    6

    Replies

    0
Top badges earned by jkpanera
Customize the badges you want to showcase on your profile