Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
107 views

Page Model Meta Sitemap Keyword missing in Page view

Earlier when we were using DXA CTP 2, ${pageModel.meta.sitemapKeyword} would give us the Page navigation Keyword. Since we moved to DXA 2.0, this returns no value. We are not sure if this is related ...
4
votes
1answer
97 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 ...
3
votes
3answers
196 views

Content Broker database - Using non relational database with DXA

Like DXA works with JSON, a database like MongoDB (non-relational) would give a better performance than a DB2 database. Could we use a database non relational for the Broker?
3
votes
2answers
155 views

Optimal way to expose Tridion content to external systems?

We are currently using SDL 2013SP1 with Spring MVC at the front end and want to expose the HTML fragments to other external systems. Is creating REST API over ODATA a good option where external ...
3
votes
2answers
139 views

DXA 1.7: Custom Configuration / Resource Schema

I am currently struggling with the DXA Configuration / Resource settings. I was looking at the documentation Managing configuration (Java) and saw that I can either use my own Schema or the existing ...
3
votes
3answers
113 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 ...
3
votes
2answers
550 views

DXA 1.2 Modules for Java?

I am using DXA 1.2 with Java for my applications, referring SDL docs here: DXA Modules, which says that there are four modules provided by DXA - Search Smart Target Google Analytics Media Manager ...
3
votes
1answer
338 views

DXA Java 1.5 on Web 8.1.1 | Localization not found error when browsing homepage

I’m testing DXA 1.5 (Java) on Web 8.1.1, have published 400 Example Site successfully to broker db and dropped war file to Tomcat webapps directory. When I browse to root URL at http://localhost:8080,...
3
votes
2answers
267 views

Can any body please direct me to Step by Step guide to setup example website of DXA 1.3 JAVA using SDL Tridion 2013 sp1 in eclipse

Can any body please direct me to Step by Step guide to setup example website of DXA 1.3 JAVA using SDL Tridion 2013 sp1 in eclipse. I have tried referring to following blogs. https://community.sdl....
3
votes
1answer
91 views

oAuth is disabled but DXA Webapp gives an error “Client id is required”

I have a Java DXA 2.0 environment with Web 8.5. The microservices are setup on a Linux environment. I have set oAuth to false at all the places possible on the services and the webapp. I followed the ...
3
votes
1answer
97 views

SDL Web 8.5 with DXA JAVA 2.0

I was going through SDL doc as i need to integrate SDL Web 8.5 with DXA JAVA 2.0. came across this piece of code but didn't get it what it is used for. Also checked documentation and nothing was there....
3
votes
2answers
112 views

Embedding DXA entities other than images in RTF fields

We are using DXA 2.0 (Java) and can see if we embed images in RTF fields that the RTF contains the embedded Image entity as part of the set of fragments generated for the RTF. However if we link to ...
3
votes
2answers
209 views

DXA Java 1.7: Load specific component content from any page

We're trying to load some dynamic content (Component) to one of our pages, for most of the cases fetching the metadata based on tcmId and using WebComponentMetaFactory.getMeta(tcmid) would suffice, ...
3
votes
1answer
130 views

Universe must not be null or empty Error SmartTarget

While connecting the smart target in tridion, I am getting the below error. Can someone tell me the debugging tips for the same issue. java.lang.IllegalArgumentException: Universe must not be null or ...
3
votes
2answers
101 views

DXA 2.0 JAVA microservice in Linux

I've installed CD microservices in Linux by creating '{service-name}.service' files in /etc/systemd/system/ and registering them. All the CD microservices run well. I tried to create in such way DXA ...
3
votes
2answers
116 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 ...
3
votes
1answer
256 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 ...
3
votes
1answer
2k views

HTTP Status 403 - For Spring MVC Page on Post Operation

