we are using Tridion 2009 SP1. Our webserver is a Weblogic.
We have content published with some taxonomies.
For showing the results we determine the tcm of the content using taxonomies.
When we have the list of tcm's, then we try to get the component presentation but sometimes we have the content published with his taxonomies but we don't have the component presentation published that we need.
We try to determine if the component presentation is published using the next sentences:
bool hasPres = false;
ComponentPresentationAssembler cpa = tagVals.getCpa();
String contentImage = cpa.getContent(compId, tagVals.getPresId());
if(!contentImage.isEmpty()) hasPres = true;
But we use cpa.getContent() we are writing the presentation to the page.
is there any method to validate that the component presentation is published?
Thank you.
Regards,
Gustavo.