AnsweredAssumed Answered

Alfresco Constraint - dependent combos

Question asked by dmralfing on Dec 16, 2011
I have two attributes "cityes" and "countries" in my Alfresco and I need to integrate it with queries that consult it  in a data base. I have two classes: CitiesConstraint and CountriesConstraint, inherited both from ListOfValuesConstraint. I know how to load the values independently in both combos using the loadDB() method, that´s not problem. But I don´t know how to stablish the dependency because I don´t know how to read the value charged in the country to build the query in the city class method. How can I do it?

Outcomes