• Jayanth
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

Hi

 

I am having a peculiar problem. I've created a dependent picklist and am trying to display them both on a visual force page. The controlling picklist displays with its values on the VF page. However, the dependent picklist(multi picklist) although displayed on the page has no values in it.

I've checked the field level security and it seems to be correct.

Also when I remove the dependency between the picklists, the 2 separately display all it values(narrowing my thought to the dependency to be the cause of the problem)

both the picklists are on a custom object with no record type.

The visual force page is attached to a custom controller

Is there any reason for this to occur?

 

am I missing anything while trying to display a picklist on a VF page with a custom controller?

 

VF code:

<apex:inputField id="region" value="{!tempCon.Region__c}"/>
<apex:inputField id="subregion" value="{!tempCon.SubRegion__c}"/>

 

The controller just initialises the variable in the constructor

 

Temp_con__c tempCon = new Temp_con__c();

 

 

Hi

 

I am having a peculiar problem. I've created a dependent picklist and am trying to display them both on a visual force page. The controlling picklist displays with its values on the VF page. However, the dependent picklist(multi picklist) although displayed on the page has no values in it.

I've checked the field level security and it seems to be correct.

Also when I remove the dependency between the picklists, the 2 separately display all it values(narrowing my thought to the dependency to be the cause of the problem)

both the picklists are on a custom object with no record type.

The visual force page is attached to a custom controller

Is there any reason for this to occur?

 

am I missing anything while trying to display a picklist on a VF page with a custom controller?

 

VF code:

<apex:inputField id="region" value="{!tempCon.Region__c}"/>
<apex:inputField id="subregion" value="{!tempCon.SubRegion__c}"/>

 

The controller just initialises the variable in the constructor

 

Temp_con__c tempCon = new Temp_con__c();