- 论坛徽章:
- 0
|
原文地址:
http://www.dxue.com/bbs_topic.do?forumID=2&postID=62
http://www.dxue.com/bbs_topic.do?forumID=2&postID=63
首先在页面引入,假定前缀是h,即这样声明:
按照JSF中的UIComponent来划分:
UIForm
1. h:form
用法:
...对应HTML语法:
...
UICommand
1. h:commandButton
用法:
对应HTML语法:
2.h:commandLink用法:
对应HTML语法:
link name
UIGraphic
?h:graphicImage
用法:
对应HTML语法:
UIInput
1. h:inputText
用法:
对应HTML语法:
2. h:inputSecret
用法:
对应HTML语法:
3. h:inputHidden
用法:
对应HTML语法:
4. h:inputTextArea
用法:
对应HTML语法:
Please input the contents here...
UIOutput
1. h:outputText
用法:
对应HTML语法:
terry
2. h:outputLabel
用法:
对应HTML语法:
member name3.h:outputLink用法:
JSF China
对应HTML语法:
JSF Studio
4. h:outputFormat
用法:
对应HTML语法:
Welcome, Joey, have a nice day!
UIMessage/UIMessages
h:message
用法:
对应HTML语法:
Validation Error: Value is required.
接第一部分
UISelectBoolean
h:selectBooleanCheckbox
用法:
对应HTML语法:
New Member?
UISelectMany
1. h:selectManyCheckboxlist
用法:
对应HTML语法:
Ajax revolution
Spring Fashion
2. h:selectManyMenu
用法:
对应HTML语法:
Ajax Revolution
Spring
3. h:selectManyListbox
用法:
对应HTML语法:
Ajax Revolution
Spring
UISelectOne
1. h:selectOneRadio
用法:
对应HTML语法:
Ajax Revolution
Spring
2. h:selectOneMenu
用法:
对应HTML语法:
Ajax Revolution
Spring
3. h:selectOneListbox
用法:
对应HTML语法:
Ajax Revolution
Spring
UIPanel
h:selectBooleanCheckbox
用法:
对应HTML语法:
tale demostration
this is the footer
1
2
3
4
UIColumn和UIData
h:dataTable h:column
用法:
对应HTML语法:
Title
Publish Date
Spring updated
2006-03-10
AJAX Revolution
2006-03-01
UISelectItems
h:selectItems
用法:
对应HTML语法:
Ajax Revolution
Spring
UISelectItem
h:selectItem
用法:
对应HTML语法:
Ajax Revolution
Spring
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/14788/showart_156849.html |
|