This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 17, 2012, 10:58 PM
9 Posts
topic has been resolvedResolved

mobile can't open document from one dataView control, but can from another.

  • Category: Extension Library
  • Platform: Mobile
  • Release: 8.5.3
  • Role: Developer,Administrator
  • Tags:
  • Replies: 1
 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>

May 19, 2012, 10:56 PM
9 Posts
Re: mobile can't open document from one dataView control, but can from another.
 There was nothing wrong with the code I posted. Somehow at the top of the entire XPage, there was an extra data source I wasn't using and things worked when I got rid of it.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal