Hot answers tagged

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” ...
5 votes

How to get static page content from DXA in spring controller?

I am assuming you have understanding of basic flow of DD4T based content model where Component Template is directly connected with component view and Page Template is directly connected with Page view ...
  • 4,054
4 votes

migration from DXA 1.2 to DXA 1.5

On top of what Chris mentioned, you will find a list of API changes of all previous versions in the documentation of DXA 1.5 http://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v5/GUID-7AAF6049-...
  • 29.6k
4 votes

migration from DXA 1.2 to DXA 1.5

You can follow the release notes, which are included in the documentation for each version 1.3 http://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v3/GUID-D3920FCA-F021-4CC6-8ECF-0E7B31C5AC90 1....
  • 7,317
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 ...
  • 6,610
4 votes

dd4t1.31 java controller flow

There is a file "urlmapping.xml" in WEB-INF. In the file, there is following code. <bean id="dd4t" class="org.dd4t.springmvc.controller.DynamicPageController" parent="parent_controller"> ...
4 votes
Accepted

DD4T templates for Java and .Net

On the Tridion Templating side DD4T 2.0 Java uses the same TBBs as for .Net, so you can use the exact same installer. The reason this is not documented in the dd4t-2-java project is mainly because ...
  • 7,253
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 ...
  • 636
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+...
  • 1,049
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
Accepted

Model for a component link with any schema

I can give you a view from the .NET DXA - I guess its similar for Java. Do you want to create a hyperlink to the linked content? If so its rather simple, you simply have a property of type String or ...
  • 16.4k
2 votes

Model for a component link with any schema

I had the opportunity to talk to Huston in person and that gaves another angel on the problem. I cannot answer the component link question, but we can solve the left hand side / right hand side ...
  • 8,826
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://...
  • 7,253
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 --> &...
  • 7,253
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