draggable panel inside a carousel

UI Components for JSF
Post Reply
elbuild
Posts: 14
Joined: 23 Jun 2010, 11:04

03 Jul 2010, 13:32

Hi,
I tried to use a draggable panel inside a p:carousel tag and I get a strange behaviour.
Image

As you can see in the image above, the draggable element stays under the borders of the carousel. Is there a way to avoid that? (I tried to change z-index but it did not work)


Here is my code:

Code: Select all


<p:carousel  vertical="true" value="#{ProgettoBean.libreria.componentiValues}" var="oggetto" >
                <p:panel id="pnl" >
                    <h:graphicImage value="upimages/#{oggetto.immagine}" />
                </p:panel>
                <p:draggable  for="pnl" />                    
</p:carousel>

Thanks!


Eve
JSF 1.2 - PrimeFaces 1.0.2
--------------------------------
ELbuild - http://www.elbuild.it

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

03 Jul 2010, 14:40

Not sure if draggabled will work in carousel. Carousel is reimplemented in current development iteration which is 2.1.RC1, can you try with that. Also giving item dimensions is a good idea if you have images.

elbuild
Posts: 14
Joined: 23 Jun 2010, 11:04

03 Jul 2010, 15:59

I tried with JSF 2.0 and Prime Faces 2.0.2 but it doesn't change :(
Thanks anyway
JSF 1.2 - PrimeFaces 1.0.2
--------------------------------
ELbuild - http://www.elbuild.it

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests