Newbie alert: multiple selectionMode not working?

UI Components for JSF
robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

15 Mar 2011, 15:46

This is basically happening, because the PrimeFaces components add their scripts and styles when they get rendered. To accomplish this, "outputScript" and "outputStyle" components are used with the target attribute set to "head". In order for this to work, JSF needs a h:head tag so it knows where to render these scripts and styles.

The reason why PrimeFaces is doing this is that it can dynamically add the needed scripts and styles only for the components that are used on the page and not for every component on every page.

eth
Posts: 4
Joined: 15 Mar 2011, 09:43

15 Mar 2011, 17:13

Hi robert.m,

thanks for the information. Now it makes sense to me

You don't happen to know some debug flags to cause PrimeFaces to output wrong usage, potential errors and stuff? Or maybe a logger category? Couldn't find anything in the manual.

Best regards,
eth

blake.neal
Posts: 30
Joined: 23 May 2011, 22:03

20 Jun 2011, 18:04

I had a similar problem with this example as well, but I simply changed the type of dataList to ordered or unordered and it worked! Weird... Not I can just use the list ID to style the list-style so no numbers or dashes show up...
Primefaces 4.0 // Majorra 2.1.24 // Tomcat 7.x

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests