Created
October 20, 2017 11:50
-
-
Save zaki-yama/7d2f3c36b91eb280c5bf5f6bf554e39d to your computer and use it in GitHub Desktop.
Visualforceにコントローラー経由でhtml lang属性をセットできるか検証
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="false" applyHtmlTag="false" doctype="html-5.0" controller="HtmlLangTestController"> | |
<html lang="{!lang}"> | |
<head></head> | |
<body>hello</body> | |
</html> | |
</apex:page> |
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
public with sharing class HtmlLangTestController { | |
public String lang { get { return 'foo'; } set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
結果