OpenNTF.org - XPages Extension Library

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Response
SubjectNot reproducible
Created 06/23/2012 10:29 AM by Philippe Riand.
Modified<none> by Niklas Heidloff/Germany/IBM.
Body


The issue with the ASTMember NPE is suspect, but I can't reproduce it. Please send me something  that shows the error with the demo DB.

I tried this with the demo DB, and it worked:

 

<?xml version="1.0" encoding="UTF-8"?>
 
<xe:dynamicViewPanel rows="10" id="dynamicViewPanel2" var="viewEntry" role="presentation">
<xe:this.facets>
<xp:pager partialRefresh="true" layout="Previous Group Next" xp:key="headerPager" id="pager2">
</xp:pager>
</xe:this.facets>
<xe:this.data>
<xp:dominoView var="view1" viewName="AllContacts">
</xp:dominoView>
</xe:this.data>
<xp:eventHandler event="onColumnClick" submit="true" refreshMode="complete">
<xe:this.action><![CDATA[#{javascript:viewScope.myid = viewEntry.getUniversalID()
getComponent("dialog").show();}]]></xe:this.action>
</xp:eventHandler>
</xe:dynamicViewPanel>
 
<xe:dialog id="dialog" title="My dialog">
<xe:dialogContent>
Hey, I'm a dialog, id=
<xp:text escape="true" id="computedField1" value="#{javascript:viewScope.myid}"></xp:text>
</xe:dialogContent>
</xe:dialog>
 
</xp:view>