-2

is it possible using PrimeFaces EL to update the title of an opened dialog without updating its content.

My Solutions so far is reopening the dialog and loading its new content. Tried to set the title on server side but couldn't also manage to refresh just the title.

Any hints? Thanks in advance.

Problem is that a button within the dialog is setting up the title. When I do this and update the whole dialog, the dialog will be closed.

LupoZ
  • 191
  • 1
  • 1
  • 12

1 Answers1

2

Use the header facet of p:dialog, insert h:outputText with the title and an id and update only the h:outputText component.

Alex Fire
  • 707
  • 3
  • 7