1 / 666
文档名称:

Core.JavaServer.Faces.3rd.Edition.pdf

格式:pdf   页数:666页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Core.JavaServer.Faces.3rd.Edition.pdf

上传人:012luyin 2016/3/2 文件大小:0 KB

下载得到文件列表

Core.JavaServer.Faces.3rd.Edition.pdf

相关文档

文档介绍

文档介绍:ptgptgFACELETS PAGE LAYOUT TEXT FIELD -INF//corejsf/ -INF//corejsf/ es ess and error can be mapped to pages in faces-. If no mapping is specified, the page / or / is REQUESTS Request parameters set bean properties before the page is e method is called when the button is rendered. The view parameters are added to the request BUTTONS WEB-INF//corejsf/-INF//corejsf/ number is displayed with currency symbol and group separator: $1, the bean validation framework (JSR 303) Page-level validation and conversionError 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 class SampleBean { public Collection<Condiment> getChoices() { ...} public int getCo