免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1657 | 回复: 0
打印 上一主题 下一主题

JSF H 标签在HTML中的对应元素(zt) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-17 18:01 |只看该作者 |倒序浏览
原文地址:
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP