Not sure how or wheter to use it, but it sounds good.
And here is the problem:
I dynamically load all my DataSources in a servlet (that actually reads the ds directory and than passes the LoadDataSource all the names),
than in the view i let the user choose which DS he want to display.
So i try to find a way to make the view get all my datasources that i`ve loaded before.
i thought to load an extra "virtual" ds named DATASOURCES
and add as the data all of my DS IDs.
But i can`t make it work..
Any idea how should i implement it? where can i see an example of using this class? or generating a DS by myself + addind data to it?
And here is the problem:
I dynamically load all my DataSources in a servlet (that actually reads the ds directory and than passes the LoadDataSource all the names),
than in the view i let the user choose which DS he want to display.
So i try to find a way to make the view get all my datasources that i`ve loaded before.
i thought to load an extra "virtual" ds named DATASOURCES
and add as the data all of my DS IDs.
But i can`t make it work..
Any idea how should i implement it? where can i see an example of using this class? or generating a DS by myself + addind data to it?
Comment