9
votes
Accepted
DXA & DD4T: Activate json compression
You can turn it back on in your Spring dispatcher servlet XML:
<!-- DD4T Provider beans -->
<bean id="binaryProvider" class="org.dd4t.providers.impl.BrokerBinaryProvider">
<...
8
votes
Accepted
Custom Link and Richtext processing in DXA Java 1.7
Some time ago, we also worked on a DXA implementation where we customized the link resolver (I think we were using DXA 1.5 or 1.6, but the approach should be similar).
The Spring framework should ...
7
votes
Accepted
DXA Java Model mapping issue
I think the problem here is that the implicit semantic mapping "de-pluralizes" the name of a list-type property. So, a property called "items" implicitly maps to a CM field called "item".
However, as ...
7
votes
Accepted
DXA with Java | Cannot detect ViewModel for ViewData MvcDataImpl
The first issue clearly states that the custom models and views have not been registered with DXA. You'd have to create a class that extends AbstractModuleInitializer and register all views and custom ...
6
votes
DXA: Disable DD4T EHCache
That EHCache uses a lot of memory makes sense, since when caching is turned on, it will use the configured amount of memory to store items.
If you disable cache, be prepared to take a big ...
6
votes
Accepted
DXA Java 1.5 on Web 8.1.1 | Localization not found error when browsing homepage
You are requesting http://10.9.5.175:8080
You have your BaseUrls set as http://localhost:8080
Add a Base URL of http://10.9.5.175:8080
You can add a BaseURL with the Powershell command (assuming ...
6
votes
Can we upgrade spring version in dxa from current 3.2.8 version
If you are using Tridion 2013 SP1, that implies that the CD libraries are used in-process and hence the version of Spring is dictated by CD (or at least: the version of Spring you use should be 100% ...
6
votes
How to redirect to a static (present in file system) 404 error page in DXA 1.5 Java instead of error-404.html
In case of 404 exception DXA indeed resolves a page error-404 and shows it. Such a case is handled by @ExceptionHandler(NotFoundException.class) annotation in PageController. I don't see any way how ...
6
votes
DXA 1.7 dependencies not in Maven Central / not needed
You don't need easylicense, that's right. There were some known (and
fixed in some later versions) bugs in CIL when some artifacts were
still dependent on CIS stuff. Simply exclude easylicense from ...
6
votes
Accepted
Target Groups Not Excluding Component Presentations
Bart, your comment was correct.
It seemed that the target groups were published, but the extension dao (<Bundle src="storage_extension_dao_bundle.xml" />) wasn't properly set up, and the ...
6
votes
DXA JAVA Custom controller for PageModel
The solution is surprisingly simple.
@Controller
public class MyPageController {
@Autowired
private PageController pageController;
@RequestMapping(value = "/articles")
public String ...
6
votes
Accepted
Is DXA-2.1 available with Java?
DXA 2.1 is avaliable for .NET only, see here
The Java version is planned for release soon after 2.1 in the subsequent 2.2 release
Also, here (in the comment):
6
votes
Accepted
The very first time Page loading takes too much time
There are various reasons to your page loading for the first time call will get slow.
The first request to a publication requires downloading & parsing of a lot of binary files with publication ...
5
votes
Accepted
Universe must not be null or empty Error SmartTarget
The error indicates that something went wrong when loading your configuration file (e.g. it is invalid).
To resolve it, make sure your smarttarget_conf.xml file has a value for the DefaultUniverse ...
5
votes
Accepted
DXA 1.7 dependencies not in Maven Central / not needed
For future reference: We had to put the artifacts from #3 in the local repository, after that the build worked. We did not need to exclude #1 and #2.
(I must post this as an anwser since I am not ...
5
votes
Accepted
DXA 1.7: Custom Configuration / Resource Schema
Whether you use a key value pair or a specific Schema doesn't matter, the configuration is serialized the exact same way. You can for example take a look at the Google Analytics module, it has a ...
5
votes
Accepted
How to remove the HTML content from a Page when Region is used in DXA 1.5 Java?
As Bart says, DXA in general is designed to generate HTML, but in your case particularly the use of the dxa:region tag causes issues.
You could let the Page View output the content from the "Code ...
5
votes
Accepted
Content Broker database - Using non relational database with DXA
SDL doesn't currently support any non-relational database for the broker, so the answer is "it depends".
If you want to you can use a different storage layer altogether by extending the deployer to ...
5
votes
SDL DXA Model Service cache not getting invalidated
The default configuration of all caches in the DXA source code is set on production/live values, to ensure the performance is optimal in case no changes are being made.
However, when you want to ...
5
votes
How DXA is different than having a Dynamic Component Template which serves the response in JSON?
DXA is so much more than just outputting content to JSONs. There is a lot of material about DXA and its features, but some of the most interesting/valuable are :
it's SDL supported
the framework has ...
5
votes
Optimal way to expose Tridion content to external systems?
Whether creating a REST API over OData is a good option for you, nobody can answer but you I would say. Simply using a REST service is commonly accepted as one of the easier ways for external systems ...
5
votes
Accepted
Page Model is null after model pipeline
Have you enabled the core-module maven profile? Otherwise check this and all the steps in Nunos excellent step by step guide for DXA Java: http://www.tridiondeveloper.com/using-and-debugging-dxa-java-...
5
votes
DXA 1.8 Java Application Error
Let me explain how to interpret such a Stack Trace:
The exception is a NullPointerException, meaning that the code tried to dereference a pointer which is null. This generally means the code is not ...
5
votes
Accepted
How to add the same http://localhost:9080 as a 'BaseUrls' in "preview and live" target in topology manger
This is expected behaviour as you shouldn’t be able to use the same url for two sites (within Topology Manager).
You’re going to have to either:
Specify a different port
Use a different hosts name (...
5
votes
Accepted
SDL Web 8.5 with DXA JAVA 2.0
This is used to inject markup from entity views to placeholders in page views, for example additional CSS/JS includes, JS snippets to be executed after jQuery has been initialised etc. This makes it ...
5
votes
Accepted
oAuth is disabled but DXA Webapp gives an error "Client id is required"
I got rid of that error from the logs by adding the TokenService back to the cd_client_conf.xml on the webapp side.
<TokenService ClientId="clientID" ClientSecret="encrypted:password"/>
This ...
5
votes
Changing xml field name makes content to disappear from components in SDL WEB 8.5
The Component content is stored in XML format in the DB.
If you update a schema XML name then the XML for that component no longer maps to that new field[1].
You can synchronize the content against ...
4
votes
How to route a request to a static html file in DXA Java 1.5
SDL DXA, out of the box, has a PageController with the following Request Mapping
@RequestMapping(value = "/**", produces = {MediaType.TEXT_HTML_VALUE, MediaType.ALL_VALUE})
This is handling ALL ...
4
votes
Accepted
What versions of DXA will be supported for older versions of Tridion?
Offically, DXA v1.6 is the last version that will be supported and fully tested against SDL Tridion 2013 SP1.
Bart covers this in detail in his Out with the old, in with the new post on the community ...
4
votes
Accepted
TokenService: Token expired message after a couple of minutes
Apparently the VM's time was running slow, it was 5 minutes behind, so the token was already expired.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dxa-java × 299dxa × 295
dxa-2.0 × 78
web8.5 × 61
web8 × 41
2013-sp1 × 36
dxa-1.5 × 30
dxa2.2 × 27
dxa-1.7 × 24
dxa-1.4 × 16
dxa-1.2 × 15
sdl-tridion × 11
java × 9
2013 × 7
sites-9.5 × 7
dxa-1.6 × 7
dxa-1.8 × 7
content-delivery × 6
microservices × 6
model-service × 6
experience-manager × 5
cache × 5
spring × 5
sites-9 × 4
2013-sp1-hr1 × 4