Primefaces 标题呈现问题

Primefaces 标题呈现问题,primefaces,Primefaces,我已经实现了一个p:commandButton来在单击表时更新表的内容。我认为这是可行的(尽管没有经过适当的测试),但更紧迫的问题如下 臭虫 在请求之前,标题栏如下所示: 点击右侧的刷新按钮后,页面重新呈现如下: 试图解决 以下是myp:commandButton的当前代码: <p> <p:commandButton oncomplete="eventFeedsDialog.show()" update=":eventFeedsForm" id="feeds

我已经实现了一个
p:commandButton
来在单击表时更新表的内容。我认为这是可行的(尽管没有经过适当的测试),但更紧迫的问题如下

臭虫

在请求之前,标题栏如下所示:

点击右侧的刷新按钮后,页面重新呈现如下:

试图解决

以下是my
p:commandButton
的当前代码:

  <p>
      <p:commandButton oncomplete="eventFeedsDialog.show()" update=":eventFeedsForm" id="feedsRefresh" icon="ui-icon-refresh" title="Refresh page" style="height:40px; width:40px; float:right;">
             <f:setPropertyActionListener value="#{true}" target="#{searchBean.refresh}"/>
      </p:commandButton>
  </p>
我已尝试将
oncomplete
属性更改为指向
h:form
而不是
对话框,但它似乎不起作用。我想出了一个办法,在
标题
属性中添加了一大堆空格,但这太难看了


我在谷歌上没有发现这样的东西,所以我想知道你们是否有什么想法?

因为没有提供太多的代码,所以尝试添加一个包装
,我没有提供大量的代码,因为我认为这可能是一个常见的问题。唉,似乎不是这样!
<p:dialog id="eventFeedsDialog" header="Feeds" widgetVar="eventFeedsDialog" resizable="false" width="1000"
          styleClass="dialog">