Login Register

database

Dynamic Tree From Database

I know there were a lot of people out there wanting to make a dynamic tree from a database. Here's the basic idea of what to do. If anyone wants some more concrete examples, I can add some code later.

I was using Struts 2, Spring, Hibernate and a MySQL database.

I wrote an action to parse my database into JSON and send it to the client via HTTP. I actually found a website with a good example, but unfortunately I didn't bookmark it. The basic idea is that you create a JSONObject, call toString on it, create a PrintWrite from the HttpResponse object and write the JSON string to it.

Dataset Maintenance using DojoX Grid and QueryReadStore

I used the Dojox Grid and the Dojox QueryReadStore to create a simple dataset maintenance app. This is actually a widget that I named custom.Grid. I wrote a short article on this (here) and plan to make updates on this.

How to create a tree from Database

Hi

I am trying to populate the treaa directly from the database Oracle 9i
is this possible ?

please help also i thought of using an XHR request to a servlet which fills a arraylist of the data and sends it back as JSON but then how will i convert this to a Store which i can feed to the tree.

please help

Dino

Grid with SQL database

Hello,

I have to display datas from a M$-SQL Server on a webpage.
I want to use the dojox.grid object but i don't know how to display these informations.

What is the best way to do it?
Is it possible to do it directly or do i need to use an object like dojo.data to interface it?
or maybe another function to generate json datas from my server..?

looking forward a positive response to my problem.. :)

Syndicate content