1
votes

I have a mini work in ADF in which I am required to create a form. One input in the form is continent which is a drop down list of various continent. There is another input(shuttle) with country names. Suppose the user chooses ASIA from drop down list of continent, then the below shuttle should get populated with countries from ASIA.

How can I achieve that in ADF?

2

2 Answers

2
votes

You have to add a view criteria on your shuttle VO filtering by ContinentId:

View Criteria on your Countries VO

Make sure you include your bind variable accessors on your VOImpl:

include your bind variable accessors on your VOImpl

And also make sure that you apply your view criteria on your application module:

apply your view criteria on your application module

Then follow this steps:

follow this steps

That way you will finally your shuttle filtered:

final result

1
votes

Basically you want to filter out your countries based on Continent so for that apply a view criteria(based on Continent) on your VO (which is used by your shuttle input).