掲示板

Primefaces in 6.2

thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
Hi,

Do You have any problems with primefaces components in Liferay 6.2?
I've already reported following issue: https://issues.liferay.com/browse/LPS-43273
Does anybody have similar problem?

best regards
10年前 に Wojciech Tutro によって更新されました。

RE: Primefaces in 6.2

New Member 投稿: 22 参加年月日: 13/07/15 最新の投稿
Hi,

To say something more on this issue I can write that I have noticed that most of Primefaces CSS classes (ui-something) are somehow overriden in strange way - for example all background images and colors are missing (not overriden but missing - I can not investigate with developer tools in Chrome) - this causes many problems with:
* no icons
* no backgrounds

Best regards
thumbnail
10年前 に Neil Griffin によって更新されました。

RE: Primefaces in 6.2

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Thanks for reporting this issue. Note that we took the liberty of moving the LPS issue to FACES-1823.

When you get a chance, please download and deploy the latest 3.2.4-ga5-SNAPSHOT version of the primefaces4-portlet from the snapshot repository and let us know if you can reproduce the problem.
thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
Hi,

I'll check primefaces4-portlet-3.2.4-ga5-20131220.234148-13.war and I'll let You know.

best regards
thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
Neil, I found solution.

In web.xml:

I've removed (it was working for 6.1):
	
<listener>
		<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
	</listener>
	<listener>
		<listener-class>com.liferay.faces.bridge.servlet.BridgeSessionListener</listener-class>
	</listener>


and acording to web.xml from Your demo I've added:

	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>*.xhtml</url-pattern>
	</servlet-mapping>


best regards,
Bartlomiej
thumbnail
10年前 に Neil Griffin によって更新されました。

RE: Primefaces in 6.2

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
I'm glad to hear that it is working now. Thanks for letting us know and for using Liferay Faces emoticon
thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
Neil, there is another problem.

latest 3.2.4-ga5-SNAPSHOT version of the primefaces4-portlet from the snapshot

is not working on Liferay 6.2 with jboss:

18:19:48,646 WARN  [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component com.liferay.faces.alloy.taglib.LayoutRendererTag due to exception: java.lang.ClassNotFoundException: com.liferay.faces.alloy.taglib.LayoutRendererTag from [Module "deployment.primefaces4-portlet.war:main" from Service Module Loader]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
	at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_01]
	at java.lang.Class.forName(Class.java:264) [rt.jar:1.7.0_01]
	at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_01]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_01]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_01]

18:19:48,710 WARN  [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component com.liferay.faces.alloy.taglib.FormTag due to exception: java.lang.ClassNotFoundException: com.liferay.faces.alloy.taglib.FormTag from [Module "deployment.primefaces4-portlet.war:main" from Service Module Loader]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
	at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_01]
	at java.lang.Class.forName(Class.java:264) [rt.jar:1.7.0_01]
	at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_01]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_01]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_01]

........ (and about 20 similar CNFE)

thumbnail
10年前 に Neil Griffin によって更新されました。

RE: Primefaces in 6.2

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Fixed just now in FACES-1827! Thanks Bartlomiej!!!
thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
thanks for fast Feedback! I have another question - when should it be available on maven repository: https://oss.sonatype.org/content/repositories/snapshots/com/liferay/faces/liferay-faces/3.2.3-ga4-SNAPSHOT/ ?
thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
thumbnail
10年前 に Neil Griffin によって更新されました。

RE: Primefaces in 6.2

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Ya the CI server takes a little while to rebuild all the snapshots because it has to do several branches including master, 3.2.x, 3.1.x, 3.0.x, 3.0.x-legacy, and 2.1.x
thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
previous problem resolved, but now I see following issue in logs:

22:00:30,289 ERROR [stderr] (MSC service thread 1-3) com.liferay.faces.bridge.logging.LoggerFactory (WARN): Possibly an incompatible version of log4j.jar in the classpath: Could not initialize class org.apache.log4j.LogManager


any suggestions?
thumbnail
10年前 に Bartlomiej Knabel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 76 参加年月日: 11/01/30 最新の投稿
thumbnail
9年前 に Mario R によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 55 参加年月日: 13/06/06 最新の投稿
Hello, i have the following visual issue.
I am using a primefaces 4, liferay 6.2 and liferay faces 3.2.4-ga5.
I am using a primefaces picklist, its work fine but, display an html multi select with labels at the bottom of pick list.

