作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
如何在richfaces 4 m5 中显示rich:popupPanel?下一个代码对我不起作用。
<a4j:commandLink value="#{bean.phone}" render="popDiv" execute="@this" >
<f:setPropertyActionListener target="#{personController.person}" value="#{bean}" />
<rich:componentControl target="personModalPanel" operation="show" event="onclick" />
</a4j:commandLink>
<rich:popupPanel id="personModalPanel" modal="true" width="200" height="200">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Edit Person" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/resources/img/x.png" styleClass="hidelink" id="hidelink" >
<rich:componentControl target="personModalPanel" operation="hide" event="onclick" />
</h:graphicImage>
</h:panelGroup>
</f:facet>
</rich:popupPanel>
最佳答案
在 Richfaces 4 中,您需要编写不带“on”字样的事件名称。所以给定的代码应该适合你。
<a4j:commandLink value="#{bean.phone}" render="popDiv" execute="@this" >
<f:setPropertyActionListener target="#{personController.person}" value="#{bean}" />
<rich:componentControl target="personModalPanel" operation="show" event="click" />
</a4j:commandLink>
<rich:popupPanel id="personModalPanel" modal="true" width="200" height="200">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Edit Person" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/resources/img/x.png" styleClass="hidelink" id="hidelink" >
<rich:componentControl target="personModalPanel" operation="hide" event="onclick" />
</h:graphicImage>
</h:panelGroup>
</f:facet>
</rich:popupPanel>
关于jsf - 丰富的面孔 4.0.0 丰富的 :popupPanel not showing,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4823500/
似乎可见的铃铛颜色是倒置的默认面,但我找不到在哪里以及如何控制它。 我知道可以设置 ring-bell-function 但这不是我想知道的。 最佳答案 在 Elisp 中无法控制可见铃的外观,因为它
使用下面的代码在 R 中生成热图。效果很好。第一部分是我用来为 map 着色的指标。我的问题是如何让标题如下所示。我知道有人会将第一行放在以 caption = Paste ("Source...")
我正在尝试定义一些 emacs 字体以进行一些自定义突出显示。当我单独定义它们时,这似乎有效: (defface my-r-face `((t (:foreground "red"))) "Red
我指的是 this post用于 3d 转换。 所以我尝试动态设置 .container 的透视属性,这样相邻的面应该垂直于正面,如下图绿线所示。 相关代码 .container { width:
首先,如果标题很长,我很抱歉。我正在使用 python 进行人脸检测。我正在尝试编写一个脚本,当在两个目录/文件夹之间检测到相同的图片或几乎相同的图片/面孔时,它将通知用户。 以下是我到目前为止编写的
我是一名优秀的程序员,十分优秀!