Created
July 31, 2017 11:09
-
-
Save 101dvlp/c1f05db85e260e5aab61b6de7490654c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page showHeader="true" sidebar="true" standardController="Contact" extensions="ContactSampleExtension"> | |
<p>This is ContactSample page(VF)</p> | |
<!-- 選択肢を表示 --> | |
<apex:form> | |
<div style="width: 20%;"> | |
<apex:selectRadio value="{!selected}" layout="pageDirection" borderVisible="true" legendText="選択肢サンプル"> | |
<apex:selectOptions value="{!items}"/> | |
</apex:selectRadio> | |
</div> | |
<div> | |
<apex:commandButton action="{!doButtonAction}" value="debug" reRender="msg"/> | |
</div> | |
<div style="margin-top: 2.0em;"> | |
<apex:outputPanel id="msg"> | |
<apex:outputText value="{!selected}" style="color: red; font-size: 3.0em; font-weight: bold; font-family: sans-serif; padding: 0.3em;"/> | |
</apex:outputPanel> | |
</div> | |
</apex:form> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment