core.javaserver.faces.3rd.edition.pdf


文档分类:论文 | 页数:约666页 举报非法文档有奖
1/666
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/666
文档列表 文档介绍
ptg ptg FACELETS PAGE LAYOUT TEXT FIELD WEB-INF//corejsf/ BUTTON WEB-INF//corejsf/ The es ess and error can be mapped to pages in faces- . If no mapping is specified, the page / or / is displayed. GET REQUESTS Request parameters set bean properties before the page is rendered. The e method is called when the button is rendered . The view parameters are added to the request URL. RADIO BUTTONS WEB-INF//corejsf/ WEB-INF//corejsf/ CONVERSION The number is displayed with currency symbol and group separator: $1, VALIDATION Using the bean validation framework (JSR 303) Page-level validation and conversion Error messages RESOURCES resources/css/ <?xml version="" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Transitional//EN" "/xhtml1/DTD/xhtml1-"> <html xmlns="9/xhtml" xmlns:f="http://java./jsf/core" xmlns:h="http://java./jsf/html" xmlns:ui="http://java./jsf/facelets"> <h:head>...</h:head> <h:body> <h:form> ... </h:form> </h:body> </html> <h:inputText value="#{}"> ***@Named("bean1") // or ***@ManagedBean(name="bean1") ***@SessionScoped public class SampleBean { public int getLuckyNumber() { ... } public void setLuckyNumber(int value) { ... } ... } <mandButton value="press me" action="#{}"/> public class SampleBean { public String login() { if (...) return "ess"; else return "error"; } ... } <f:metadata> <f:viewParam name="item" value="#{}"/> <f:viewParam name="userId" value="#{}"/> </f:metadata> <h:button value="Continue" e="#{}" includeViewParams="true"/> <h:selectOneRadio value="#{}> <f:selectItems value="#{}" var="it" itemLabel="#{}" itemValue="#{}"/> </h:selectOneRadio> public

core.javaserver.faces.3rd.edition 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数666
  • 收藏数0 收藏
  • 顶次数0
  • 上传人phl19870121
  • 文件大小0 KB
  • 时间2016-07-13