Created
November 20, 2014 05:21
-
-
Save magnet88jp/5073d3fe09662e38c98a to your computer and use it in GitHub Desktop.
input fiels 表示サンプル
This file contains hidden or 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 StandardController="NewFuncCheck__c" extensions="GrmNfcTrial1Ctrl"> | |
| <h1>リッチテキストエリア</h1> | |
| <apex:form> | |
| <!-- オブジェクト名から直接 inputFieldを表示可能(ただしデータは保存できない) --> | |
| <apex:inputField value="{!NewFuncCheck__c['RichText__c']}" /> | |
| <!-- 変数を経由することによってデータの取得が可能 --> | |
| <apex:inputField value="{!nfc['RichText__c']}" /> | |
| <!-- 複数項目を出力する場合は、項目セットを使用 --> | |
| <apex:repeat value="{!$ObjectType.NewFuncCheck__c.FieldSets.NFC_SET1}" var="s"> | |
| <apex:inputField value="{!nfc[s]}"/> | |
| </apex:repeat> | |
| </apex:form> | |
| </apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment