cancel
Showing results for 
Search instead for 
Did you mean: 

Call a service twice with different values

Former Member
0 Kudos

Hi,

I have two DropDownBoxes I want to fill with the service Helpvalues.GetList with different values. So I call the service in the init method. But then the second call overwrites the first call.

I thought about adding my own value attributes in my view but I get an error when I assign a ComplexType to the attributes.

Thank you

Julia

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Julia,

I think your DropDownboxes referring to same context.That is why your second call over writes the first one.

use 2 local context nodes ,fill them seperately from your service calls.

Former Member
0 Kudos

Hi,

thats right. But what kind of context node do I have to use. I can't use a node with the complex type and the type java.util.List is wrong as well. When I use only String the DropDownBox is only filled with one value.

Bye

Julia