In JSF, <h:selectOneMenu /> tag is used to render a dropdown box – HTML select element with "size=1" attribute. //JSF... <h:selectOneMenu value="#{user.favCoffee1}"> <f:selectItem itemValue="Cream Latte" itemLa…
In JSF, <h:selectManyMenu /> tag is used to render a multiple select dropdown box – HTML select element with "multiple" and "size=1" attribute. //JSF... <h:selectManyMenu value="#{user.favCoffee1}"> <f:selectIt…
Windows 8: TopMost window I am working on my next ambitious project “MouseTouch” which is multi touch simulator application for windows 8 platform and intended to increase the productivity if you are running windows 8 on non-touch device. This will…
HDInsight cluster on Linux 登录 Azure portal (https://manage.windowsazure.com ) 点击左下角的 NEW 按钮,然后点击 DATA SERVICES 按钮,点击 HDINSIGHT,选择 HADOOP ON LINUX,如下图所示. 输入集群名称,选择集群大小和账号,设定集群的密码和存储账号,下表是各个参数的含义和配置说明. Name Value Cluster Name Name of the cluster. Clust…
Browser security prevents a web page from making AJAX requests to another domain. This restriction is called the same-origin policy, and prevents a malicious site from reading sentitive data from another site. However, sometimes you might want to let…
Introduction This tutorial demonstrates CORS support in ASP.NET Web API. We’ll start by creating two ASP.NET projects – one called “WebService”, which hosts a Web API controller, and the other called “WebClient”, which calls WebService. Because the t…
Examples http://msdn.microsoft.com/en-us/library/aa969773(v=vs.110).aspx Displays a message box that can contain text, buttons, and symbols that inform and instruct the user. MessageBoxButtons.YesNo const string message = "您想删除当前记录吗?"; const str…