You need to sign in to do that
Don't have an account?
BUG in dependent picklist ! Not take the value in controller extensions
Hi all,
I use in my Visualforce page (version 19.0 ) two picklist, one is master picklist and another is its dependent picklist.
I want to take their values in my controller extensions. As described in Summer '10 release, the dependence works correctly in the page.
But when i try to get this dependent value, it return null !
Here is my simple code:
public class DependentExtensions {
public People__c person {get; private set;}
public DependentExtensions(ApexPages.StandardController controller) {
person = (People__c) controller.getRecord();
}
public getCountry() {return person.Country__c }
public getRegion() { return person.Region__c }
}
In this example, after click a commandButton (it simply refresh the page), only the COUNTRY value (the master picklist) it returned in picklist box and in the get text.
While the REGION dependent picklist it returned '-None-' in picklist box and return an empty text !!
This is a bug of this new feature or there is a way to fix it??
Thanks in advance!
Nobody has seen this bug??