Re: Newbie alert: multiple selectionMode not working?
Posted: 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.
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.