PDA

View Full Version : Problem with Dynamic Lists


Tom M
03-30-2009, 08:49 PM
Hi,

I have been trying to set up a set of parent/child dynamic lists with Dynamic Dropdowns and I don't think the extension is working.

I have two very simple tables as follows:

Table 1: Sport
Field: id(integer)
Field: SportName(varchar)

This table is populated with one record:

SportName = Volleyball

-----------------------------------

Table 2: Positions
Field: id(integer)
Field: PositionName(varchar)
Field: Sport(varchar)

This table is populated with 3 records:

PositionName = Setter
Sport = Volleyball

PositionName = Outside Hitter
Sport = Volleyball

PositionName = Blocker
Sport = Volleyball

-------------------------------

What I want to do is have someone select a Sport from a dynamic menu populated from the Sport recordset and then select a Position from a dynamic menu populated with values from the Positions recordset based on the Sport that was selected.

--------------------------------

Seems like an ideal use for Dynamic Dropdowns.... but I can't get it to work. I've followed the instructions in the WebAssist help doc section "Populating a Child List from a Parent List" and have created the Dynamic Array using the Server Behaviors panel. But when I try to do the next step "Populate List from Array", the "WA Dynamic Dropdowns > Populate List From Array" is not available in the Server Behaviors panel (see attached screenshot).

What is going wrong here? Am I doing this procedure correctly?

TM

Ray Borduin
03-31-2009, 07:49 AM
It should be possible, so you must be overlooking something. I can't tell from your description what that might be.

Ray Borduin
03-31-2009, 07:51 AM
It is a "Behavior" and not a "Server Behavior"... after reading more carefully and looking at the screen I figured out your confusion. Highlight the parent list and go to the "Behaviors" window.

Tom M
04-02-2009, 06:46 PM
Found it where you said and things are working great!

Thanks,

TM