问题标签 [richfaces-modal]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
jsf - javax.el.ELException:找不到函数“丰富:组件”
我正在支持 bean 中创建模型。
我的java代码行是这样的
我得到一个错误。这同样适用于 xhtml 页面。
如何解决上述错误。
richfaces - richfaces a4j:support event unexpected calling backend methods
I work on a JSF 1.2 application with Richfaces 3.3. I have a popup which contains a rich:extendedDataTable
. When I click a row in a table I want to enable or disable a button, and I use a4j:support event="onRowClick"
.
Here is some code:
The problem is that when I click a row, then in the backend are called some methods that are use to render a button: rendered="#{bean.completedCase}"
, but the button is not on the popup, but on the page beyond the popup. Any idea why there are called other methods than the ones used for the table?
richfaces - 表单提交行为
我想了解 Richfaces 上 a4j 背后的行为。
我有 ah:form 和 ah:inputText 和 a4j:commandButton。按钮操作调用我的 bean 中的一个方法,并且 oncomplete 显示 Richfaces.showModal 和一些内容。
在 h:form 之外,我有一个 ui:decorate 可以导入我的 Modal,它周围有一个表单。
问题:当我点击按钮提交表单时,该方法被触发并显示模式,但它只在第一次工作。当我关闭我的模态,更改输入值并提交时,不会调用该方法,并且我的模态显示为旧内容。我的第二个表单提交中发生了什么?
先感谢您!
jsf - 如何在 modalpanel 中重新渲染组件?
可能吗?如果是,我该怎么做?
我需要在执行操作<h:outputText>
后重新渲染 a <a4j:commandLink>
,两个组件都在模态面板内,而模态面板在我尝试过的 a 内:
jsf - 如何使 a4j:commandLink 执行动作并显示模态面板?
Jsf 1.2,Richfaces 3.3.3,
我得到以下代码来显示richfaces:modalpanel:
它可以工作并显示模态面板,但我无法做到的是调用 MyBean 上的方法,我该怎么做?
更新 1
我忘了提到我需要通过<f:param>
那个动作
更新 2
根据要求,这是我拥有的确切代码:
jsf - 如何在 JSF 1.2 中知道并从 ah:datatable 中的 h:column 获取 id
我有一个数据表,通过单击图像打开该数据表<rich:modalPanel>
。但是<rich:componentControl for="panel" attachTo="showPreview"
必须有确切的 id,在我下面的例子中:showPreview
,但是由于我的链接在 dataTable 中,它会像1:showPreview
2:showPreview
......一样生成n:showPreview
有什么方法可以知道我在表格的哪一行,以获得动态绑定?
我在 JSF 1.2 中的 XHTML 看起来像这样:
感谢您的任何帮助!
richfaces - 如何在 RichFacesPleaseWaitBox 上阻止键“esc”?
我在我的应用程序中有一个“RichFacesPleaseWaitBox”的实现,但是有一个问题。
当用户启动任何操作时,状态开始,显示模式“等待”。当动作完成执行时,状态结束,隐藏模式“等待”。到这里还好。
但是,如果用户开始操作,按下“ESC”,已经出现的模态“等待”消失了,允许用户再次点击操作,进行新的提交。
如何阻止“ESC”以解决此问题?
我已经在我的 modalPanel 中尝试过,但没有用。
richfaces - 使用 JS 更改丰富的:modalpanel 宽度/高度?
有可能吗?如果是这样,有没有人有任何例子?
提前致谢。
html - 使用 jsf 或 richfaces 在选项卡中加载链接的内容
我有一个 jsf 选项卡式页面。如何在选项卡中加载链接以实现类似于 html 中的页框的功能。我想知道 jsf 和 richfaces 中的这两个选项。
jsf - 我怎么能从我的托管 Bean 调用 Richfaces.showModalPanel?
是否有可能从我的操作返回中进行此调用?
例如: