DataSetGrid in WebClient crashes

Questions and answers on developing, deploying and using plugins and JavaBeans

DataSetGrid in WebClient crashes

Postby philzeh » Fri Dec 06, 2013 4:47 am

Hi,

When using a DataSetGrid in SmartClient it works perfectly fine, but when using it inside a WebClient it instantly shows "Internal Server Error" and displays the error message:
> java.lang.ClassCastException: com.drmaison.beans.datasetgrid.DatasetGrid cannot be cast to org.apache.wicket.Component

Is it possible to get it working in WebClient?
philzeh
 
Posts: 7
Joined: Mon Nov 25, 2013 6:02 am

Re: DataSetGrid in WebClient crashes

Postby patrick » Fri Dec 06, 2013 11:02 am

The table bean is not web capable. For grids, it is recommended to use Servoy's built in solutionModel features to create a table view from a dataset. The table bean was developed in a time where we had no solutionModel, no drag and drop etc in Servoy. Today, you can accomplish 98% of what the table bean does with Servoy's own means.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 37 guests

cron