visualforceページに次のものがあります。
<apex:pageBlock mode="{!pageBlockMode}">
</apex:pageBlock>
そして、この頂点コードを使用したカスタム拡張機能:
public string pageBlockMode
{
get { return 'edit'; }
}
Does anyone know why this doesn't work? It's simply defaulting to 'detail' mode. Is there a way to dynamically change the 'mode' attribute of a pageBlock?