我是靠谱客的博主 明理篮球,这篇文章主要介绍各种jsf html标签,JSF+HTML标签总结.doc,现在分享给大家,希望可以做个参考。

修订记录

日期 描述作者版本号

标签说明frominputTextinputTextareainputSecretinputHiddenoutputLableoutputLinkoutputFormat

*页面的开头

href="/css/style_organ.css" />

href="/css/public.css" />

href="/css/ext.css" />

*假数据的构造

javax.faces.model.ArrayDataModel ad = new javax.faces.model.ArrayDataModel(str);

pageContext.setAttribute("ad", ad, PageContext.SESSION_SCOPE);

%>

1、inputTextarea

常用属性:cols

Rows

常用的写法:

2、inputText

常用属性:readonly

Size 框的大小

Maxlength 最多字符数

常用的写法:

Maxlength=”6”

style=”color:yellow;background:Teal;” />

3、outputText

常用属性:escape 如果设置为true,会转义和&字符。默认值为false

使用举例:

style="height:30;width:100%;text-align:center;background-color:#DDDDDD;" />

4、outputFormat

此标签用于tag体中指定的参来格式化组合的消息,

例如:

5、graphicImage

常用例子:

6、commandButton

常用属性:

Type

最后

以上就是明理篮球最近收集整理的关于各种jsf html标签,JSF+HTML标签总结.doc的全部内容,更多相关各种jsf内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(50)

评论列表共有 0 条评论

立即
投稿
返回
顶部