Hi,
i’m trying to use dhtmlxgrid. I have a problem with load xml; our team has developed the server side with EJB and i must now connect to database indirectly within a java class (backing bean). How can i call a java method, for example getTypeId(), in my xml? Have you any idea?
The component is fully client side and cant be connecte directly to server side code.
The component can poll url and expects to receive data in XML | JSON format, the way home URL translated to server side calls is depend on your server side implementation.
in document “Dataprosessor usage/ Adjusting server side code” is written:
"The code does the following three tasks: … b) Makes the necessary DB operation;…"
but i will have the data from a java class, and this class connects already with DB. So can i adjust server side code without DB operation?
Thanks in advance!
DataProcessor library can be used for data syncing between client and server, but it has server side for PHP only, in case of JAVA it has not any server side code, just a call convention, which allows to sync data.
If you need a sample of DataProcessor usage with JSP code - please contact us directly at support@dhtmlx.com and provide your ref. number.
DataProcessor can’t be used for data loading.
Thanks for your help.