I am new to DSP Page. Could you please tell me how to disply documentList in a dsp page? The below piece of code gives improper output for displaying documentList having two strings oid and sub?
[SIZE=2]
%loop documentList%
%loop -struct%
%end%
Could you please tell me how to catch the value of radio button in a dsp page?
/packages/WmRoot contains code for various DSP pages.You can take an example of an IS admin page(where doclist are handled) and refer to code behind it.
Follow the same scenario for radio button as well
You need to be more precise in your descriptions, a clear description of your document structure would make help much easier.
If the document list is your top level structure and it contains only two text elements, you need only one loop. Your first posting imples, the document list’s name is documentList. Check this too.
Hi,
To loop over the document list and to populate the elements in the rows in table you can use the following code:
%loop [SIZE=2]documentList[/size]%
%endloop%
%value [SIZE=2]oid[/size]%
%value [SIZE=2]sub[/size]%
Also, to get the selected elements, you need to pass the radiobutton object(document.formName.radiobutton name) to a custom built jascript function where you can apply checked method(field.checked == true) to find out whether the radiobutton in any particular row is selected.