on 04-19-2007 6:52 AM
I created an EJB and hard coded some values as a 2D string array because I had to display data in a VC table.But once I dragged the service onto the design workspace of the VC, I got the following message: "Port 'Response' was omitted because it contains nested tables, which are not presently supported by Visual Composer". The service appeared without the 'Response' port. I had written the following in the bean:
public String[][] trainingInfo() {
// TODO : Implement
String[][] trainingInformation = {{"SAP EP" , "16.04.07" , "21.04.07" , "ABC"},
{"Java" , "18.04.07" , "23.04.07" , "PQR"},
{"Workflow" , "18.04.07" , "26.04.07" , "XYZ"}};
Somebody pleas tell me how do I code the bean or where I went wrong.
Hi,
you have to create your own class, with two attributes in your example:
two strings, one for the event and one for the date then add settter and getter methods to this class. Then use an array of this class as return value of your webservice.
This works fine.
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Even i faced this problem, so i have to make different functions in EJB to return each table column to be displayed in VC.
Thanks & Regards
Harsimran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.