Hi,
I would like to know is there any way to create a webgridview with hierarchical structure with depth of hierarchy as N(ie provided at runtime). If so pls provide me sample jsp, backingbean, dao, faces-config.xml and other relevant data.
For example, if I pass N value as 2, it should display parent(expandable), children(expandable), grandchildren data. If I pass N value as 1, it should display parent(expandable) and children
Hi:
I'd be happy to create such a sample, but my schedule is such that I am really not sure when I'd be able to complete it.
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}
Alternatively, since, this is a custom requirement, you might want to contact our consulting services. If you are interested, I can direct you to Infragistics Services team to assist you in achieving your needs.
Our Consulting Services team offers support that is outlined on our Services Website:
http://ko.infragistics.com/services/default.aspx#Overview
They include, but are not limited to, onsite and offsite support for your staff and your design, and development effort. This service provides application design, development, and code reviews, Best Practices recommendations for UI design and use of Infragistics components, and ongoing mentoring support of your staff to address application implementation specific issues. The service is customized to meet your specific needs and the technology focus of your application.
You can reach our team through email, phone or chat:
Email and phone:
http://ko.infragistics.com/corporate/contactus.aspx
Chat:
http://ko.infragistics.com/support/onlinechat.aspx
Thanks Jim.
I would appreciate if you can provide a sample code for this.
a jsp, backing bean and faces-config.xml
Yes you can certainly do that. The components can be constructed dynamically on the server s that there is little or no dependency on the tags i the jsp. Basically, you would have a gridView tag with no child tags, and a binding attribute pointing to a server-side method that would deliver your dynamically hierarchical grid.Honestly, thi is not somehting I'd recommend for anyone who is new to JSF, but it can definitely be done.
Thanks,Jim