????1.??????——???????锌?????????泄????????
????2.???????械?????????????APPBEAN?校???????????????????????
????????????????????
????3.????????
????????????????????????
??????????????????????????????????????????????????????
????toggleselectrow
????????
????1.?????????????????????? ??????
????2.????????????? ??????????????????????????校?
????3.??????校????????????
????4.????贸?????????校????????xml??????dailog??
????5.????????????????????
????6.???????xml?????????table?斜????????
????7.??写??????databean????写 exectue?????????????table????????????
????????????????校?
????8.?????????妤�?????
???????????瑁�
????1??????贸????????????????? ???/?????贸??? ????????????????????????????????????????????????????????
????2??????xml???????xml??????????????????
dialog id="testdialog" label="????????????" realitionship="DN_TEST">
<helpgrip id="testdialog_1" innerhtml="???????ID???????????????????"/>
<section id="testdialog_gridla_1_1_gridla">
<section/>
<table id="testdialog_table" inputmode="readonly" label="????斜?" selectmode="single">
<tablebody displayrowsperpage="2" filterable="true" inputmode="readonly id="testdialog_table_tablebody">
<tablecol dataattribute="siteid" id="testdialog_tablecolumn_1"/>
<tablecol dataattribute="description" id="testdialog_tablecolumn_2"/>
<tablecol dataattribute="orgid" id="testdialog_tablecolumn_3"/>
</tablebody>
</table>
<buttongroup id="testdialog_2">
<pushbutton default="true" id="bookmarks_2_2" label="???" mxevent="dialogok"/>
</buttongroup>
</dialog>
????3????写??????AppBean?????????????????AppBean?????谢?--??? ?????????????
????4????写???????????????? ?????DataBean?????????写????????????
package sitow.mis.webclient.dntest;
import java.rmi.RemoteException;
import java.util.Vector;
import psdi.mbo.MboRemote;
import psdi.util.MXException;
import psdi.webclient.system.beans.DataBean;
public class LpDialogDateBean extends DataBean {
public int execute() throws MXException??RemoteException {
//????????databean
DataBean bean=app.getDataBean("testdialog_table");
//???bean?????????
Vector<MboRemote> ver=bean.getSelection();
//??????databean
DataBean bLine=app.getDataBean("1440729049931");
for(int i=0;i<ver.size();i++) {
MboRemote mbo=ver.get(i);//????????????械?mbo
bLine.addrow();
//bLine.getMbo().setValue(""??""??11L);
}
return super.execute();
}
}
????5?????? ?????????????
?????????械?????
????1????????????????????写????????????????????????????????????????
????2??????????????????????????写?????????些??????????????
????3??????????????????????????????????貌????????
????4????????????????娴�????????