Include my code fragments an reference image.
Picklist code
<p:tabview id="respTabView" rendered="#{not empty funcionarioBean.currentRecord}">
			    		 <p:tab id="tab1" title="Tratados">
							<p:picklist id="tratadoPickList" value="#{funcionarioBean.tratadoFuncionarioList}" var="tratadoFuncionario" itemvalue="#{tratadoFuncionario}" itemlabel="#{tratadoFuncionario.tratado.titulo}">
								<f:converter binding="#{primeFacesPickListConverter}" />
						    </p:picklist>
			    		 </p:tab>
			    		 <p:tab id="tab2" title="Temas">
			    		    <h:outputtext value="Esta es una prueba" />
			    		 </p:tab>
			    	</p:tabview>


Thanks...

添付ファイル:

thumbnail
9年前 に Neil Griffin によって更新されました。

RE: Primefaces in 6.2

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
My best guess is that this is some type of CSS conflict between the PrimeFaces theme and Liferay theme. Does the problem happen in a plain PrimeFaces webapp (not a portlet)?
thumbnail
9年前 に Mario R によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 55 参加年月日: 13/06/06 最新の投稿
In a simple web app the picklist work fine!
The problem is with liferay theme.
The only theme withouth conflicts are the unstyled theme. :-(

Thanks
thumbnail
9年前 に Neil Griffin によって更新されました。

RE: Primefaces in 6.2

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
I would recommend that you read the following threads:
thumbnail
9年前 に Mario R によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 55 参加年月日: 13/06/06 最新の投稿
Thanks!!
:-)
9年前 に Christophe Noel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
Note that your workaround will have a side effect impact on the autocomplete component and some others.
ui-helper-hidden {
display: none !important;
}

(edited)

For information, I have tried many approach (remove aui class, adding !important attribute to primefaces styles, etc.) but my last approach gives better results. It consists in removing style related to inputs.

1. To fix most of primefaces input widgets, in _forms.scss, put into .form class the following input related styles for Primefaces (they need to be rewritten because aui css rules are more specific):
.form {
// Shared size and type resets
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  display: inline-block;
  height: $baseLineHeight;
  padding: 4px 6px;
  margin-bottom: $baseLineHeight / 2;;
  font-size: $baseFontSize;
  line-height: $baseLineHeight;
  color: $gray;
  @include border-radius($inputBorderRadius);
  vertical-align: middle;
}

// Reset appearance properties for textual inputs and textarea
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
input,
textarea,
.uneditable-input {
  width: 206px; // plus 12px padding and 2px border
}
// Reset height since textareas have rows
textarea {
  height: auto;
}
// Everything else
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: $inputBackground;
  border: 1px solid $inputBorder;
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
  @include transition(border linear .2s, box-shadow linear .2s);

  // Focus state
  &amp;:focus {
    border-color: rgba(82,168,236,.8);
    outline: 0;
    outline: thin dotted \9; /* IE6-9 */
    @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6));
  }
}

// Position radios and checkboxes better
input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  *margin-top: 0; /* IE7 */
  margin-top: 1px \9; /* IE8-9 */
  line-height: normal;
}

// Reset width of input images, buttons, radios, checkboxes
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  width: auto; // Override of generic input selector
}

// Set the height of select and file controls to match text inputs
select,
input[type="file"] {
  height: $inputHeight; /* In IE7, the height of the select element cannot be changed by height, only font-size */
  *margin-top: 4px; /* For IE7, add top margin to align select with labels */
  line-height: $inputHeight;
}

// Make select elements obey height by applying a border
select {
  width: 220px; // default input width + 10px of padding that doesn't get applied
  border: 1px solid $inputBorder;
  background-color: $inputBackground; // Chrome on Linux and Mobile Safari need background-color
}

// Make multiple select elements height not fixed
select[multiple],
select[size] {
  height: auto;
}

// Focus for select, file, radio, and checkbox
select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  @include tab-focus();
}

}


2. In custom_common.css : idem for each input rule

3. For margin/padding in widgets, add in custom_common.css:
.ui-widget ul, .aui ol {
padding: 0;
margin: 0 ;
}




5. In most of themes, links should be (by default) in black instead of liferay blue style :
.ui-panel a {
color:black;}

6. line height
.ui-panel h1, .ui-panel h2, .ui-panel h3 {
line-height: 1.3;
}

Please, if you try give some feedback on possible side effects. I will try to enhance this css mod (but I must stop on this topic now).
thumbnail
9年前 に Mario R によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 55 参加年月日: 13/06/06 最新の投稿
Hello, I have only used the custom style in the component that had problems (picklist)
For example using this class

.customclass  .ui-helper-hidden {
      display: none !important;
  }


And this controls

 <p:picklist id="pickList" value="#{actividadModelBean.cities}" var="cities" itemLabel="#{cities}" itemValue="#{cities}" styleClass="customclass" />
 <p:picklist id="pickList2" value="#{actividadModelBean.cities}" var="cities" itemLabel="#{cities}" itemValue="#{cities}" />


