Re: jscookmenu and navigation menu items

2006-04-03 Thread Mert Çalışkan
xml would be suitable for this.You can digest the xml file with commons-digester and get the menu info easily. 
In one of my previous projects we used db to persist menu info. Recursive functions didn't interfere our speed hence we had submenus with only one depth. And commiting menu changes on db directly changes the rendered menu on the screen and that was idiotically cool :)
 
On 4/3/06, Murat Hazer <[EMAIL PROTECTED]> wrote:

Hi,   i am using jscookmenu in my project, and i neither want to hard code navigation menu items into java classes nor JSF's. I want to carry to these navigation menu items to db or an xml file for easy manupilating. I thought that to do this i need to create a db row for each navigation menu item and also there should be a extra column in each row which points to the up navigation menu item. If i do this also i need to implement recursive funtions :( to build the menu by using these db rows. (this bean could be application or session scoped) 
    I wanna ask you that is this idea acceptable or there is any other proven pattern to do something like this?regards...
-- Murat HAZERElektrik-Elektronik Mühendisi - Electrical-Electronics Engineer Blog URL: 
http://www.projedunyasi.org 


jscookmenu and navigation menu items

2006-04-03 Thread Murat Hazer
Hi,   i am using jscookmenu in my project, and i neither want to hard code navigation menu items into java classes nor JSF's. I want to carry to these navigation menu items to db or an xml file for easy manupilating. I thought that to do this i need to create a db row for each navigation menu item and also there should be a extra column in each row which points to the up navigation menu item. If i do this also i need to implement recursive funtions :( to build the menu by using these db rows. (this bean could be application or session scoped)
    I wanna ask you that is this idea acceptable or there is any other proven pattern to do something like this?regards...-- Murat HAZERElektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Blog URL: http://www.projedunyasi.org