English 中文(简体)
• 呼吁一位习俗听众取消:浏览 编辑
原标题:call a custom listener for cancel in p:rowEditor

当取消纽芬兰语时,我一直试图打电话给一位习俗听众,在主语中点击 but。 但我无法找到这样做的正确属性。

取消纽顿的问题在于,如果我试图在数据表上增加新行,并点击取消的纽顿[如果我认为不需要的话],那么,如果数据表上显示空投,那么它就会被罚款。

请帮助我:

问题回答

类似情况(JSF2 + Primeface 2.2.1)......

<p:column headerText="Test">
    <p:rowEditor>
        <p:ajaxStatus oncomplete="#{yourBean.yourHandleMethod()}"></p:ajaxStatus>
    </p:rowEditor>
</p:column>

恐怕这种功能在箱子外提供。 浏览器构成部分已并入一个数据表及其自己的活动和听众,以编辑现有的单一浏览器。 浏览器部件的取消纽扣吨,其唯一功能是汇总总理栏各组成部分的产出和投入。

如果贵格会好,你可以通过按取消的纽顿类别(j Query( .ui-icon-close >)找到DOM要素来打破这一功能,并指派一名定制的javascript普审校,但如果有多个浏览器,而且如选择Cancel,你希望删除一个空白行,则在数据表中可能会出现问题。

一种更好的做法是建立一个新纽顿,显示一种形式的方言。 通过方言表格发送,可增加必要的数据。





相关问题
JSF a4j:support with h:selectManyCheckbox

I m having trouble with a JSF selectManyCheckbox and A4J support. The purpose is to run some action when a checkbox is selected. This works perfectly in Firefox. Yet, when testing in any IE (ie6 / ie7 ...

Mojarra for JSF Encoding

Can anyone teach me how to use mojarra to encode my JSF files. I downloaded mojarra and expected some kind of jar but what i had downloaded was a folder of files i don t know what to do with

如何拦截要求终止?

在共同基金中,如果用户要求终止,就需要采取一些行动。 我需要某种拦截器,但我不知道如何这样做。 我需要帮助。 增 编

ICEFaces inputFile getting the file content without upload

Is there any way of just getting the content of the browsed file without any upload/file transfer operations? I currently use ICEFaces inputFile component but I do not need the default uploading ...

Weird behaviour of h:commandLink action (MethodExpression)

I have two JSPs where I am displaying some info from database in a h:dataTable. One of them is showing all the info, and one of them user specifically. I have showXML.jsp that shows the "XML" column ...

How to correctly use ResultSet with h:dataTable

The problem is, that after displaying the ResultSet with <h:dataTable>, the connection is left open. If I close it, it closes the ResultSet too. I m thinking about copying the ResultSet data ...

热门标签