Only the component with the custom class only is affected.

Its can may help you!

Thanks..

添付ファイル:

9年前 に Christophe Noel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
Dear all,

My previous post gives the illusion that the problem is solved. In reality, it only gives an outline of workaround, and most of the widgets still don't work.

In my opinion, there are two solutions:
* PrimeFaces CSS rules need to be totally rewritten in order to take care about Liferay CSS (some rules need to be more specific, and shoud take care about the CSS reset)
* Otherwise, classic theme needs to be rewritten (either removing .aui class from portlet-content, which is not possible currently without side effet; or either by specializing existing classes to specific sections excluding portlet-content)

Regards,

Christophe.
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Primefaces in 6.2

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Hi all,
Just wanted to let you know that we are researching this problem. We will let you know when we have more information on how to deal with this.

- Kyle
9年前 に Christophe Noel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
Hello Kyle,

Thanks a lot for your feedback. Please note that I have retried my first approach (= in Classic theme, move AUI CSS class to only required parts such as Liferay header, footer, etc). I think this is the most logical approach: not forcing using Alloy CSS anywhere in Liferay !

Nevertheless, I'm facing the following issues:
  • Liferay Portlets header is not theme-customizable, but it is required to put it (e.g. portlet-borderless-bar) inside an .aui class div
  • The panel admin side bar needs also to be put in an .aui class div (but not possible in theme template, as far as I know)
  • All Liferay Portlets using Alloy need to be put in an aui div OR a mechanism based on liferay-portlet.xml should allow disabling the aui class for the portlet-content.


Do you have any comments/feedbacks about these ideas ?

Thanks a lot.

For information, here is the procedure I'm using to removing aui from unecessary part:
I have found a working recipe to remove aui from classic theme:

1. In init_custom.vm
#set ($root_css_class =  $languageUtil.get($locale, "lang.dir"))
#set ($css_class = "${css_class} dockbar-split")


2. In portal_normal.vm, for the dockbar div replace the code as follows (aui div around, and add the dockbar-ready class to the child div):
<div class="aui">
<div class="dockbar-split dockbar-ready">
<a href="#main-content" id="skip-to-content">#language ("skip-to-content")</a>
$theme.include($body_top_include)
#dockbar()
</div>
</div>


3. Still in portal_normal.vm, for the header (banner) add a aui div around:
<div class="aui">
<header id="banner" role="banner"><header id="banner" role="banner" class="aui">
...</header></header></div>


4. Same for the breadcrumbs:
<div class="aui">
<nav id="breadcrumbs">#breadcrumbs()</nav>
...
</div>


5. Same for the footer:
<div class="aui"> 
	<footer id="footer" role="contentinfo">
</footer></div>


But my conclusion is that
1. it has many side effects (e.g. the administration panel is not displayed correctly).
2. the purpose was to avoid css conflict with primefaces, but it seems primefaces doesn't display really well when out of aui.
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Primefaces in 6.2

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Please note that I have retried my first approach (in Classic theme, move AUI CSS class to only required parts such as Liferay header, footer, etc). I think this is the most logical approach: not forcing using Alloy CSS anywhere in Liferay!
...
Do you have any comments/feedback about these ideas?

Hi Christophe,
You should probably avoid modifying or removing CSS related to aui because of the unintended consequences it can have. You may have already encountered some of these consequences in the issues you found like the administration panel not being displayed correctly.

Instead, I would recommend trying this workaround CSS in your portlet:
.aui .ui-helper-hidden {
    display: none;
}
I tested this CSS with pickList and autocomplete and it seemed to work fine.

Please let me know if that fixes your issue.

-Kyle
9年前 に Christophe Noel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
Hello Kyle,

I'm already using the CSS rule you mentioned. But this is far to be the unique PrimeFaces CSS rule overriden by Alloy CSS (there are number of impacted components: inputs not displayed correctly, some panel being hidden, etc, etc.).
Some additional rules I'm using are listed in posts above, but our conclusions are that this require too much efforts detecting and resolving all Primefaces problems on all components: each time we're using a new component/ set of components , we discover a new unexpected behaviour. We're not even sure to be able to find compatible rules resolving all problems due to Alloy CSS.

