cancel
Showing results for 
Search instead for 
Did you mean: 

date check box nt checked

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

answered

Former Member
0 Kudos

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

former_member185086
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

what is the date check box ?

is it composite UI ? (inputfiled of type date and chcek box besides to that ) ?

Regards,

Govindu

Former Member
0 Kudos

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

0 Kudos

Hi Charan,

Can you post what code you have writen in Acion and what are the datatypes of attributes binded to check boxes and what is the parent node cordinality.

Thanks & Regards,

Bhargava.