Thank you very much for reply. Can we define parent and child relation between menu items in a NavigationMenuItem ? Thanks
Madhav Bhargava-2 wrote: > > > I think that t:panelNavigation will not support what you are looking > for. You need to switch to t:panelNavigation2 which has some support. > The latter accepts a list of NavigationMenuItem > > > One more thing - If you want your categories to have text as well as an > Image icon then you will not be able to use <t:navigationMenuItem> as it > does not work even though it has a constructor which is suppose to do > that (Bottom line it does not do it). You will have to use > <t:commandNavigation2> inside <t:panelNavigation2> > > To achieve the same I have programmatically created the entire left nav > using <t:panelNavigation2> and <t:commandNavigation2> > > ~madhav > >> -----Original Message----- >> From: legolas [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, January 24, 2007 2:18 AM >> To: [email protected] >> Subject: Re: can we make PanelNavigation to have scroll? >> > >> > >> Thank you for your reply. >> can you please give me a hint about binding this PanelNavigation > component >> to a database table? >> I have a table of categories, each category can have some childs and / > or >> one category. >> > >> > >> here is what my database table looks like >> [code] >> CREATE TABLE categories ( >> categoryid int(11) unsigned AUTO_INCREMENT NOT > NULL, >> categoryname varchar(255) NULL, >> categorydescription varchar(255) NOT NULL, >> parentcategory int(11) unsigned NOT NULL, >> clickcount bigint(20) NULL, >> categoryimage varchar(255) NULL, >> categoryurl varchar(255) NULL, >> ) >> > >> [/code] >> > >> I can extract all records of this table and put them into some data >> structure in a backing bean. >> what i can not understand is how does the structure looks like ? >> > >> > >> Thanks >> > >> > >> > >> > >> Andrew Robinson-5 wrote: >> > >> > Put it in a DIV with CSS to limit the height and use overflow: auto; >> > >> > On 1/22/07, legolas <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> >> >> legolas wrote: >> >> > >> >> > Hi >> >> > thank you for reading my post. >> >> > can we make http://www.irian.at/myfaces/panelnavigation_5.jsf to > have >> >> > vertical scroll when it emerge? >> >> > >> >> > my problem is that i have a fixed area that i should show some >> >> categories >> >> > and their childs, >> >> > i want to use this component but problem is that i can not do it >> >> because >> >> > it emerges and grow bigger than my available space. >> >> > >> >> > is there any way that we add some kind of scroll around it to > make >> sure >> >> > that it does not grow more than alowed space and instead it grows >> >> inside >> >> > its own frame? >> >> > >> >> > Thanks >> >> > >> >> >> >> >> >> any comment ? >> >> even if i could make tree2 to works inside its own frame when it > grows >> my >> >> problem will resolve. >> >> >> >> thanks >> >> >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/can-we-make-PanelNavigation-to-have-scroll-- >> tf3050635.html#a8510992 >> >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > >> -- >> View this message in context: http://www.nabble.com/can-we-make- >> PanelNavigation-to-have-scroll--tf3050635.html#a8539751 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely for the use of the addressee(s). If you are not the intended > recipient, please notify the sender by e-mail and delete the original > message. Further, you are not to copy, disclose, or distribute this e-mail > or its contents to any other person and any such actions are unlawful. > This e-mail may contain viruses. Infosys has taken every reasonable > precaution to minimize this risk, but is not liable for any damage you may > sustain as a result of any virus in this e-mail. You should carry out your > own virus checks before opening the e-mail or attachment. Infosys reserves > the right to monitor and review the content of all messages sent to or > from this e-mail address. Messages sent to or from this e-mail address may > be stored on the Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > -- View this message in context: http://www.nabble.com/can-we-make-PanelNavigation-to-have-scroll--tf3050635.html#a8559547 Sent from the MyFaces - Users mailing list archive at Nabble.com.