Indeed, the current implementation maybe doesn't allow removing aui class without issues. But I think in that case, Liferay should review the CSS approach : as described above, it should only put aui class in header/footer/admin/dockbar/portlet-header.
Putting it inside portlet-content should be an option (portlet should not be dependant of the CSS rules outside... and modifying liferay version shouldn't impact the CSS of Primefaces !)

We really plan in our next project to use a hook for having aui class in various part instead of the main class. So if you have any help to provide, thank you for your support.
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Primefaces in 6.2

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
I'm already using the CSS rule you mentioned. But this is far to be the unique PrimeFaces CSS rule overriden by Alloy CSS (there are number of impacted components: inputs not displayed correctly, some panel being hidden, etc, etc.).

Hi Christophe,
What other components are broken after you apply the CSS rule that I mentioned? Also, does applying the rule break more components, or are the components broken without the workaround as well?

- Kyle
9年前 に Christophe Noel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
Dear Kyle,

I have been working on some unrelated project last weeks so please apologies that I don't remember all the issues that I have faced. Therefore, I just quickly tested some components right now to give you some examples of met problems.

Note that the effects vary with the Primefaces theme used by the portlet (e.g. using Bootstrap theme removes some issues), and also with PrimeFaces version. Of course, developer should use the latest Liferay Faces libraries (GA5).
The following tests have been performed on UI components using PF 5.0 and without any PF theme.

• <p:menubar> margin issue, wrong link color
• <p:autocomplete> double border issue, suggestion margin issue, and a not expected select box is displayed
• <p:selectOneMenu> not displayed correctly
• <p:spinner> wrong height
• <p:accordionPanel> wrong height (due to font size)
• <p:tabPanel> wrong title height and not bold
• <picklist> unexpected select box
• Font issues (family, size, etc.)

Note also that your CSS rule doesn't seem to have side effects on other component, and it solves the select box problem of the autocomplete and the picklist.

As said above, broken CSS rules depends on the PF theme. Therefore, fixing the link color by a systematic way is not possible (without removing aui class). The following example would always color in black the links while some PF theme would use another color.
.ui-panel a {
	color: black;
}
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Primefaces in 6.2

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Hi Christophe,
Thanks for providing such a comprehensive list of the problematic components. We are currently working with PrimeTek Informatics to solve this issue.

- Kyle
thumbnail
9年前 に Marco Mazzocchetti によって更新されました。

RE: Primefaces in 6.2

New Member 投稿: 3 参加年月日: 14/06/18 最新の投稿
Kyle Joseph Stiemann:
Hi Christophe,
Thanks for providing such a comprehensive list of the problematic components. We are currently working with PrimeTek Informatics to solve this issue.

- Kyle


There is no support nor solution.
I have to go back to 6.1 where primefaces works ... I'm sorry for the new backend ui and dockbar that was cute.
I think that is not very professional promote (and include in liferay IDE) portlet development with primefaces without verifying that it works! I hope the liferay team do something as soon as possible.

Marco
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Primefaces in 6.2

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Hi all,
We recently contributed a fix for this issue to the Primefaces Aristo Theme, however, the fix will not be included until Primefaces 5.1. If you would like to use the fix now, you will need to copy the Liferay Support section of the Primefaces Aristo Theme into a custom CSS file and include the file in your project via an h:outputStylesheet. (In the primefaces-aritso/theme.css file in the Primefaces repository, Liferay Support starts at line 1253 and continues to the end of the file.)

- Kyle
thumbnail
9年前 に Marco Mazzocchetti によって更新されました。

RE: Primefaces in 6.2

New Member 投稿: 3 参加年月日: 14/06/18 最新の投稿
OK thanks kyle tomorrow I will try it ... Because I was interested in bootsrap theme, you think i can apply the patch by following the changes of theme Aristo? Ultimately it should be similar.
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Primefaces in 6.2

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Hi Marco,
I would expect that fonts and colors and things like that may be different, but the overall fix should be the same.

- Kyle
9年前 に Christophe Noel によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
Kyle Joseph Stiemann:
Hi all,
We recently contributed a fix for this issue to the Primefaces Aristo Theme, however, the fix will not be included until Primefaces 5.1.)

Very good news and Wonderful support!
thumbnail
9年前 に Mario R によって更新されました。

RE: Primefaces in 6.2

Junior Member 投稿: 55 参加年月日: 13/06/06 最新の投稿
I found the workaround solution, adding teh following css to portlet. This css force the application of ui-helper-hidden and ignores the aui [select] css.

.ui-helper-hidden {
display: none !important;
}


Thanks a lot!

:-)
thumbnail
9年前 に Marco Mazzocchetti によって更新されました。

RE: Primefaces in 6.2

New Member 投稿: 3 参加年月日: 14/06/18 最新の投稿
Hi Bartlomiej,
I have the same problem, the bootstrap theme missing some style. Using primefaces 5 and liferay 6.2 CE GA2 (with primefaces 4 is the same)
What web.xml are you referring to in your solution? In the project generated by the Liferay IDE, there are no listeners indicated by you.
Thanks
Marco
thumbnail
9年前 に Neil Griffin によって更新されました。

Moved to Liferay Faces - English sub-category.

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Moved to Liferay Faces - English sub-category.