Topic: 如何实现无限级分类 |
Print this page |
1.如何实现无限级分类 | Copy to clipboard |
Posted by: yuhaijunth Posted on: 2006-09-13 11:08 最好有具体的JAVA源代码,告诉我方法也行 见下图: |
2.Re:如何实现无限级分类 [Re: yuhaijunth] | Copy to clipboard |
Posted by: superbible Posted on: 2006-09-13 14:41 你问得太含糊。看上去象自己没有先摸索一遍。 这个问题至少分为两个方面,第一,数据库如何存储无限级分类; 第二,b/s界面如何实现树型结构。 |
3.Re:如何实现无限级分类 [Re: yuhaijunth] | Copy to clipboard |
Posted by: why Posted on: 2006-09-13 17:32 What is 无限级分类? Perhaps in English, please. |
4.Re:如何实现无限级分类 [Re: yuhaijunth] | Copy to clipboard |
Posted by: cxp108 Posted on: 2006-09-13 17:51 楼主貌似需要在一个树结构的节点中存放另外一个树结构吧..... |
5.Re:如何实现无限级分类 [Re: yuhaijunth] | Copy to clipboard |
Posted by: ranchgirl Posted on: 2006-09-14 01:40 Use composite pattern, read here! http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/composite.htm |
6.Re:如何实现无限级分类 [Re: superbible] | Copy to clipboard |
Posted by: yuhaijunth Posted on: 2006-09-14 10:13 superbible wrote: 我对这方面不是很清楚,所以想了解下, 2楼的能说清楚点吗? 数据库是建立一个type表 ID TypeName typeId 名称(子) 指向id(父) 第2步就不知道如何做了? |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |