cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when using object array as parameter of server-side event

Former Member
0 Kudos

Hi Friends,

I had defined an event in component interface of Component A, with object array as its parameter. but when I define event-handler for this event in Component B, the type of parameter in generated event-handler method is just the class itself instead of an array.

It's a bug or array parameter is not support by server-side event in WD4J?

Thanks in advanced.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186016
Active Contributor
0 Kudos

This is a bug. You should create a OSS message.

For workaround, you can let the event handler being created as it is now. After that you can edit the parameters manually.

Best Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Hi Ashwani,

Thanks for your reply. But after edting the parameters manually, the type of parameter resiled when saving the model. So the workaround you mentioned doesn't work.

Do you kindly have further suggestion?

former_member186016
Active Contributor
0 Kudos

I think you are trying to do the editing of parameter from the java editor.

Do it via the controller editer. Go the methods tab. Select the actionhandler.

In the parameter section edit the paramter. Change the dimensions here.

Regards,

Ashwani Kr Sharma

Answers (0)