dojox.grid.datagrid - Strange error using Dojo Data Grid in Xpages -
my xpage contains header document data @ top , categorized dojo data grid child documents after it. in view set "at runtime, open selected document using" property "xpage associated document's form" , associate correct xpage form.
i did on view containing header docs. when document loaded, , when not in edit mode, dojo data grid threw strange error.
if go edit mode on doc, dojo data grid works.
if change setting above explicitly choose correct xpgage open, work.
i don't have problem changing setting explicit, know why works 1 way , not other.
here code rest data source:
<xe:restservice pathinfo="griddata" id="restservice1"> <xe:this.service> <xe:viewjsonservice viewname="(rstallrsppctasks)" var="rstentry" systemcolumns="4"> <xe:this.columns> <xe:restviewcolumn name="id"> <xe:this.value><![cdata[#{javascript:return rstentry.getcolumnvalue("id")}]]></xe:this.value> </xe:restviewcolumn> <xe:restviewcolumn name="status"> <xe:this.value><![cdata[#{javascript:return rstentry.getcolumnvalue("status")}]]></xe:this.value> </xe:restviewcolumn> <xe:restviewcolumn name="category"> <xe:this.value><![cdata[#{javascript:return rstentry.getcolumnvalue("category")}]]></xe:this.value> </xe:restviewcolumn> <xe:restviewcolumn name="title"> <xe:this.value><![cdata[#{javascript:return rstentry.getcolumnvalue("title")}]]></xe:this.value> </xe:restviewcolumn> </xe:this.columns> <xe:this.keys><![cdata[#{javascript:return viewscope.get("id")}]]></xe:this.keys> </xe:viewjsonservice> </xe:this.service> </xe:restservice>
Comments
Post a Comment