on 11-27-2007 5:46 AM
Hi ,
I am maooing UI elements with model node attributes of web service. Model nodes are nested. butas i mapped UI elements , its becomes non editable.
Kavita
You change the cardinalities to 1:1 and try.
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 cardinality of your three nodes and what is the structure of the nodes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I am mapping UI elements with model node attributes of web service. Model nodes are nested. butas i mapped UI elements , its becomes non editable.
Kavita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Its because the cardinality of your model node is 0..n. And as you can't change the cardinality of the model node. You can copy the model node into the value node using WDCopyService and then set the cardinality of this value node to 1..1.
This will solve your problem.
thanks & regards,
Manoj
To make it enable i have to write code in init() method of component controller to instantiantiate that node ??
Node A
-
Node B
-
Node C
This is structure of my model nodes. inputfield elements mapped with model attributes under node B are editable , but those mapped under Node C are not editable.
How cn i check size if input nodes before executing web service? , i.e. I m going to assign values to attributes of these nodes then going to execute web service.
NodeA_DTO
...............NodeB_DTO
....................NodeC_DTO
This is structure of my model nodes , Nodes A , B , C are DTO s
i wrote following code in init() method
{
ComplexType_A_DTO aDTO = new ComplexType_A_DTO();
aDTO.setaName("Kavita");
ComplexType_B_DTO bDTO = new ComplexType_B_DTO();
bDTO.setbName("TestB");
ComplexType_C_DTO cDTO = new ComplexType_C_DTO();
cDTO.setbName("TestC");
bDTO.addC(cDTO);
aDTO.addB(bDTO);
}
After Writing this code UI elements assignd to attributes under Node A and B are editable but those UI elements assignd to attributes under C are still not editable .
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.