Hot answers tagged

6 votes
Accepted

How do I use the CIL to resolve Component Links with child HTML elements?

The issue here appears to be having URL in the Link text. Current implementation of CIL does encode link text but since we have URL, it needs double encoding so that CIS can handle the request. As a ...
vinayknl's user avatar
  • 1,130
5 votes
Accepted

JSP Statements Not Interpreted in a DCP

If you're publishing to the filesystem, then you'll need to set the Component Template to output JSP, use the ComponentPresentationAssembler class and ensure that the DCPs are being published to a sub-...
Jonathan Williams's user avatar
3 votes
Accepted

Tridion 2013 JSP multiple value metadata only displaying single value

The pageModel.meta is defined for the HTML meta tags, it is actually not supposed to map to the CMS Page metadata. For mapping CMS Page metadata, you should extend the default Page Model and add ...
Bart Koopman's user avatar
  • 29.6k
3 votes
Accepted

Why does the Component Presentation Assembler not execute JSP code?

The ComponentPresentationAssembler needs access to your page context to work, so the constructor overload that accepts just the publication id won't work. You need to instantiate a JSPPage with the ...
3 votes
Accepted

How to use JAVA contants in JSP for DXA 1.5

The JSP EL (Expression Language) makes no provisions for accessing class constant values, so there is no means to easily replace the scriptlet expressions that reference the class constants ...
Bart Koopman's user avatar
  • 29.6k
2 votes

Need help on display as jsp extension in web page using tridion web 8 and dd4t (version2)

The reason this is happening is that you are sending all JSP files through the dispatcher. The dispatcher then finds the RequestMapping attribute on the PageContoller and lets it try to handle the ...
Chris Morgan's user avatar
  • 7,327
2 votes
Accepted

Resolving tcdl tags for DCP and JSP Page - REL tags in combination with JSP tags are not working

Finally, Found the culprit it's a config issue values are not correct: Before: <Property Name="tcdl.target.language" Value="jsp" /> <Property Name="tcdl.target.language" Value="rel"/> ...
Velmurugan's user avatar
  • 8,075
2 votes

Issues while querying Number type metadata fileds through JSP content broker query API

In general, the datatype Float has limited precision; it has a huge range, but it is not possible to represent every integer value within that range. So, in general, exact matches on float values are ...
Rick Pannekoek's user avatar
1 vote
Accepted

JSP resolve using DXA application in Tridion 9.5

DXA assumes that Pages (Page Templates) have a .html file extension in CM. To the outside world, this file extension is usually suppressed (so-called extensionless URLs), but it will resolve if you do ...
Rick Pannekoek's user avatar
1 vote
Accepted

DD4T 2 Java java.lang.ClassCastException

This is fixed in dd4t-java version 2.0.6. Any class you want to deserialize page data into must implement the org.dd4t.contentmodel.Page interface or extend the PageImpl class: public class ...
Raimond's user avatar
  • 7,253
1 vote

DD4T 2 Java java.lang.ClassCastException

What it is trying to do here is downcasting, which is not really a good idea. Simple Example: PageImpl is Animal TwoColPage is Cat Not all Animals are Cats, so the compiler throws an error The ...
Chris Morgan's user avatar
  • 7,327

Only top scored, non community-wiki answers of a minimum length are eligible