Hello all,
Is it possible to listen for events on <p:lightBox> component ? Like, execute an actionListener when it´s closed and update a region in my page ?
Regards,
George
Events on Lightbox
If you find any solution please share.. The current user guide 3.0 does not provide any hint on how to do this. I try to get it to work for monthes.. [1]
Also maybe some one has a hint on how to build a lightbox slideshow without nested small images but with javascirpt paramerters maybe?
Greets,
Adam
[1] = viewtopic.php?f=3&t=14897&hilit=lightbox
Also maybe some one has a hint on how to build a lightbox slideshow without nested small images but with javascirpt paramerters maybe?
Greets,
Adam
[1] = viewtopic.php?f=3&t=14897&hilit=lightbox
Busy applying primefaces patches to my local repo at /dev/null
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
3.1's lightbox has onShow and onHide client side callbacks.
Good to know. What I hope to make is some kind of <p:imageswitcher /> <p:lightbox /> linker. I know you can put <p:lightbox> inside <p:imageswicher>. The problem is: i loose slide option in big lightbox. So know I would render in the inline my custom slide buttons that close one lightbox and open next;).optimus.prime wrote:3.1's lightbox has onShow and onHide client side callbacks.
I need to learn javascript and jquery in depth, maybe I would come up with a solution of a hidden lightbox with all images, and on each image click in imageswitcher would call the with some corresponding id. (nested outputlink is for imageswitch not a problem).
Code: Select all
$(function() {PrimeFaces.cw('LightBox','widget_j_idt15',{id:'j_idt15',mode:'image'});});
The image use-case know does not make much sense. The slide option in Lightbox is great (!), but having them all on a preview IM<HO kind of destroys its usabilty.
Please keep us up to date in this thread.venu_dvmr wrote:Awesome. Currently I have to write my own using remoteCommand.
EDIT: Awesome, there is a concurrent topic. Please follow discussions here [1]
Stay tuned,
Adam
[1] viewtopic.php?f=3&t=7260
Busy applying primefaces patches to my local repo at /dev/null
I'm trying to use the new onHide feature and experiencing a problem with it. Similar problem as other user. See: viewtopic.php?f=3&t=18272
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests