Questions tagged [dxa-java]
The dxa-java tag has no usage guidance.
278
questions
0
votes
0answers
58 views
DXA 1.4 JAVA Error serializing field XHTML type
When creating an entity with an XHTML field, I've got the following error:
org.w3c.dom.ls.LSException: unable-to-serialize-node: unable-to-serialize-node: The node could not be serialized.
at ...
2
votes
1answer
55 views
DXA 1.4 Managing empty regions
How we can manage empty regions, ones without a physical jsp, with the new TLD model?
We want to reproduce this behaviour without creating the region:
<tri:entities region="regionName" />
...
3
votes
2answers
119 views
SDL DXA Java 1.4 Resolving entityClass for multiple entities with same entityName
We've got a problem with the EntityBuilder when creating an entity. The builder is not resolving to the right entityClass when more than one entity class has been declared with the same entityName.
I ...
1
vote
1answer
1k views
Could not autowire field in custom controller
We are trying to upgrade from pre-release version of Java DXA to Java DXA 1.4.1. We have 2 custom Page Controllers and the whole setup was working fine with the older release of DXA. However when ...
2
votes
2answers
200 views
DXA Ehcache settings
In our application we have enabled the Tridion Object cache in cd_storage to true as well as Ehcache and timeToLive is 300 sec. Now the question is will the ehcache re-build the cache every 5 min (if ...
3
votes
1answer
268 views
Customize 500 Error Page in DXA 1.4 Java
When a page is not found, the DXA framework initiates a redirect to the website's error-404.html page but I could not find any redirect's when the HTTP code is 500.
After inspecting the source code ...
1
vote
1answer
50 views
DXA JAVA model type error
My DXA JAVA 1.4 website throws these warnings and errors in the log.
16:10:41.157 [http-apr-8080-exec-7] WARN c.s.w.c.impl.DefaultRegionBuilder - Could not find a model type for region Main with ...
3
votes
1answer
152 views
DXA caching binaries and static content
We are using DXA and publishing all to broker DB including binaries. When I make updates to binaries like csv file, the content is not getting reflected immediately. Same thing happens for the static ...
1
vote
0answers
90 views
DXA 1.2 Java Application caching using JMS remote synchronization
We are using DXA 1.2 Java and have enabled caching using JMS Remote Synchronization. Whenever we publish an item, the deployer cd_cache log is showing success as below:
2016-06-01 20:27:34,704 ...
3
votes
3answers
119 views
paragraphs and <dxa:richtext> tag
I use DXA JAVA 1.4's <dxa:richtext> tag to output a richtext field. I would like to ensure that the content from this richtext fields is always wrapped in a <p> paragraph. Can DXA handle ...
1
vote
1answer
91 views
DXA 1.4.1 compilation and cd_broker:jar:8.1.1-1007 mising
We are using Hotfix 1.4.1 version for upgrade but compilation is giving an error that cd_broker:jar:8.1.1-1007 is missing from maven.
D:\SDL-DXA-java\sh_dxa_hotfix_1_4_1\dxa-web-application-java\dxa-...
3
votes
1answer
44 views
Can the DXA 1.3 JAVA example webapp run with DXA 1.2 CM?
I am using DXA 1.2.1 JAVA. I want to try to upgrade my web application to DXA 1.3 first, then update the CM side later. Does the DXA 1.3 JAVA example webapp happen to be compatible with the items ...
5
votes
1answer
109 views
Session Preview service - 403 Forbidden
I have installed the DXA 1.3 Java Version in Tomcat.
I have also installed the Session Preview Service in Tomcat. I have verified that the service is working as per the instructions by hitting http://...
0
votes
0answers
47 views
Setting up DXA 1.3 - Problem with Language Selector [duplicate]
I am getting the DXA 1.3 Java version set up on an SDL Tridion 2013 SP1 site and am seeing the following error message in the logs:
Feb 29, 2016 9:05:56 PM org.apache.catalina.core....
2
votes
2answers
195 views
How to get a Dynamic Component in DXA 1.2
In a JSP page, Image and some text content is to be loaded based on the user type.
Example : for userType1 i want to show image123 and for userType2 i want to show image567.
Could you help me ...
3
votes
0answers
60 views
DXA 1.2: Controlling CacheProvider from Webapp
Currently, in DXA 1.2, cache provider is configured as cacheProvider bean in spring-context.xml in dxa-tridion-provider within dxa-framework project, which is used to configure PageFactory instance.
...
2
votes
2answers
88 views
Problem installing DXA 1.2 Java into Content Manager
I am trying to run the import.ps1 script which ships with the DXA 1.2 Java version and have an issue.
The Powershell script is unable to complete the import successfully and is giving the following ...
4
votes
1answer
102 views
DXA Java sending 500 status code for file not found
We are working on a website using SDL Tridion 2013 SP1, Oracle 12c (CM & CD) and Java on the CD side. Any invalid URLs on the website (links that don't exist on the website) are generating 500 ...
5
votes
2answers
2k views
'<>' operator is not allowed for source level below 1.7
I installed the DXA 1.2 JAVA web application on Tomcat with the Create-web-application-staging.bat script. Most of the site works, but the header cannot be rendered and shows an error message (see ...
3
votes
0answers
223 views
How to deploy dxa-example-webapp on WebSphere ND 8.5.5?
Our content delivery platform is Websphere Application server. Given this I am trying to install dxa-example-webapp.war into WebSphere App Server ND 8.5.5 via Admin Console. Application deployment is ...
5
votes
1answer
116 views
DXA 1.2 - Http probe requests fails in absence of Accept or Content-Type parameter in header
After recently upgrading to DXA 1.2, have noticed that new PageController introduced handleGetPageFormatted() which is suppose to be used for responding with formatted (mostly other than text/html) ...
2
votes
1answer
114 views
What is causing this LazyRepositoryLocation - Cannot find repository error?
12:39:13.932 [RMI TCP Connection(3)-127.0.0.1] ERROR c.s.c.config.LazyRepositoryLocation - Cannot find repository at ../repository : File ../repository does not exist at path /Z:/Source Code/DXA-SDL-...
4
votes
1answer
257 views
How to show main Navigation name in different language
We have a language specific website, so one Publication for English and another for Arabic.
We use the sitemap class to populate our site navigation. We have localized our Components. So the sub ...
2
votes
2answers
141 views
How to include metadata schema component in sitemapItem
I am using sitemapitem to display the navigation menu on our website. Our website requires an image against each structure group. So if
--menu1 (structure group 1) - image1
-- page1
-- page2
-...
4
votes
2answers
272 views
How can I just use the portion of DXA or DD4T which enables deserialization of TRIDION-published XML files?
I have an existing Java web app which will soon be making use of some components published from Tridion as files in DD4T format. I'm wondering which specific portions of the DXA or DD4T I can use ...
4
votes
1answer
76 views
How to assign same priority(or order) to regions on a page?
We need to use two regions on our article pages. The article page has a 2-column layout. On the LHS column we have different kind of content.
The main type of content on LHS for example are:
...
5
votes
0answers
86 views
StaticContentNotFoundException when accessing published image media
I added images to an Article Component and added it to a Page and published it. I can see the image in the Broker DB and the view prints out the url correctly
/en/media/bg-brands-by-services_tcm9-...
3
votes
0answers
119 views
DXA controller is not able to get post request parameter
I am trying to submit a login form with the post request but I am not getting all the request parameters (like username, and password) in the controller.
JavaScript code:
loadurl = doamainName + "/...