转
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" />
<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 经典记录
分享到:
相关推荐
在Java的富客户端框架(RichFaces)中,`rich:componentControl`标签和`rich:modalPanel`标签是两个非常重要的组件,它们用于创建交互式的用户界面。`rich:componentControl`标签允许开发者通过AJAX操作来控制其他组件...
`rich:modalPanel`标签用于创建模态对话框,可以设置宽度、高度等样式属性,并通过`rich:componentControl`控制其显示和隐藏。 **示例代码:** ```xml <rich:modalPanel id="panel" width="350" height="100"> <f...
`rich:componentControl` 标签是 RichFaces 提供的一个非常实用的功能标签,主要用于控制其他 RichFaces 组件的行为。通过该标签,可以实现如显示/隐藏模态面板等操作。 - **属性解析**: - `for`:指定该控制作用...
在本文中,我们将深入探讨 RichFaces 标签的使用,特别是 `rich:componentControl` 和 `rich:modalPanel` 标签,以及 `inputNumberSlider` 和 `PanelBar` 组件。RichFaces 是一个功能丰富的 JavaServer Faces (JSF) ...
`<rich:componentControl>`用于控制其他RichFaces组件的行为。它可以用来改变组件的可见性、禁用状态,甚至绑定到特定的JavaScript事件。这增强了组件的灵活性和用户体验。 5. **<rich:dropDownMenu>组件** `...
- **Parameters and JavaScript**:说明如何通过参数和JavaScript来配置 `<rich:componentControl>`。 - **Timing**:讨论 `<rich:componentControl>` 的时间控制选项。 - **Referencedata**:给出具体示例和参考...
`<rich:componentControl>`标签可用于监听和响应特定组件的事件。 5. **数据展示与处理**: RichFaces的`<rich:dataTable>`和`<rich:extendedDataTable>`组件提供了强大的数据展示功能,支持分页、排序、过滤等...
6. **国际化与本地化**:RichFaces支持多语言环境,通过`<rich:messages>`和`<rich:componentControl>`等组件,可以轻松实现消息的国际化的显示。 7. **组件扩展与自定义**:由于提供了源代码,开发者可以根据需求...
通过定义`<a4j:support>`或`<rich:componentControl>`标签,你可以监听用户的操作并执行相应的后台逻辑。这对于创建动态和响应式的用户界面至关重要。 在"richfaces4_demo"这个压缩包中,很可能包含了若干个示例JSF...
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 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 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 ...
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中用于创建编辑控件(Edit Control)的示例代码,让我们深入探讨一下这个主题。 ATL是一个轻量级的库,它的设计目标是提供一种更有效率的方式来创建COM对象,相比...
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....
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 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 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 ...
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 一共有 3 个压缩文件,请全部下载后解压 ComponentOne Studio Silverlight 2012 v3 Silverlight UI Controls with Power and Style ...class support for ...