+ Start a Discussion
cedgcedg 

Record Type supported in Visualforce pages ?

Hi,

in one of my visualforce page, there is a picklist for which the record type that sets the options available doesn't seem to be taken into account .

I read some posts about that, and i understood correctly it should be fixed since Winter 11 release, but it's still not working in my VF page.

So is this issue still opened and do i have to manage the options dynamically, or is it fixed anyway.

Thanks for the feedback.

Ced

ForceBalaForceBala

 

<apex:page standardController="Case" extensions="clsCase" sidebar="false">
  <apex:form >
  <apex:inputField value="{!case.Recordtypeid}" />
  <apex:commandButton value="go" reRender="page"/>
  <apex:pageBlock id="page">
---------you code here---
  </apex:pageBlock> 
  <apex:commandButton value="save" action="{!save}"/>
  </apex:form>
  </apex:page>

 

cedgcedg

no, it doesn't work. the dropdown doesn't change when rerendering ...

cedgcedg

i didn't specify it , but i've one default record type. Other being set with the workflow rules later in the workflow.