`
rogerhunt
  • 浏览: 59638 次
  • 性别: Icon_minigender_1
  • 来自: 新加坡
社区版块
存档分类
最新评论

IceFacs 页面编程 two 例子

    博客分类:
  • JSF
 
阅读更多
IceFaces page code one:
引用
<ui:composition
        template="/WEB-INF/includes/templates/page-template.xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:c="http://java.sun.com/jstl/core"
        xmlns:ice="http://www.icesoft.com/icefaces/component"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:m="http://www.savvis.net/mw/jsf">

    <ui:define name="javascript">
        <script language="JavaScript" type="text/javascript">
        </script>
    </ui:define>
    <ui:define name="title">#{msgs['report.mw.cap.audit.title']}</ui:define>

    <ui:define name="page-content">
        <ice:form id="myform">
            <ice:panelCollapsible expanded="true">
                <f:facet name="header">
                    <ice:panelGroup styleClass="expandableStateIndicator">
                        <ice:outputText value="#{msgs['report.vpdc.audit.report.title']}"/>
                    </ice:panelGroup>
                </f:facet>
                <ice:panelGrid columns="1" width="100%">
                    <ice:panelGrid columns="3">
                        <ice:outputLabel value="#{msgs['report.vpdc.audit.label.input.job.id']}"/>
                        <ice:panelGroup>
                            <ice:inputText id="jobId" value="#{vpdcAuditReportBean.jobId}"
                                           binding="#{vpdcAuditReportBean.jobIdInputText}"
                                           title="#{msgs['report.mw.cap.audit.label.notify']}">
                            </ice:inputText>
                            <ice:message for="jobId" errorClass="error"/>
                        </ice:panelGroup>
                        <ice:message for="auditSystems" errorClass="error"/>
                        <ice:outputLabel value="#{msgs['report.vpdc.audit.label.input.email.address.list']}"/>
                        <ice:panelGroup>
                            <ice:inputText id="emailAddressList" value="#{vpdcAuditReportBean.emailAddressList}"
                                           binding="#{vpdcAuditReportBean.emailAddressListIdInputText}"
                                           title="#{msgs['report.mw.cap.audit.label.notify']}" style="width:350px">
                            </ice:inputText>
                            <ice:message for="emailAddressList" errorClass="error"/>
                        </ice:panelGroup>
                        <ice:message for="auditSystems" errorClass="error"/>
                        <ice:outputLabel id="dataPointsTitle" value="#{msgs['report.vpdc.audit.label.data.points']}"/>
                        <ice:panelGrid columns="1" id="dataPoints"
                                       binding="#{vpdcAuditReportBean.dataPointsGrid}">
                            <ice:panelGroup style="border: 1px solid gray; padding: 4px 4px 4px 4px;">
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.netWork}"/>
                                    <ice:outputLabel value="Network(VLAN)"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.vmVMDK}"/>
                                    <ice:outputLabel value="VM(VMDK)"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.lun}"/>
                                    <ice:outputLabel value="LUN"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.ace}"/>
                                    <ice:outputLabel value="ACE(PFW,SLB)"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.stfw}"/>
                                    <ice:outputLabel value="STFW"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.acl}"/>
                                    <ice:outputLabel value="ACL"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.dhcpServer}"/>
                                    <ice:outputLabel value="DHCP Server"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.detachedVMDK}"/>
                                    <ice:outputLabel value="Detached VMDK"/>
                                </ice:panelGroup>
                            </ice:panelGroup>
                        </ice:panelGrid>
                        <ice:message for="auditSystems" errorClass="error"/>
                        <ice:outputLabel id="dataSourceTitle" value="#{msgs['report.vpdc.audit.label.data.sources']}"/>
                        <ice:panelGrid columns="1" id="dataSources"
                                       binding="#{vpdcAuditReportBean.dataSourcesGrid}">
                            <ice:panelGroup style="border: 1px solid gray; padding: 4px 4px 4px 4px;">
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.mw}"/>
                                    <ice:outputLabel value="MW(yFile,vpdc_comp,service design,vpdc_detail)"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.vantive}"/>
                                    <ice:outputLabel value="Vantive"/>
                                </ice:panelGroup>
                                <ice:panelGroup>
                                    <ice:selectBooleanCheckbox value="#{vpdcAuditReportBean.infrastructure}"/>
                                    <ice:outputLabel value="Infrastructure"/>
                                </ice:panelGroup>
                            </ice:panelGroup>
                        </ice:panelGrid>
                    </ice:panelGrid>
                    <ice:panelGroup>
                        <ice:commandButton value="#{msgs['report.mw.cap.audit.button.show']}"
                                           actionListener="#{vpdcAuditReportBean.showReport}"
                                           style="margin-bottom:5px" id="showReport"
                                           action="vpdc.aduit.report.submit.show"
                                           binding="#{vpdcAuditReportBean.generateCommandButton}"
                                           alt="#{msgs['report.mw.cap.audit.button.show']}"/>
                        &#160;&#160;&#160;&#160;
                        <ice:message for="showReport" errorClass="error"/>
                    </ice:panelGroup>
                </ice:panelGrid>
            </ice:panelCollapsible>
        </ice:form>
    </ui:define>

</ui:composition>

The IceFaces page one performs in the browser like below:


IceFaces page code two:
引用
<ui:composition
        template="/WEB-INF/includes/templates/page-template.xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:c="http://java.sun.com/jstl/core"
        xmlns:ice="http://www.icesoft.com/icefaces/component"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:m="http://www.savvis.net/mw/jsf">

    <ui:define name="javascript">
        <script language="JavaScript" type="text/javascript">
        </script>
    </ui:define>
    <ui:define name="title">#{msgs['report.vpdc.audit.report.submit.title']}</ui:define>

    <ui:define name="page-content">
        <ice:form id="myform">
            <ice:panelCollapsible expanded="true">
                <f:facet name="header">
                    <ice:panelGroup styleClass="expandableStateIndicator">
                        <ice:outputText value="#{msgs['report.vpdc.audit.report.submit.title']}"/>
                    </ice:panelGroup>
                </f:facet>
                <ice:panelGrid>
                    <ice:panelGroup>
                        <ice:outputFormat value="#{msgs['submit.report.vpdc.audit.gerneration']}">
                            <f:param value="#{vpdcAuditReportSubmitBean.billingSiteId}"/>
                            <f:param value="#{vpdcAuditReportSubmitBean.location}"/>
                            <f:param value="#{vpdcAuditReportSubmitBean.vpdcId}"/>
                            <f:param value="#{vpdcAuditReportSubmitBean.vpdcName}"/>
                            <f:param value="#{vpdcAuditReportSubmitBean.serviceProfile}"/>
                            <f:param value="#{vpdcAuditReportSubmitBean.jobId}"/>
                        </ice:outputFormat>
                    </ice:panelGroup>
                    <ice:outputText value="It will take some time."/>
                    <ice:panelGroup>
                        <ice:outputFormat value="#{msgs['submit.report.vpdc.audit.data.points']}">
                            <f:param value="#{vpdcAuditReportSubmitBean.selectedDataPoints}"/>
                        </ice:outputFormat>
                    </ice:panelGroup>
                    <ice:panelGroup>
                        <ice:outputFormat value="#{msgs['submit.report.vpdc.audit.data.sources']}">
                            <f:param value="#{vpdcAuditReportSubmitBean.selectedDataSources}"/>
                        </ice:outputFormat>
                    </ice:panelGroup>
                    <ice:panelGroup>
                        <ice:outputFormat value="#{msgs['submit.report.vpdc.audit.email.list']}">
                            <f:param value="#{vpdcAuditReportSubmitBean.emailAddressList}"/>
                        </ice:outputFormat>
                    </ice:panelGroup>
                </ice:panelGrid>
            </ice:panelCollapsible>
        </ice:form>
    </ui:define>
</ui:composition>


The IceFaces page two performs in the browser like below:

  • 大小: 15 KB
  • 大小: 6.8 KB
0
1
分享到:
评论

相关推荐

    基于jQuery页面翻转特效.rar_two2tw_基于jQuery页面翻转特效

    【标题】"基于jQuery页面翻转特效.rar_two2tw_基于jQuery页面翻转特效" 提供的信息表明,这个压缩包包含了一个使用jQuery实现的页面翻转特效。在网页设计和开发中,动态视觉效果常常能提升用户体验,其中页面翻转...

    汪文君高并发编程实战视频资源下载.txt

    │ 高并发编程第二阶段05讲、一个解释volatile关键字作用最好的例子.mp4 │ 高并发编程第二阶段06讲、Java内存模型以及CPU缓存不一致问题的引入.mp4 │ 高并发编程第二阶段07讲、CPU以及CPU缓存的结构,解决高速...

    泛型编程与STL part two

    泛型编程与STL ,part two 有索引,可做参考

    two-pass.zip_4连通域 two pass_two-pass_two-pass算法_twopass_连通域 two p

    在图像处理中经常要找图像的连通域,在此提供了两种图像连通域的算法,two-pass和种子填充算法,代码可以直接应用!

    WI TWO 淘宝分享java编程艺术

    《Java编程艺术》是Java程序员必读的经典书籍之一,它深入浅出地讲解了Java语言的核心概念和技术,旨在提升读者的编程能力和理解力。在这个压缩包中,包含的文件很可能是该书的部分章节或者精华内容,帮助我们进一步...

    clip-two Html-Admin

    2. **组件(Components)**:如表单、按钮、卡片、图表、通知、进度条等,这些都是构建页面功能和视觉元素的关键。 3. **响应式设计(Responsive Design)**:确保模板在不同设备和屏幕尺寸上都能良好展示,通常通过...

    java 对象集合小例子.

    table.put("Two", 2); ``` 接下来,我们讨论`Vector`。Vector是List接口的一个实现,它与ArrayList类似,但它是线程安全的。这意味着在多线程环境中,当你需要确保数据同步时,Vector是一个好选择。然而,由于其...

    汪文君高并发编程实战视频资源全集

    │ 高并发编程第二阶段05讲、一个解释volatile关键字作用最好的例子.mp4 │ 高并发编程第二阶段06讲、Java内存模型以及CPU缓存不一致问题的引入.mp4 │ 高并发编程第二阶段07讲、CPU以及CPU缓存的结构,解决高速...

    四种页面置换算法代码

    在编程实现中,可能涉及到的数据结构包括链表、哈希表,以及对位数组的操作,这些都是计算机科学基础的重要组成部分。通过分析和优化这些算法,可以提升系统的内存利用率,减少不必要的磁盘I/O操作,从而提高系统的...

    LeetCode2 Add Two Numbers

    You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return ...

    完善版TreeTwo.rar

    在IT领域,Windows编程是开发桌面应用程序的重要部分,而Visual C++ 6.0(简称VC60)是Microsoft提供的...通过研究这个例子,开发者可以提升自己在Windows编程和MFC框架上的技能,增强其应用程序的用户友好性和功能性。

    Tess-two编译可用.so文件 2018

    Tess-two是一个开源的Android库,它是Tesseract OCR(光学字符识别)引擎的Android版本。OCR是一种技术,可以将图像中的文字转换为可编辑的文本。这个压缩包文件“Tess-two编译可用.so文件 2018”显然是提供了Tess-...

    Two Sum算法调试小demo

    "Two Sum"算法是一种基础且常见的编程问题,它在数据结构和算法领域有着广泛的应用。这个算法的基本目标是给定一个整数数组和一个目标值,找出数组中两个数的索引,使得它们相加等于目标值。在这个"Two Sum算法调试...

    python爬虫小例子

    Python爬虫技术是一种用于自动化网络数据获取的编程技术,它能高效地遍历网页、提取信息,广泛应用于数据分析、市场研究、新闻聚合等领域。在这个"python爬虫小例子"中,我们将探讨如何利用Python实现一个简单的异步...

    Twopass连通域算法

    Twopass连通域算法,MATLAB可运行

    最新tess-two_so.rar

    《关于tess-two及其在图形识别中的应用》 在当今数字化时代,图像处理与识别技术在各个领域都有着广泛的应用,其中Tesseract(简称tess-two)是一个被广泛应用的开源OCR(Optical Character Recognition,光学字符...

    stk500编程器pcb

    STK500编程器通过ISP接口与目标AVR芯片建立连接,使用特定的协议如SPI(Serial Peripheral Interface)或TPI(Two-wire Parallel Interface)进行通信。编程器首先会进行芯片识别,然后读取或写入程序代码到芯片的...

    java part two.zip

    本压缩包"java part two.zip"提供了Java入门学习的第二阶段代码练习,旨在帮助初学者深化对Java的理解并提高编程技能。在这个阶段,你将接触到更多的Java核心概念和技术,进一步巩固你的编程基础。 首先,我们要...

    C++编程思想第二版

    卷二《Thinking in C++ 2nd Edition, Volume Two》则深入探讨了C++的高级特性,如继承、多态性、异常处理、模板元编程、I/O流库、智能指针以及设计模式。这些内容不仅让读者理解C++的复杂性,还能提高他们的编程技巧...

    cprimerplus编程题答案

    ### C Primer Plus 编程题解答 #### 题目概述 本篇文章将解析一系列来自《C Primer Plus》这本书中的编程练习题目,并提供详细的解答与分析。这些练习旨在帮助读者理解并掌握C语言的基本概念与编程技巧。 #### 第2...

Global site tag (gtag.js) - Google Analytics