+ Start a Discussion
DJ Rock your own styleDJ Rock your own style 

inline editing in visualforce

Hi All,

 

I have used an apex detail page for leads with inline edit functionality. When certain conditions are met, I am flipping the page layout to a different one. I am doing this using an extension class. I do not want to use workflows.

 

The behaviour is weird. The page layouts are not always changing. My condition is when a checkbox is checked, The record type should flip. The record type flips but correct fields and buttons are not properly displayed. The record type changes but the assigned page layout doesnt. However, when i refresh the page, correct values come up.

 

Does anyone have a solution to this or can suggest me what am i missing? Any help will be greatly appreciated.

 

Regards,

Dave

ryanjuptonryanjupton

Silly question but is the flipping tied to an action that would refresh the form or is it part of an Ajax refresh. The page won't change automatically.