I'm writing a mobile app, and I'm trying to open a document, but just get a blank page when I do and the error from error-log-0.xml of
SEVERE CLFAD0134E: Exception processing XPage request.
The relevant code is below. What's strange is I can open a document if I open it from a categorized data view as seen in the second data view listing. If I try to open the document from the first dataView listing, I get my errors. I want to do it the first way because of display and navigation issues (I don't like the way a categorized data view looks on mobile). The detailDocument page is complex, so I did not include all of it here. I've already tried stripping everything out of the detailDocumnent page to try to isolate the problem, but no luck so far. This problem applies to all documents, not just one specific document.
---Problem doing it this way-----
<xe:dataView id="dataView1" pageName="#detailDocument"
openDocAsReadonly="true">
<xe:this.data>
<xp:dominoView var="mPPL" viewName="mPPL">
<xp:this.categoryFilter>
<![CDATA[#{javascript:param.ProjectName + "-" + @Left(param.Phase,2) +"-" + param.location}]]>
</xp:this.categoryFilter>
</xp:dominoView>
</xe:this.data>
<xe:this.summaryColumn>
<xe:viewSummaryColumn columnName="itemText"></xe:viewSummaryColumn>
</xe:this.summaryColumn>
</xe:dataView>
---it works this way------
<xe:dataView pageName="#detailDocument"
openDocAsReadonly="true" collapsibleCategory="true"
collapsibleDetail="true" collapsibleRows="true"
expandedDetail="false" rows="7" id="byLocationDataView">
<xe:this.summaryColumn>
<xe:viewSummaryColumn columnName="itemText"></xe:viewSummaryColumn>
</xe:this.summaryColumn>
<xp:this.facets>
<xp:pager partialRefresh="true" id="pager1"
xp:key="pagerBottom" for="byLocationDataView">
<xp:pagerControl id="pagerControl1"
type="Next">
</xp:pagerControl>
<xp:pagerControl id="pagerControl2"
type="Previous">
</xp:pagerControl>
</xp:pager>
</xp:this.facets>
<xe:this.data>
<xp:dominoView var="mByLocation"
viewName="mByLocation" expandLevel="1">
</xp:dominoView>
</xe:this.data>
<xe:this.categoryColumn>
<xe:viewCategoryColumn columnName="ProjectName"
columnTitle="Project" contentType="text">
</xe:viewCategoryColumn>
<xe:viewCategoryColumn columnName="Phase"></xe:viewCategoryColumn>
<xe:viewCategoryColumn columnName="Location"></xe:viewCategoryColumn>
</xe:this.categoryColumn>
</xe:dataView>
---here's the document page.
<xe:appPage id="detailDocumentPage" pageName="detailDocument"
resetContent="true">
<xp:panel id="DetailsItem">
<xp:this.data>
<xp:dominoDocument var="itemDocument"
formName="Item" action="openDocument">
</xp:dominoDocument>
</xp:this.data>
<xp:inputTextarea id="itemText"
value="#{itemDocument.Item}" style="height:200px;width:350px"
rows="10">
</xp:inputTextarea>