Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vineetha Thomas on Nov 17, 2009 18:52
open dhtmlx forum
Using dhtmlxconnector for java

Hi

Thanks for your previous response.

a) i would like to know that if we use the dhtmlconnector for java..which one will be the js file we want to use for displaying the scheduler .either connector.js or dhtmlxscheduler.js...or please tell me what is the significance of these two.

b) for saving the event into database what all code will be needed. i have used the connector and two java files named basicConnector and connectorServelet. if these are the things needed how will i integrate this java classes to my jsp file. And please mention whether i need to use all classes in resource folder for this.

c) it would be great if you list all the names of the files needed for saving an event in java.( i have the dhtmlconnector for java with me)
Answer posted by Stanislav (support) on Nov 18, 2009 01:50
if you plan to use it with dhtmlxscheduler - latest version of dhtmlxscheduler.js will be enough ( it already contains the code from connector.js ) 

>>for saving the event into database what all code will be needed
full init code on client side, including dataprocessor initialization
on server side code you need to map servlet to the some url and use it as url parameter in load command and dataprocessor's constructor. 

Basically, you need to create servlet , which will be responsible for the scheduler's data and use it in all operations. 

>>And please mention whether i need to use all classes in resource folder for this.
You need not anything except of connector.jar and custom connector class

Answer posted on Dec 03, 2009 01:33

Hi..

I have been refering dhtmlxConnector_java.zip for dhtmlxConnector in JAVA.

I am able to load list of records from database. For this I have created one servlet.

Now I want to update records from grid.
Do I need to create another servlet for updating records?
Could you please tell me how do I do in JAVA?