aspose file tools
The moose likes JSF and the fly likes impossible to make work a galleria from primefaces Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "impossible to make work a galleria from primefaces" Watch "impossible to make work a galleria from primefaces" New topic
Author

impossible to make work a galleria from primefaces

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
Hi I am trying to build a galleria and it is imposible I have done an important research but nothing found about why with this code my page appears empty and no error is shows in the console.





¿Any knows about it?

Thanks
Pedro Caamug
Greenhorn

Joined: Nov 14, 2011
Posts: 1
Dura Hurtado wrote:Hi I am trying to build a galleria and it is imposible I have done an important research but nothing found about why with this code my page appears empty and no error is shows in the console.





¿Any knows about it?

Thanks


PrimeFaces galleria is some sort of a data component. Your markup should look like below:

<p:galleria value="#{yourBean.images}" var="image" frameWidth="64" frameHeight="87"
panelWidth="300" panelHeight="200" transitionInterval="0"
styleClass="ui-widget-content ui-corner-all">

<p:graphicImage valu=#{image.image} />

<p:galleriaContent id="q" > <hutputText value="#{image.content}" /> </p:galleriaContent>

</p:galleria>

Notice the value of p:galleria. It should come from a backing bean. The value of p:graphicImage is derived from the var value of your p:galleria. You can also use Orbit JQuery plugin in place of PrimeFaces galleria. Here is an article about using Orbit plugin in PrimeFaces.

http://kahimyang.info/kauswagan/HowtoBlogs.xhtml?b=750

It is a straight forward guide.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: impossible to make work a galleria from primefaces
 
Similar Threads
Trying to change <ui:include> src tag dinamically
Performance issues using ajax
JSF 2.0 Login
Bug in chrome
First Cup: Java EE Tutorial