Questions tagged [java]

Java is an object-oriented language and runtime environment (JRE). Java programs are platform independent, because they are compiled to bytecode and their execution is handled by a Virtual Machine called the Java VM or JVM.

Filter by
Sorted by
Tagged with
1
vote
2answers
162 views

DD4T with java using OData

I am using DD4T with java using odata web service. I am able to retrieve the content of whole page in java using odata. But I am not sure how can we get the values of individual elements to create the ...
1
vote
1answer
51 views

Prevent this error from appearing due to invalid page requests

In Tridion 2013 we are getting generic exception for the pages that do not exist in the website. Is there a way to prevent generic errors due to invalid page requests? Thanks.
1
vote
2answers
114 views

DXA Java render embedded image in RTF

When creating content in a RTF field you have the option to insert tables and images. An Image is added to the RTF field with a fixed with of 100%. How can we manipulate that ? <p> <img ...
1
vote
0answers
62 views

Adding SDL Web 8.5 CIL maven dependency in JAVA REST Web service is throwing exception

I am trying to create a RESTful Web Service using Jersey (I am new to Java). When I add the jersey dependencies in pom.xml, it worked fine. But when I am trying to add SDL Web 8.5 CIL maven ...
1
vote
0answers
71 views

Java : Unable to use multiple discovery / content svcs when using content-client-api JAR

First a little background… In our current Java Services, we have one called “Query”. This service starts up, connects to a Discovery Svc using discovery-client-lightweight at which point we are able ...
1
vote
0answers
208 views

Missing KeywordModelData from a Dynamic Component using Session Content Model

We use SDL Web 8.5 + DXA 2.O for Java. Is it available somewhere the API for the CIS? We want to retrieve the keywords from a component that it's linked to a dynamic component presentation, but ...
1
vote
0answers
48 views

Content Delivery Java API 2013SP1 objectcache Tomcat does not shutdown

We use the Java content delivery API on Tridion 2013SP1 with ObjectCache enabled. When running as a Java web application on Tomcat 7, we notice the Tomcat server will hang on shutdown when we have the ...
1
vote
0answers
41 views

XSLT error after setting up dd4t with java

We have setup DD4T with java as per URL https://code.google.com/p/dynamic-delivery-4-tridion/wiki/31_Quickstart We have ported the content porter package from https://github.com/dd4t/dynamic-delivery-...
1
vote
1answer
74 views

Is it possible to resize image file on Java DD4T?

I'm making WEB site by Java DD4T. On .NET version, it's very easy to resize image. But on Java version, I can't find how to do that, even though I searched source codes. Is there any out-of-box ...
1
vote
0answers
90 views

When unpublishing component using DCP, how to get component's custom meta data using java based deployer extension?

I have a deployer extension written in java in which I have customised logic for generating some PDF files based on condition check during publishing of component using DCP. We have named the PDF ...
1
vote
0answers
157 views

Not able to get the metadata of the component through java Broker API code

I am trying to get the metadata of the component published to broker. Here is the code snippet - Note :- in docIds[i] i have the component Ids. ComponentPresentationFactory compfac = new ...
1
vote
0answers
55 views

Getting XML output in Java using Core Services [duplicate]

I have done a program in Java which sets ItemTypes in Tridion and gets the list of all specified ItemTypes in a Publication. I have used Element to getList of items. import java.io.IOException; ...
0
votes
1answer
86 views

Demo project for SDL Web 8.5 Core Service

I need a full Java project setup for Core Services to get Component details by using Java program
0
votes
2answers
106 views

DD4T 2 Java java.lang.ClassCastException

I have a page class defined as below (I've removed all custom fields). public class TwoColPage extends PageImpl { //TODO: metadata fields } In my JSP I have <jsp:useBean id="pageModel" type="...
0
votes
2answers
266 views

Get components on the content delivery side using the java content delivery api and check component templates used for it

I am working on tridion content delivery java api. I would like to know which java classes are invoked on publishing a component from tridion. My requirement is to check the component published, ...
0
votes
2answers
60 views

OData WebService (java) giving Error Result - Tridion 2013 SP1

OData Webservice base url http://myserver:11090/cd_webservice/ws/odata.svc hit on browser working fine; results below: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <service xml:...
0
votes
1answer
36 views

Render Component Presentation cd_dynamic 7.1.0 error: cannot access Page

I've got a compilation error with the following lines: JSPPage dcdPage = new JSPPage(pageContext, pageId); ComponentPresentationAssembler cpAssembler = new ComponentPresentationAssembler(dcdPage); ...
0
votes
1answer
123 views

How to access custom meta of publication in JAVA?

I have some meta data at the Publication level which I am trying to access using the Content Delivery API (JAVA), I can see the functions to get Page & Component metadata but could't find the way ...
0
votes
1answer
170 views

Getting a published page's version at runtime from the broker database (Tridion 2011 Java)

I'm in the process of implementing a modular JS/CSS system on our site and I'd like to introduce a cache buster ?v=1 query to the end of the file url's. Due to the fact we use a runtime DCP to write ...
0
votes
1answer
61 views

Getting dynamic components as data objects and interogating them at runtime - ASP Java - Tridion 2011

I'm working on a site with a lot of traffic, and we're trying to avoid broker queries on meta data as some load tests have caused a server overload. I'm trying to build a dynamic offers and ...
-1
votes
1answer
106 views

fetch publication structure using core-services (java) [closed]

I want to fetch publication structure using core-services (java) from SDL Trdion13. what i need to do for this?

1 2
3