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
| // 現在のsentences データから Solution の Answer を更新 | |
| public PageReference renderContent() { | |
| PageReference pageRef = new PageReference('/apex/faqpreview?sid=' + solution.id); | |
| Blob content = pageRef.getContent(); | |
| Solution solution = [SELECT id, Answer__c FROM Solution | |
| WHERE id = :ApexPages.currentPage().getParameters().get('id')]; | |
| solution.Answer__c = content.toString(); | |
| update solution; |
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 docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" > | |
| <apex:stylesheet value="//cdn.jsdelivr.net/webjars/bootstrap-sf1/0.1.0-beta.6/css/bootstrap-namespaced.css"/> | |
| <apex:stylesheet value="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"/> | |
| <apex:includeScript value="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.js"/> | |
| <apex:includeScript value="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular-sanitize.min.js"/> | |
| <apex:includeScript value="//cdnjs.cloudflare.com/ajax/libs/textAngular/1.2.2/textAngular.min.js"/> | |
| <script> |
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 docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" > | |
| <apex:stylesheet value="//cdn.jsdelivr.net/webjars/bootstrap-sf1/0.1.0-beta.6/css/bootstrap-namespaced.css"/> | |
| <apex:stylesheet value="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"/> | |
| <link rel="{!URLFOR($Resource.ckeditor, 'src/css/ng-ckeditor.css')}"/> | |
| <apex:includeScript value="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.js"/> | |
| <apex:includeScript value="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular-sanitize.min.js"/> | |
| <script src="{!URLFOR($Resource.ckeditor, 'src/libs/ckeditor/ckeditor.js')}"></script> |
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
| public with sharing class ImportSample1Ctrl { | |
| public DataImportHistory__c dih { get; set; } | |
| public ImportSample1Ctrl() { | |
| System.debug('IN ImportSample1Ctrl'); | |
| } | |
| public void init() { |
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']}" /> |
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
| public with sharing class PlanetImportSample2Ctrl { | |
| public DataImportHistory__c dih { get; set; } | |
| public PlanetImportSample2Ctrl() { | |
| System.debug('IN PlanetImportSample2Ctrl'); | |
| dih = new DataImportHistory__c(); | |
| } | |
| public PageReference createData() { |
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 docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" standardController="DataImportHistory__c" extensions="PlanetImportSample2Ctrl"> | |
| <apex:stylesheet value="//cdn.jsdelivr.net/webjars/bootstrap-sf1/0.1.0-beta.6/css/bootstrap-namespaced.css"/> | |
| <apex:stylesheet value="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"/> | |
| <link data-jsfiddle="common" rel="stylesheet" media="screen" href="{!URLFOR($Resource.Handsontable, 'src/css/jquery.handsontable.full.css')}" /> | |
| <apex:includeScript value="//ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.js"/> | |
| <apex:includeScript value="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"/> | |
| <script src="{!URLFOR($Resource.Handsontable, 'src/js/jquery.handsontable.full.js')}"></script> | |
| <script src="{!URLFOR($Resource.Handsontable, 'src/js/ngHandsontable.js')}"></script> |
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
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular.min.js"></script> | |
| <script> | |
| var testApp = angular.module('app', []); | |
| testApp.factory('TestFact1', function () { | |
| return { | |
| "elem1" : "a", | |
| "elem2" : "b" |
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
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui/0.4.0/angular-ui.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.13/angular-ui-router.js"></script> | |
| <script> | |
| var testApp = angular.module('app', ['ui.router']); | |
| testApp.factory('TestFact1', function () { |
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
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui/0.4.0/angular-ui.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.13/angular-ui-router.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.13.0/ui-bootstrap-tpls.js"></script> | |
| <script> | |
| var testApp = angular.module('app', ['ui.router', 'ui.bootstrap']); |