var viewPanel=getComponent("picklistView"); //get the componet of viewPanel sessionScope.put("pickledIds", viewPanel.getSelectedIds()); // store ids of selected documents in a sessionScope variable
dijit.byId('picklistDialog').hide();
<div id="picklistDialog" style="display:none"> <xp:panel id="picklistDialogPanel"> .... </xp:panel> <div>
function dialog_create(id) { var dialogWidget = dijit.byId(id); if( dialogWidget ) dialogWidget.destroyRecursive(true); dialogWidget = new dijit.Dialog( { }, dojo.byId(id)); var dialog = dojo.byId(id); dialog.parentNode.removeChild(dialog); var form = document.forms[0]; form.appendChild(dialog); dialogWidget.startup(); }
<script language="javascript"> XPS.addOnLoad(function() {dialog_create("picklistDialog")}); </script>
dijit.byId('picklistDialog').show()
XPS or XSP?
Yes correct.It think It should be XSP.
I noticed that when i create a response document, the view in the picklist doesn't have any content. Is there a solution for this problem?
Thanks
perhaps a wrong setting in the Notes view properties... there is a setting "show response document in a hierarchiy", that has to be turned off.
unfortunately that isn't the cause. but thanks for your answer
when setting up the library
dialogWidget = new dijit.Dialog( { }, dojo.byId(id));
returned an error