3 votes
Accepted

DXA Custom Controller Issue (Routing)

I guess that (part of) the problem is that your controller classes are not explicitly declared as public (and the default visibility for classes is internal in C#). I also don't understand why the ...
Rick Pannekoek's user avatar
2 votes

Can we add our own custom Controllers in Spring MVC application which is using TRIDION

It seems you use dd4t 2. In the dispatcher-servlet.xml file you need to add your controller: <!-- Configure me: change this to the base-package where your overridden controllers are --> &...
Raimond's user avatar
  • 7,253
2 votes
Accepted

DXA Model Source Code

You failed to indicate which version of DXA you are using and if you are using .NET or Java, but here are the locations of the source code for the models of the DXA Core module. You find these in the ...
Bart Koopman's user avatar
  • 29.6k
2 votes
Accepted

SDL Web8 with DXA 1.6: Unable to use multiple publications in CMS that will server the pages and content for a single web application hosted on IIS

Looking at your requirements, I see the following Topology Manager configuration: 1 Website with Base URL http://{domain-name} 1 Web Application with Context URL / (Root Web App) 6 Mappings with ...
Rick Pannekoek's user avatar
2 votes
Accepted

"OutputStream is not available when a custom TextWriter is used" error when returning FileStreamResult through a view with @Html.DxaEntities()

But why do you inherit from DXA's BaseController? Why not have a "regular MVC controller" which would return the relevant data? I think you should approach this the following way: Render the ...
Atila Sos's user avatar
  • 6,290
1 vote

"OutputStream is not available when a custom TextWriter is used" error when returning FileStreamResult through a view with @Html.DxaEntities()

I think Atila's answer is your best bet. I think the problem you're having is that DXA is involved quite early on in the pipeline. It's getting the page content from Tridion, building up the page ...
Neil's user avatar
  • 6,698
1 vote

"OutputStream is not available when a custom TextWriter is used" error when returning FileStreamResult through a view with @Html.DxaEntities()

Did you have a look at the Example Site / Core Module? It also supports Downloadable content, but not using anything near to what you are trying to do. See, for example: The Download View Model (...
Rick Pannekoek's user avatar
1 vote
Accepted

DD4T Template in SDL Web 8.5 Page Returning Null Value

Found the issue in your Global.ascx.cs file, The following below line wrong, it should register your PageController class not MvcApplication class builder.RegisterControllers(typeof(MvcApplication)....
Velmurugan's user avatar
  • 8,115
1 vote

Change the default page of the DXA application to my custom home page DXA Java 1.5

DXA would render the page content directly from the database. The view models can be cached. For you to be able to render a file (instead of the model from the database) from the filesystem directly, ...
Shiva's user avatar
  • 2,168
1 vote
Accepted

DD4T 2: binding viewModel with not using the rootElementName in .net

You are correct, DD4T resolves the type of the model based on the Schema Root Element name. The best practice would be to have unique names for the SchemaRootElement but if you don't want to do that ...
Kunal's user avatar
  • 1,485

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