Categories | Question details Back To List | ||
load xml 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? Answer posted by Support on Aug 07, 2008 02:24 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. Answer posted on Aug 07, 2008 08:00 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! Answer posted by Support on Aug 08, 2008 02:03 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. Answer posted on Aug 09, 2008 02:29 Thanks for your help. |