`
zhousuying
  • 浏览: 118989 次
  • 性别: Icon_minigender_2
  • 来自: 济南
文章分类
社区版块
存档分类
最新评论

rich:componentControl

阅读更多

http://hi.baidu.com/lvsiquan/blog/item/639a9189ce2d3fb90f2444ba.html
<rich:modalPanel id="deleteMsgPanel" top="120px" left="250px" height="152" width="342" autosized="true">
    <div class="panel-content">

   <span class="panel-header">系统提示</span>


    <p class="panel-text">您选择的该条记录删除后将无法恢复,请确认是否删除!</p>


    <p class="panel-button">

     <h:commandButton id="deleteOk" action="#{testVoucherBean.deleteData}" value="确 定" /> <rich:componentControl
     for="deleteMsgPanel" attachTo="deleteOk" operation="hide"
     event="onclick" /> &nbsp;

<input id="deleteCancel" class="button" type="button" value="取 消" />

<rich:componentControl
     for="deleteMsgPanel" attachTo="deleteCancel" operation="hide"
     event="onclick" /></p>
    </div>
   </rich:modalPanel>


rich:componentControl应是用来关闭rich:modalPanel的。至于rich:modalPanel使用时的注意事项,网上很多,不赘述。


http://john521.iteye.com/blog/493945 介绍richfaces 经典记录
分享到:
评论

相关推荐

    richfaces标签学习笔记.doc

    在Java的富客户端框架(RichFaces)中,`rich:componentControl`标签和`rich:modalPanel`标签是两个非常重要的组件,它们用于创建交互式的用户界面。`rich:componentControl`标签允许开发者通过AJAX操作来控制其他组件...

    Richfaces标签

    `rich:modalPanel`标签用于创建模态对话框,可以设置宽度、高度等样式属性,并通过`rich:componentControl`控制其显示和隐藏。 **示例代码:** ```xml &lt;rich:modalPanel id="panel" width="350" height="100"&gt; &lt;f...

    richface标签.doc

    `rich:componentControl` 标签是 RichFaces 提供的一个非常实用的功能标签,主要用于控制其他 RichFaces 组件的行为。通过该标签,可以实现如显示/隐藏模态面板等操作。 - **属性解析**: - `for`:指定该控制作用...

    richfaces标签学习笔记

    在本文中,我们将深入探讨 RichFaces 标签的使用,特别是 `rich:componentControl` 和 `rich:modalPanel` 标签,以及 `inputNumberSlider` 和 `PanelBar` 组件。RichFaces 是一个功能丰富的 JavaServer Faces (JSF) ...

    Usage of A4J.Usage of A4J.Usage of A4J.

    `&lt;rich:componentControl&gt;`用于控制其他RichFaces组件的行为。它可以用来改变组件的可见性、禁用状态,甚至绑定到特定的JavaScript事件。这增强了组件的灵活性和用户体验。 5. **&lt;rich:dropDownMenu&gt;组件** `...

    Richfaces 4 组件参考手册

    - **Parameters and JavaScript**:说明如何通过参数和JavaScript来配置 `&lt;rich:componentControl&gt;`。 - **Timing**:讨论 `&lt;rich:componentControl&gt;` 的时间控制选项。 - **Referencedata**:给出具体示例和参考...

    richfaces组件说明文档及使用实例

    `&lt;rich:componentControl&gt;`标签可用于监听和响应特定组件的事件。 5. **数据展示与处理**: RichFaces的`&lt;rich:dataTable&gt;`和`&lt;rich:extendedDataTable&gt;`组件提供了强大的数据展示功能,支持分页、排序、过滤等...

    richfaces-components-ui-4.0.0.Final-sources

    6. **国际化与本地化**:RichFaces支持多语言环境,通过`&lt;rich:messages&gt;`和`&lt;rich:componentControl&gt;`等组件,可以轻松实现消息的国际化的显示。 7. **组件扩展与自定义**:由于提供了源代码,开发者可以根据需求...

    Richfaces4.0例子

    通过定义`&lt;a4j:support&gt;`或`&lt;rich:componentControl&gt;`标签,你可以监听用户的操作并执行相应的后台逻辑。这对于创建动态和响应式的用户界面至关重要。 在"richfaces4_demo"这个压缩包中,很可能包含了若干个示例JSF...

    TMS.IntraWeb.Component.Pack.Pro.v.5.8.D2009-XE8

    TMS Components for IntraWeb allows rich design-time editing of webpages from the Delphi IDE directly on IntraWeb forms. IntraWeb and the TMS Components for IntraWeb allow an unprecedented RAD way of ...

    TMS IntraWeb Component Pack v5.8 D2009-XE10

    TMS Components for IntraWeb allows rich design-time editing of webpages from the Delphi IDE directly on IntraWeb forms. IntraWeb and the TMS Components for IntraWeb allow an unprecedented RAD way of ...

    TMS IntraWeb Components v5.8.1.0 for XE10.1 Full Source

    TMS Components for IntraWeb allows rich design-time editing of webpages from the Delphi IDE directly on IntraWeb forms. IntraWeb and the TMS Components for IntraWeb allow an unprecedented RAD way of ...

    TMS Component Pack v8.3.4.0 - Delphi 10.1 Berlin Full Source

    Create modern-looking & feature-rich Windows applications faster with well over 400 components in one money and time saving bundle for Delphi 7, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8...

    atl_edit.rar_ATL_activex atl edit de_atl richedit_atl edit

    这个“atl_edit.rar”压缩包文件显然包含了关于ATL中用于创建编辑控件(Edit Control)的示例代码,让我们深入探讨一下这个主题。 ATL是一个轻量级的库,它的设计目标是提供一种更有效率的方式来创建COM对象,相比...

    WPTools.v.6.16.XE10.1

    WPTools is much more than a replacement for the Delphi richedit component: The central part of this VCL control is a complete RTF WYSIWYG word processing control which is surprisingly small....

    TMS Component Pack v9.2.4.0

    Use cell font and color from display or different print font control. Automatically splits columns over multiple pages if needed. Print selected regions from the grid. Set margins, print centered. Use...

    ComponentOne Studio for Windows Phone 2012 v3

    ComponentOne Studio® for Windows Phone includes over 20 UI controls for data visualization, rich text editing, data input, PDF viewing, layout and more. Designed to enhance the rich user experience ...

    ComponentOne Studio for Windows Phone 2013 v1

    ComponentOne Studio® for Windows Phone includes over 20 UI controls for data visualization, rich text editing, data input, PDF viewing, layout and more. Designed to enhance the rich user experience ...

    ComponentOne 2012 V2 ActiveReports 7 1/3

    Events and properties control: § Data retrieval § Data transformation § Layout § Rendering In addition, the API gives the developer complete control over the rendered document to allow selective ...

    ComponentOne Studio for Silverlight 2012 v3 1/3

    ComponentOne Studio for Silverlight 2012 v3 1/3 一共有 3 个压缩文件,请全部下载后解压 ComponentOne Studio Silverlight 2012 v3 Silverlight UI Controls with Power and Style ...class support for ...

Global site tag (gtag.js) - Google Analytics