webkit-dev - Help for Folder support for bookmark

Arsh Kapoor
2009-07-06T10:01:04+00:00

 
list,bookmarks will also be stored in folders.
For that I have used a structure Folder-Record which contains two
members.foldername and parentfoldername.Now,when a bookmark is added it is
stored in the current folder.

Also UserInterface has an option something as  ADDFolder wherein you can add
new folder.Now if the current added folder has no parent,parentfoldername
becomes ROOT.But,if it has a parent than that foldername is stored as
parentfoldername.
I am using SQlite database where in the add query I am inserting values of
the folderrecord structure taken from the User Interface.


Can someone help me in implementing the check condition for
parentfoldername?As in if the present folder has no parent ,then ROOT should
be stored in database.But if there is a parent folder than that foldername
should be stored as parentfoldername in database.

Thanks,
Arsh

tfoldername.Now,when a bookmark is added it is stored in the current folder=
.<br>
<br>Also UserInterface has an option something as=A0 ADDFolder wherein you =
can add new folder.Now if the current added folder has no parent,parentfold=
ername becomes ROOT.But,if it has a parent than that foldername is stored a=
s parentfoldername.<br>
I am using SQlite database where in the add query I am inserting values of =
the folderrecord structure taken from the User Interface.<br><br><br>Can so=
meone help me in implementing the check condition for parentfoldername?As i=
n if the present folder has no parent ,then ROOT should be stored in databa=
se.But if there is a parent folder than that foldername should be stored as=
 parentfoldername in database.<br>
<br>Thanks,<br>Arsh<br>

Loading


$ This page is proudly powered by www.pubbs.net, you can see more at webkit archive | Partners: ListWare Global Manufacturers