Hi again!
Don't know if p:dialog have some facet like controls in richfaces modal panel:
http://livedemo.exadel.com/richfaces-de ... lPanel.jsf
I need to add some links (like minimize) to the header of the dialog.
I've been searching the documentacion, but didn't find anything.
Thanks very much!
controls in p:dialog?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi, what do you mean by controls exactly? Only control available is close at the moment. How should it be minimized?
Hi cagatay!
I need some links just next to close link. apart from close link. And these links should call some custom actionListener (I have a customized UI where I minimize windows and put them into ArrayList in a managed bean).
Richfaces solves this having a facet with name "controls", where you can have any JSF component inside.
Thanks!
I need some links just next to close link. apart from close link. And these links should call some custom actionListener (I have a customized UI where I minimize windows and put them into ArrayList in a managed bean).
Richfaces solves this having a facet with name "controls", where you can have any JSF component inside.
Thanks!
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Now I see, that makes really sense. I think the name should be headerControls for facet. Do you mean like the following?
Where should the header controls be placed, left to the close link? Close link can be removed by close="true" anyway. I'm just not sure about where to position the headerControls.
Code: Select all
<p:dialog>
<f:facet name="headerControls">
...
<f:facet>
</p:dialog>
Yes! Would be great...cagatay.civici wrote:Now I see, that makes really sense. I think the name should be headerControls for facet. Do you mean like the following?
Where should the header controls be placed, left to the close link? Close link can be removed by close="true" anyway. I'm just not sure about where to position the headerControls.Code: Select all
<p:dialog> <f:facet name="headerControls"> ... <f:facet> </p:dialog>
In my opinion, the controls should be placed, as you said, left to the close link.juangon wrote:cagatay.civici wrote:
Where should the header controls be placed, left to the close link? Close link can be removed by close="true" anyway. I'm just not sure about where to position the headerControls.
Thanks!
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Ok juangon, thanks for the feedback, I'll add this as a todo for new release to our issue tracker. Really useful feature.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 26 guests