You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Murat Yücel <ko...@gmail.com> on 2009/03/27 13:39:26 UTC
AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Hi All
I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors to
some of the cells in a datatable.
What is the best practice and should i use something else?
Today i have a list of items which is retrieved from the database each time
there is a request. The refresh
rate can be set by the user in a setting page. I have made a quick solution
where i was adding an
AjaxSelfUpdatingTimerBehavior to the whole table. It is working perfectly
fine for high refresh rates, but
if the user sets the refresh rate to 1 second then the refresh gives
problem.
The AjaxFallbackDefaultDataTable includes checkboxes and is inside a form. I
am now trying to change
the logic so only the relevant cells are updated. The problem is that i
cannot figure out how to do it. Because
the model for each item will be called but the dataprovider is not called to
retrieve the newest data from the
database.
Hope that someone can help or suggest a better solution.
The project is open source so if you need to see code you just say the word
:)
Kind regards
/Murat
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by Murat Yücel <ko...@gmail.com>.
Hi,
Thank to both of you. I have solved the issue by adding
AjaxSelfUpdatingTimerBehavior to the panel which i add to my cellItem.
Another bug was as igor wrote that my models wasnt chained properly.
/Murat
2009/3/28 nino martinez wael <ni...@gmail.com>
> we had a thread about updating... when i did the wicket reaction
> game... search for wicket reavtion game on nabble
>
> 2009/3/28 Murat Yücel <ko...@gmail.com>:
> > Is it enough to do this to get the model refreshed?
> > cellItem.setOutputMarkupId(true);
> > cellItem.add(new AjaxSelfUpdatingTimerBehavior(1));
> >
> > or should each cell have an entity id? Because the problem is that
> > populateItem doesnt get called. Unless i of course enter the page again.
> >
> > /Murat
> >
> > 2009/3/28 Igor Vaynberg <ig...@gmail.com>
> >
> >> then somewhere down the stream your components are not properly
> >> chaining their model through this one.
> >>
> >> -igor
> >>
> >> 2009/3/28 Murat Yücel <ko...@gmail.com>:
> >> > Hi Igor
> >> >
> >> > I am extending the SortableDataProvider and the model method is
> returning
> >> a
> >> > new CompountPropertyModel which includes my own entity model. The
> entity
> >> > model is a loadabledetacheabble model which only keeps the id. on load
> >> the
> >> > data will be retrieved from the database.
> >> >
> >> >
> >>
> https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0/ninan-frontend/src/main/java/dk/team/ninan/frontend/wicket/overview/OverviewDataProvider.java
> >> >
> >> > /Murat
> >> >
> >> > 2009/3/28 Igor Vaynberg <ig...@gmail.com>
> >> >
> >> >> your problem is most likely that you are not using proper models.
> >> >>
> >> >> in your idataprovider.model you should return a model that can load
> >> >> the data from the database on its own. you are most likely just doing
> >> >> return new model(object); which simply holds on to that object
> >> >> forever, what you should do is return new entitymodel(object) that
> can
> >> >> reload a fresh one.
> >> >>
> >> >> -igor
> >> >>
> >> >> 2009/3/27 Murat Yücel <ko...@gmail.com>:
> >> >> > Hi All
> >> >> >
> >> >> > I have a question regarding how to add
> AjaxSelfUpdatingTimerBehaviors
> >> to
> >> >> > some of the cells in a datatable.
> >> >> > What is the best practice and should i use something else?
> >> >> >
> >> >> > Today i have a list of items which is retrieved from the database
> each
> >> >> time
> >> >> > there is a request. The refresh
> >> >> > rate can be set by the user in a setting page. I have made a quick
> >> >> solution
> >> >> > where i was adding an
> >> >> > AjaxSelfUpdatingTimerBehavior to the whole table. It is working
> >> perfectly
> >> >> > fine for high refresh rates, but
> >> >> > if the user sets the refresh rate to 1 second then the refresh
> gives
> >> >> > problem.
> >> >> >
> >> >> > The AjaxFallbackDefaultDataTable includes checkboxes and is inside
> a
> >> >> form. I
> >> >> > am now trying to change
> >> >> > the logic so only the relevant cells are updated. The problem is
> that
> >> i
> >> >> > cannot figure out how to do it. Because
> >> >> > the model for each item will be called but the dataprovider is not
> >> called
> >> >> to
> >> >> > retrieve the newest data from the
> >> >> > database.
> >> >> >
> >> >> > Hope that someone can help or suggest a better solution.
> >> >> >
> >> >> > The project is open source so if you need to see code you just say
> the
> >> >> word
> >> >> > :)
> >> >> >
> >> >> > Kind regards
> >> >> >
> >> >> > /Murat
> >> >> >
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >> For additional commands, e-mail: users-help@wicket.apache.org
> >> >>
> >> >>
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by nino martinez wael <ni...@gmail.com>.
we had a thread about updating... when i did the wicket reaction
game... search for wicket reavtion game on nabble
2009/3/28 Murat Yücel <ko...@gmail.com>:
> Is it enough to do this to get the model refreshed?
> cellItem.setOutputMarkupId(true);
> cellItem.add(new AjaxSelfUpdatingTimerBehavior(1));
>
> or should each cell have an entity id? Because the problem is that
> populateItem doesnt get called. Unless i of course enter the page again.
>
> /Murat
>
> 2009/3/28 Igor Vaynberg <ig...@gmail.com>
>
>> then somewhere down the stream your components are not properly
>> chaining their model through this one.
>>
>> -igor
>>
>> 2009/3/28 Murat Yücel <ko...@gmail.com>:
>> > Hi Igor
>> >
>> > I am extending the SortableDataProvider and the model method is returning
>> a
>> > new CompountPropertyModel which includes my own entity model. The entity
>> > model is a loadabledetacheabble model which only keeps the id. on load
>> the
>> > data will be retrieved from the database.
>> >
>> >
>> https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0/ninan-frontend/src/main/java/dk/team/ninan/frontend/wicket/overview/OverviewDataProvider.java
>> >
>> > /Murat
>> >
>> > 2009/3/28 Igor Vaynberg <ig...@gmail.com>
>> >
>> >> your problem is most likely that you are not using proper models.
>> >>
>> >> in your idataprovider.model you should return a model that can load
>> >> the data from the database on its own. you are most likely just doing
>> >> return new model(object); which simply holds on to that object
>> >> forever, what you should do is return new entitymodel(object) that can
>> >> reload a fresh one.
>> >>
>> >> -igor
>> >>
>> >> 2009/3/27 Murat Yücel <ko...@gmail.com>:
>> >> > Hi All
>> >> >
>> >> > I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors
>> to
>> >> > some of the cells in a datatable.
>> >> > What is the best practice and should i use something else?
>> >> >
>> >> > Today i have a list of items which is retrieved from the database each
>> >> time
>> >> > there is a request. The refresh
>> >> > rate can be set by the user in a setting page. I have made a quick
>> >> solution
>> >> > where i was adding an
>> >> > AjaxSelfUpdatingTimerBehavior to the whole table. It is working
>> perfectly
>> >> > fine for high refresh rates, but
>> >> > if the user sets the refresh rate to 1 second then the refresh gives
>> >> > problem.
>> >> >
>> >> > The AjaxFallbackDefaultDataTable includes checkboxes and is inside a
>> >> form. I
>> >> > am now trying to change
>> >> > the logic so only the relevant cells are updated. The problem is that
>> i
>> >> > cannot figure out how to do it. Because
>> >> > the model for each item will be called but the dataprovider is not
>> called
>> >> to
>> >> > retrieve the newest data from the
>> >> > database.
>> >> >
>> >> > Hope that someone can help or suggest a better solution.
>> >> >
>> >> > The project is open source so if you need to see code you just say the
>> >> word
>> >> > :)
>> >> >
>> >> > Kind regards
>> >> >
>> >> > /Murat
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by Igor Vaynberg <ig...@gmail.com>.
populate item is only called when the repeater renders. you are not
rerendering the repeater, you are rerendering the repeater item - thus
populate item is not called.
-igor
2009/3/28 Murat Yücel <ko...@gmail.com>:
> Is it enough to do this to get the model refreshed?
> cellItem.setOutputMarkupId(true);
> cellItem.add(new AjaxSelfUpdatingTimerBehavior(1));
>
> or should each cell have an entity id? Because the problem is that
> populateItem doesnt get called. Unless i of course enter the page again.
>
> /Murat
>
> 2009/3/28 Igor Vaynberg <ig...@gmail.com>
>
>> then somewhere down the stream your components are not properly
>> chaining their model through this one.
>>
>> -igor
>>
>> 2009/3/28 Murat Yücel <ko...@gmail.com>:
>> > Hi Igor
>> >
>> > I am extending the SortableDataProvider and the model method is returning
>> a
>> > new CompountPropertyModel which includes my own entity model. The entity
>> > model is a loadabledetacheabble model which only keeps the id. on load
>> the
>> > data will be retrieved from the database.
>> >
>> >
>> https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0/ninan-frontend/src/main/java/dk/team/ninan/frontend/wicket/overview/OverviewDataProvider.java
>> >
>> > /Murat
>> >
>> > 2009/3/28 Igor Vaynberg <ig...@gmail.com>
>> >
>> >> your problem is most likely that you are not using proper models.
>> >>
>> >> in your idataprovider.model you should return a model that can load
>> >> the data from the database on its own. you are most likely just doing
>> >> return new model(object); which simply holds on to that object
>> >> forever, what you should do is return new entitymodel(object) that can
>> >> reload a fresh one.
>> >>
>> >> -igor
>> >>
>> >> 2009/3/27 Murat Yücel <ko...@gmail.com>:
>> >> > Hi All
>> >> >
>> >> > I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors
>> to
>> >> > some of the cells in a datatable.
>> >> > What is the best practice and should i use something else?
>> >> >
>> >> > Today i have a list of items which is retrieved from the database each
>> >> time
>> >> > there is a request. The refresh
>> >> > rate can be set by the user in a setting page. I have made a quick
>> >> solution
>> >> > where i was adding an
>> >> > AjaxSelfUpdatingTimerBehavior to the whole table. It is working
>> perfectly
>> >> > fine for high refresh rates, but
>> >> > if the user sets the refresh rate to 1 second then the refresh gives
>> >> > problem.
>> >> >
>> >> > The AjaxFallbackDefaultDataTable includes checkboxes and is inside a
>> >> form. I
>> >> > am now trying to change
>> >> > the logic so only the relevant cells are updated. The problem is that
>> i
>> >> > cannot figure out how to do it. Because
>> >> > the model for each item will be called but the dataprovider is not
>> called
>> >> to
>> >> > retrieve the newest data from the
>> >> > database.
>> >> >
>> >> > Hope that someone can help or suggest a better solution.
>> >> >
>> >> > The project is open source so if you need to see code you just say the
>> >> word
>> >> > :)
>> >> >
>> >> > Kind regards
>> >> >
>> >> > /Murat
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by Murat Yücel <ko...@gmail.com>.
Is it enough to do this to get the model refreshed?
cellItem.setOutputMarkupId(true);
cellItem.add(new AjaxSelfUpdatingTimerBehavior(1));
or should each cell have an entity id? Because the problem is that
populateItem doesnt get called. Unless i of course enter the page again.
/Murat
2009/3/28 Igor Vaynberg <ig...@gmail.com>
> then somewhere down the stream your components are not properly
> chaining their model through this one.
>
> -igor
>
> 2009/3/28 Murat Yücel <ko...@gmail.com>:
> > Hi Igor
> >
> > I am extending the SortableDataProvider and the model method is returning
> a
> > new CompountPropertyModel which includes my own entity model. The entity
> > model is a loadabledetacheabble model which only keeps the id. on load
> the
> > data will be retrieved from the database.
> >
> >
> https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0/ninan-frontend/src/main/java/dk/team/ninan/frontend/wicket/overview/OverviewDataProvider.java
> >
> > /Murat
> >
> > 2009/3/28 Igor Vaynberg <ig...@gmail.com>
> >
> >> your problem is most likely that you are not using proper models.
> >>
> >> in your idataprovider.model you should return a model that can load
> >> the data from the database on its own. you are most likely just doing
> >> return new model(object); which simply holds on to that object
> >> forever, what you should do is return new entitymodel(object) that can
> >> reload a fresh one.
> >>
> >> -igor
> >>
> >> 2009/3/27 Murat Yücel <ko...@gmail.com>:
> >> > Hi All
> >> >
> >> > I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors
> to
> >> > some of the cells in a datatable.
> >> > What is the best practice and should i use something else?
> >> >
> >> > Today i have a list of items which is retrieved from the database each
> >> time
> >> > there is a request. The refresh
> >> > rate can be set by the user in a setting page. I have made a quick
> >> solution
> >> > where i was adding an
> >> > AjaxSelfUpdatingTimerBehavior to the whole table. It is working
> perfectly
> >> > fine for high refresh rates, but
> >> > if the user sets the refresh rate to 1 second then the refresh gives
> >> > problem.
> >> >
> >> > The AjaxFallbackDefaultDataTable includes checkboxes and is inside a
> >> form. I
> >> > am now trying to change
> >> > the logic so only the relevant cells are updated. The problem is that
> i
> >> > cannot figure out how to do it. Because
> >> > the model for each item will be called but the dataprovider is not
> called
> >> to
> >> > retrieve the newest data from the
> >> > database.
> >> >
> >> > Hope that someone can help or suggest a better solution.
> >> >
> >> > The project is open source so if you need to see code you just say the
> >> word
> >> > :)
> >> >
> >> > Kind regards
> >> >
> >> > /Murat
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by Igor Vaynberg <ig...@gmail.com>.
then somewhere down the stream your components are not properly
chaining their model through this one.
-igor
2009/3/28 Murat Yücel <ko...@gmail.com>:
> Hi Igor
>
> I am extending the SortableDataProvider and the model method is returning a
> new CompountPropertyModel which includes my own entity model. The entity
> model is a loadabledetacheabble model which only keeps the id. on load the
> data will be retrieved from the database.
>
> https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0/ninan-frontend/src/main/java/dk/team/ninan/frontend/wicket/overview/OverviewDataProvider.java
>
> /Murat
>
> 2009/3/28 Igor Vaynberg <ig...@gmail.com>
>
>> your problem is most likely that you are not using proper models.
>>
>> in your idataprovider.model you should return a model that can load
>> the data from the database on its own. you are most likely just doing
>> return new model(object); which simply holds on to that object
>> forever, what you should do is return new entitymodel(object) that can
>> reload a fresh one.
>>
>> -igor
>>
>> 2009/3/27 Murat Yücel <ko...@gmail.com>:
>> > Hi All
>> >
>> > I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors to
>> > some of the cells in a datatable.
>> > What is the best practice and should i use something else?
>> >
>> > Today i have a list of items which is retrieved from the database each
>> time
>> > there is a request. The refresh
>> > rate can be set by the user in a setting page. I have made a quick
>> solution
>> > where i was adding an
>> > AjaxSelfUpdatingTimerBehavior to the whole table. It is working perfectly
>> > fine for high refresh rates, but
>> > if the user sets the refresh rate to 1 second then the refresh gives
>> > problem.
>> >
>> > The AjaxFallbackDefaultDataTable includes checkboxes and is inside a
>> form. I
>> > am now trying to change
>> > the logic so only the relevant cells are updated. The problem is that i
>> > cannot figure out how to do it. Because
>> > the model for each item will be called but the dataprovider is not called
>> to
>> > retrieve the newest data from the
>> > database.
>> >
>> > Hope that someone can help or suggest a better solution.
>> >
>> > The project is open source so if you need to see code you just say the
>> word
>> > :)
>> >
>> > Kind regards
>> >
>> > /Murat
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by Murat Yücel <ko...@gmail.com>.
Hi Igor
I am extending the SortableDataProvider and the model method is returning a
new CompountPropertyModel which includes my own entity model. The entity
model is a loadabledetacheabble model which only keeps the id. on load the
data will be retrieved from the database.
https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0/ninan-frontend/src/main/java/dk/team/ninan/frontend/wicket/overview/OverviewDataProvider.java
/Murat
2009/3/28 Igor Vaynberg <ig...@gmail.com>
> your problem is most likely that you are not using proper models.
>
> in your idataprovider.model you should return a model that can load
> the data from the database on its own. you are most likely just doing
> return new model(object); which simply holds on to that object
> forever, what you should do is return new entitymodel(object) that can
> reload a fresh one.
>
> -igor
>
> 2009/3/27 Murat Yücel <ko...@gmail.com>:
> > Hi All
> >
> > I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors to
> > some of the cells in a datatable.
> > What is the best practice and should i use something else?
> >
> > Today i have a list of items which is retrieved from the database each
> time
> > there is a request. The refresh
> > rate can be set by the user in a setting page. I have made a quick
> solution
> > where i was adding an
> > AjaxSelfUpdatingTimerBehavior to the whole table. It is working perfectly
> > fine for high refresh rates, but
> > if the user sets the refresh rate to 1 second then the refresh gives
> > problem.
> >
> > The AjaxFallbackDefaultDataTable includes checkboxes and is inside a
> form. I
> > am now trying to change
> > the logic so only the relevant cells are updated. The problem is that i
> > cannot figure out how to do it. Because
> > the model for each item will be called but the dataprovider is not called
> to
> > retrieve the newest data from the
> > database.
> >
> > Hope that someone can help or suggest a better solution.
> >
> > The project is open source so if you need to see code you just say the
> word
> > :)
> >
> > Kind regards
> >
> > /Murat
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by Igor Vaynberg <ig...@gmail.com>.
your problem is most likely that you are not using proper models.
in your idataprovider.model you should return a model that can load
the data from the database on its own. you are most likely just doing
return new model(object); which simply holds on to that object
forever, what you should do is return new entitymodel(object) that can
reload a fresh one.
-igor
2009/3/27 Murat Yücel <ko...@gmail.com>:
> Hi All
>
> I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors to
> some of the cells in a datatable.
> What is the best practice and should i use something else?
>
> Today i have a list of items which is retrieved from the database each time
> there is a request. The refresh
> rate can be set by the user in a setting page. I have made a quick solution
> where i was adding an
> AjaxSelfUpdatingTimerBehavior to the whole table. It is working perfectly
> fine for high refresh rates, but
> if the user sets the refresh rate to 1 second then the refresh gives
> problem.
>
> The AjaxFallbackDefaultDataTable includes checkboxes and is inside a form. I
> am now trying to change
> the logic so only the relevant cells are updated. The problem is that i
> cannot figure out how to do it. Because
> the model for each item will be called but the dataprovider is not called to
> retrieve the newest data from the
> database.
>
> Hope that someone can help or suggest a better solution.
>
> The project is open source so if you need to see code you just say the word
> :)
>
> Kind regards
>
> /Murat
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior
Posted by Murat Yücel <ko...@gmail.com>.
Hi Guys
Does anyone have a clue how to solve my problem below?
The code can be found here:
https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0
The logic is in this class:
https://ninan.svn.sourceforge.net/svnroot/ninan/branches/v2.0.0/ninan-frontend/src/main/java/dk/team/ninan/frontend/wicket/overview/OverviewPanel.java
/Murat
2009/3/27 Murat Yücel <ko...@gmail.com>
> Hi All
>
> I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors to
> some of the cells in a datatable.
> What is the best practice and should i use something else?
>
> Today i have a list of items which is retrieved from the database each time
> there is a request. The refresh
> rate can be set by the user in a setting page. I have made a quick solution
> where i was adding an
> AjaxSelfUpdatingTimerBehavior to the whole table. It is working perfectly
> fine for high refresh rates, but
> if the user sets the refresh rate to 1 second then the refresh gives
> problem.
>
> The AjaxFallbackDefaultDataTable includes checkboxes and is inside a form.
> I am now trying to change
> the logic so only the relevant cells are updated. The problem is that i
> cannot figure out how to do it. Because
> the model for each item will be called but the dataprovider is not called
> to retrieve the newest data from the
> database.
>
> Hope that someone can help or suggest a better solution.
>
> The project is open source so if you need to see code you just say the word
> :)
>
> Kind regards
>
> /Murat
>