on 01-03-2011 8:41 AM
Hi all,
i have a table of model node, cald frm rfc.
in which it contains check boxes, when ever we click on perticular check box. it shd get selected and get data by clicking on open button.
all the check boxes are selecting while clicking on that and getting data by clicking open.
if i click on date check box neither selecting, nor getting data.
we have assigned the only one open getdata action in to which we wrote coding for all the check boxes,
each and every check box is selecting expect the date check box
regards
charan
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Take checkbox UI element(as many as u want ).. Set the cardinality and selection of the node both to 1:n
and the attrbute for binding each checkbox with it should be of type Boolean....so go in properties of attribute and set its type to boolean.
Checkbox will strat working.
Thanks and Regards ,
Saurabh
Edited by: saurabh.c on Jan 10, 2011 6:14 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1.Define one sigle attribute name ot SelectedKey and bind it to selectedKey------SelectedKey ,
2.Define Second attribute keyToSelect -
Table.Result , where Table is Local Node name which has similar structure of Model node (or what output you want )
now all you have to do is below code which set the lead selection to selected Key.:)
if(wdContext.nodeTable().size()>0)
{
wdContext.nodeTable().setLeadSelection(0);
wdContext.currentContextElement().setSelectedKey(wdContext.currentTableElement().getResult());
}
else
{
wdContext.currentContextElement().setSelectedKey(null);
}
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
what is the date check box ?
is it composite UI ? (inputfiled of type date and chcek box besides to that ) ?
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Govindu,
thanks for ur quick reply,
tre are 9 check boxes residing 9 lables, the 9th check box lable name is date.
we created two nodes one is "date element" and the other is "disable_date element",
checked property is assigned to date element
enabled property is assigned to disable_date element
toggle gate is assigned to "open get data "
but here each and every check box toggle property is assigned to same open get data
and wrote coding tre.
regards
charan
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.