Here are some 
options: 
http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910

Anthony

On Sunday, February 19, 2012 2:41:14 PM UTC-5, Can Candan wrote:
>
> I am willing to extend the behavior of the autogenerated crud interface 
> just for one table so that when the dropdown corresponding to a one-to-many 
> relation is selected
> another dropdown should display values corresponding to the chosen one.
>
> In other words i need a dynamic restriction, something like this.
> db.entity.value.requires=IS_IN_DB(results of query here corresponding to 
> the previous selection)
>
> What might be the easiest way to do that?
>

Reply via email to