Menu

#1 relation between three select boxes

open
nobody
None
5
2004-09-22
2004-09-22
shery
No

Hi,

I using the providers tag library and it a great solution
for relation between select boxes in web application.
The only problem I have it when I try to do a relation
between three select boxes.

I have an array of objects that contain the following
properties:

Type, TypeId, Brand, BrandId, Model, ModelId.

And example values can be:

Type : Notebooks ,TypeId : 10
Brand : HP ,BrandId : 20
Model : Concerto Series 4/25 ,ModelId: 30

Type : Notebooks , TypeId : 10
Brand : DELL , BrandId : 21
Model : Inspiron 1150 , ModelId: 31

Type : Monitors , TypeId : 11
Brand : HP , BrandId : 20
Model : V1100 CRT Monitor , ModelId: 32

In the UI when I select Type Monitors I get back in
Brand only HP and it’s correct, but in the Model select
box I get all DELL models include the Notebooks even
that I select type monitors.

Does the providers tag support this scenario?

Thank you very much
Shery

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.