I am having this issue where I am able to display a Page using Spring MVC Controller @RequestMapping(value = "/example/user", method = RequestMethod.GET) public ModelAndView showForm() { System....
3
votes
1answer
79 views

DXA: .jsp extensions give Tomcat 404 page

On our DXA website (1.5, java version) we are running against the following problem: All 404 exceptions get caught without any problem by the Page Controller in the handleNotFoundException method ...
3
votes
2answers
143 views

DXA 1.5 (java) build error

I tried to build DXA 1.5 distribution these days, but it has errors like below: [ERROR] Failed to execute goal on project cea-webapp: Could not resolve dependencies for project com.cea.dxa:cea-...
3
votes
1answer
149 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 ...
3
votes
1answer
150 views

Cannot expand entity EntityModelData for page PageRequestDto

We are using SDL Web 8.5 and DXA 2.0 Java suddenly our website started showing 500 error. While debugging we have found that pages throwing below kind of model service error Whitelabel Error Page ...
3
votes
1answer
60 views

Unable to get URL to Contextual Image Service in Java DXA 1.7

I am using DXA 1.7 Java web application from GIT hub and the DXA properties file having the below properties. Mapping for CID resolver (Filter or Servlet): dxa.modules.cid.mapping=/cid/* Class to ...
3
votes
1answer
37 views

DXA 1.6 disable CWD Context

Is it possible to disable CWD Context?, in our implementation we don't really need any of the CWD_* libraries since Tridion won't be used for device detection and CWD_* are adding an unnecessary load. ...
3
votes
1answer
282 views

DXA 1.7: Static assets in webapp instead of published html design

I want to store static assets like css/js/fonts in the dxa-webapp instead of publishing it in Tridion. I have seen one guide from Bart (DXA HTML design decisions) and also some topics here at ...
3
votes
2answers
248 views

Converting Spring DXA Webapp to Spring Boot APP

Our requirement is very simple we would like to create a Spring boot microservice and would like to fetch the content from Tridion. We have identified 2 ways of doing it Either add minimal DXA ...
3
votes
1answer
63 views

DXA Component template metadata - Region Name not excluding the module name

It looks like there is some problem regarding the automatically Region Name setup on empty component metadata field. I currently have this setup on my component template: From my understanding the ...
3
votes
1answer
65 views

DXA 1.4 Java: Problem in accessing custom embeddedable fields

We are facing issue with accessing custom Embedded fields in Java DXA 1.4 solution. Default DXA Linklist component is working fine, but when we create custom schema like "CeairLinkList" Then it is not ...
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 ...
3
votes
1answer
182 views

Embedded images in RTF field are not rendering correctly

The problem is image is not rendering properly, we could see that it retrieved properly from content service, as i mentioned below. But when it reaches the entity model as RichText field it is ...
3
votes
1answer
35 views

Application Model Integration

We are planning to use SDL Tridion in an external web application, where the needs are to include some contents in certain parts of the application, something like banners, news, etc. (XO content ...
3
votes
1answer
135 views

Unable to call OData service for “http://abc-xyz.com:8082/discovery.svc” URL and service query “/TokenServiceCapabilities”

In our DXA application, we are trying to check connectivity of our webapp to a new PROD CMS Environment. However, I keep getting the following error, trying to run the app, and not sure why it cannot ...
3
votes
1answer
158 views

Extended KeywordModel with metadata fails when metadata empty

This is the metadata schema that we have linked to a keyword @Data @SemanticEntity(entityName = "HotelMeta", vocabulary = SDL_CORE) public class HotelKeyword extends KeywordModel { @...
3
votes
1answer
88 views

Can we add metadata fields to RTF links to Asset Components?

Is there a possibility to include file metadata fields to the anchor's markup in RTF? On our custom Rich Text Field class, we want to access image and file metadata fields to extend functionalities ...
3
votes
1answer
100 views

No value found in the database for a non-nullable property: 'id'

Since today I am getting a strange error in discovery service. I did set up publishing for a new publication and added a mapping in the WebUI (Web 8.5). Richt click Publication > Properties > ...
3
votes
1answer
104 views

DXA Java 1.7 / 2.0 CTP: Broken images with special characters in file name

I see this question already being discussed and answered in the community also refering to this known and fixed issue: https://github.com/sdl/dxa-web-application-java/issues/32 However we are ...
3
votes
1answer
235 views

How can I get a Component in Structure Group metadata?

UPDATED We haven't found a solution, and we think every step is right. What are we missing?? Core Initializer: @RegisteredViewModel(viewName = "myPage",modelClass = CustomPageModelImpl.class) ...
3
votes
0answers
55 views

Can we expose Experience Optimization results via Public Content API for the applications not built on DXA?

We are using SDL 9 along with DXA 2.0 to host our website. We now want to expose the content to other platforms which are built on different technologies. XO gives us the possibility to display ...
3
votes
0answers
172 views

DynamicList returns list of entities with null values

Originally, I had extended DynamicList<FAQs, SimpleBrokerQuery> from my custom model FAQsContentList where I want to execute a SimpleBrokerQuery on a few filterKeywords. In the logs I can see ...
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. ...
3
votes
0answers
221 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 ...
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 + "/...
2
votes
2answers
61 views

Is DXA-2.1 available with Java?

I am looking for Java DXA-2.1 source on GitHub, checked on GitHub but not able to find 2.1.0 release on repository, please provide information on this? I looked into repository: https://github.com/...
2
votes
2answers
92 views

How to remove the HTML content from a Page when Region is used in DXA 1.5 Java?

We are trying to publish a .txt using a code Component by creating a Region and using a custom Page Template for .txt files. Is there a way to remove the HTML tags that the Region is adding for my ...
2
votes
2answers
83 views

migration from DXA 1.2 to DXA 1.5

Could you please list out what all features are added in DXA 1.5 which are not present in DXA 1.2? Also In my current project we have to migrate spring Web App project from DXA 1.2 to 1.5 so I need ...
2
votes
1answer
93 views

DXA 1.2 doesn't support PAGE LINKING in the Page meta data schema OOB?

I have page meta data schema, which needs to have a field which can be linked to page link by providing the TCM ID value of the page to be linked. eg. Canonical URL is the field in the schema and with ...
2
votes
2answers
60 views

What are the steps to be followed to upgrade the DXA Java framework from 1.5 to 1.6?

I would like to upgrade DXA java 1.5 to 1.6, Is it only JAR changes or Do I need to install in at CMS end as well ? What are the steps to be followed to upgrade the DXA Java framework from 1.5 to 1.6 ?...
2
votes
1answer
62 views

Changing xml field name makes content to disappear from components in SDL WEB 8.5

We have modified a field XML name and then see that all components with that schema is missing the images, whose XML field was modified. Is there a way to prevent loss of data in such scenarios?
2
votes
1answer
113 views

How to add the same http://localhost:9080 as a 'BaseUrls' in “preview and live” target in topology manger

How to add the same http://localhost:9080 as a 'BaseUrls' in "preview and live" target in topology manger? I can add the above base URL in preview and it's working fine when I try to add in Live. it'...
2
votes
2answers
269 views

How to create a Tridion DXA View Model to View (JSP) for a video field (mp4 or mpeg)?

I have tried to define a model using MediaItem class(see Example below) but not working. I know how to do it using YouTubeVideo or embeded video Also, When I extract MediaItem.java abstract class the ...