In JSF, <h:link />, <h:commandLink /> and <h:outputLink /> tags are used to render a HTML "a" anchor element, see below examples to understand the different among them. Note In below examples, assume "/JavaServerFaces/&quo…
Dev401-024:Visualforce Pages: Visualforce Componets (Tags) Library Part IIIStatic Resources1.Static resources are a new kind of Salesforce storage,designed for use with Visualforce.2.Static resources are items required by your Visualforce pages,such…
https://www.softwaretestinghelp.com/tools/top-40-static-code-analysis-tools/ In this article, I have summarised some of the top static code analysis tools. Can we ever imagine sitting back and manually reading each line of codes to find flaws? To eas…
*页面的开头 <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://myfaces.apache.org/extensions" prefix=&quo…
1. JSF入门 藉由以下的几个主题,可以大致了解JSF的轮廓与特性,我们来看看网页设计人员与应用程序设计人员各负责什么. 1.1简介JSF Web应用程序的开发与传统的单机程序开发在本质上存在着太多的差异,Web应用程序开发人员至今不可避免的必须处理 HTTP的细节,而HTTP无状态的 (stateless)本质,与传统应用程序必须维持程序运行过程中的信息有明显的违背,再则Web应用程序面对网站上不同的使用者同时的存取,其执行绪 安全问题以及资料验证.转换处理等问题,又是复杂且难以解决的. 另…
使用JSF标记 基于Facelets技术的JSF页面是一个 XHTML页面,文件扩展名为 .xhtml 1)JSF页面可用html标记,但必须满足: ①所有标记都必须闭合.如<p>开始,</p>结束:不成对的<br/> ②所有的标记名和属性名都必须为小写 ③所有的属性值都应用双引号或单引号括起来 2)JSF页面主要由JSF标记组成,也可包含一些JSTL(JSP Standard Tag Library) 标记 前缀 JSF HTML标记库 h JSF 核心标记库 f J…
https://stackoverflow.com/questions/3909267/differences-between-action-and-actionlistener   actionListener Use actionListener if you want have a hook before the real business action get executed, e.g. to log it, and/or to set an additional property (…
This Blog is a compilation of various methods of passing Request Parameters in JSF (2.0 +) (1)  f:viewParam One of the features added in JSF 2.0 is "View Parameters"; Simply speaking it allows adding "Query string" or "Request Par…
JSF提供了大量的UI标签来简化创建视图.这些UI标签类似于ASP.NET中的服务器组件.使用这些标签,可以通过其value,binding,action,actionListener等属性直接绑定到托管Bean的属性,实例或者方法上. 1.JSF中的三大核心组件: a. JSF容器管理的托管Beanb. JSF提供的UI标签,应用界面的UI标签直接绑定到托管Beanc. 页面导航规则 下面我们就来介绍UI标签: 2.JSF中的UI标签: JSF与JSP的标签的区别在于,JSF的标签可以使用va…
转载自:http://blog.csdn.net/duankaige/article/details/6711044 1:JSF页面之间传参 方法1: <h:outputLink value="param2.jsf"> <h:outputText value="Test4"></h:outputText> <f:param name="name" value="chen"><…