5
votes
Accepted
Problem upgrading SDL Tridion 2013 Web Application to SDL WEB 8.5 (Spring, Hibernate)
With Web 8.5 the Content Delivery framework is via microservices. So it really doesn’t matter what versions of Spring or Hibernate the app is using, unless you’re trying to use the legacy “in-process” ...
4
votes
Spring MVC Controller- Displaying Tridion Page gives - "Bean pageModel not found within scope"
By returning a view name you tell Spring MVC to find this view in web resources and then to invoke the code in that view. If your view contains jsp:useBean tag, it obviously look for a PageModel bean ...
4
votes
Update preview always shows warning on DD4T 2 / Java / Web8
The problem, as it turns out, is a missing instruction in the SDL documentation. I had recently upgraded from SDL Web 8.1.0 to 8.1.1 (aka the Cumulative Update 1). I followed the instructions on how ...
3
votes
HTTP Status 403 - For Spring MVC Page on Post Operation
Got it working.
Basically, It seems that forms in DXA need to be tied to csrf-token. So inside your form include this tag
<dxa:csrf-token/>
to something like
<form method="POST" ...
3
votes
spring caching with ehcache is not returning cached object
After doing a lot of trial and error, I was finally able to cache my object. Here are my findings for anyone trying to implement caching in DXA. These are not specific to DXA but common for Springs+...
2
votes
Accepted
How to configure JMS ConnectionFactory in DD4T2.0-Java webapp when its OSB as JMS server
You probably can use Spring's JMS listener combined with OSB. Configuration looks this this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://...
2
votes
Can we add our own custom Controllers in Spring MVC application which is using TRIDION
It seems you use dd4t 2. In the dispatcher-servlet.xml file you need to add your controller:
<!-- Configure me: change this to the base-package
where your overridden controllers are -->
&...
1
vote
Usage of EHCache and Error while registering EHCache caused outage
In a DXA 1.7 Web App, EHCache is used by both DD4T and CIL. The log messages reveal that the issue is in a section of the CIL cache which caches Discovery Service Capabilities.
Your theory that the ...
1
vote
Spring MVC Controller- Displaying Tridion Page gives - "Bean pageModel not found within scope"
Found a workaround but not the correct answer
So I was using this code to display page
@RequestMapping(value = "/{locale}/pegasus", method = RequestMethod.GET)
public String pegasus(ModelMap ...
1
vote
How to configure JMS ConnectionFactory in DD4T2.0-Java webapp when its OSB as JMS server
Configuration mentioned by Raimond above works and the spring webapp is now able to make connection to the JMS topic defined in OSB. Just couple of minor corrections thats why pasting the conf again ...
1
vote
Update preview always shows warning on DD4T 2 / Java / Web8
Even if everything is configured fine, you may get a warning that the preview is not up-to-date if your Page or any of the Components on the Page is checked out with a permanent lock.
If this is the ...
Only top scored, non community-wiki answers of a minimum length are eligible