p:calendar mystery line

UI Components for JSF
hfcprime
Posts: 108
Joined: 22 Feb 2011, 20:32

02 May 2012, 16:46

In its virgin state, when a page is newly loaded, p:calendar causes a gray line (in aristo it's gray) to appear at the bottom left of the enclosing panel. Once you click on the calendar the line disappears. When you reload the page it reappears. I have reproduced this in a trivial example, below. Prime 3.2, Mojarra 2.0.4-b09, using FF 12 and IE9. Should I put it in the issue tracker? Thanks

Code: Select all

<h:body>
  <h:form id="searchData">
    <div><div class="span-24 last">   
	 <p:panel>    
         <h:outputLabel for="date"><b>Date:&nbsp;&nbsp;&nbsp;</b></h:outputLabel>           
        <p:calendar size="6" id="date" value="#{searchData.javaDate}"/>      
      </p:panel>
    </div></div>						
   </h:form>  
</h:body>
ENVIRONMENT
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro

hfcprime
Posts: 108
Joined: 22 Feb 2011, 20:32

02 May 2012, 16:48

This is with 32-bit browsers. On 64-bit the issue is obtrusive, a "mystery box", as one user reported, and I've seen it demonstrated.
ENVIRONMENT
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro

badhuman7
Posts: 78
Joined: 29 Mar 2012, 07:00

03 May 2012, 08:36

Ok So u r saying that in 32-bit .there is a fault and coming to 64-bit it works fine ... :idea:
PrimeFaces-3.2,Tomcat-6.0, Java-6,Eclipse-Helios

hfcprime
Posts: 108
Joined: 22 Feb 2011, 20:32

03 May 2012, 11:47

The mystery box in 64 is below the panel, where the mystery line is in 32-bit. The calendar control is in the panel, not hovering beneath it.
ENVIRONMENT
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

03 May 2012, 19:27

hfcprime wrote:Prime 3.2, Mojarra 2.0.4-b09, using FF 12 and IE9. Should I put it in the issue tracker?
Yes, 3.2 is the latest 'stable' version, but 3.3 is already in development and near completion and soon to be released. If you can duplicate this behavior in showcase or with 3.3-SNAPSHOT (JAR/trunk), then create a new issue in issue tracker, and reply here with new issue # and URL.
hfcprime wrote:This is with 32-bit browsers. On 64-bit the issue is obtrusive, a "mystery box", as one user reported, and I've seen it demonstrated.
hfcprime wrote:The mystery box in 64 is below the panel, where the mystery line is in 32-bit. The calendar control is in the panel, not hovering beneath it.
It would be nice to see a screen capture of this behavior/issue.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

hfcprime
Posts: 108
Joined: 22 Feb 2011, 20:32

03 May 2012, 20:58

I entered an issue, 4002. it's classified as New Feature, not Defect, couldn't see how to change it. It happens with 3.3-SNAPSHOT from today. I included 3 screen shots showing the behavior, in 32-bit. As noted in 64-bit IE it causes a "mystery box" in the same position. Thanks.

http://code.google.com/p/primefaces/iss ... il?id=4002
ENVIRONMENT
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

03 May 2012, 23:14

I recognized you had the following, and you're referencing aristo. If you search/read forum topics, you will see where it has been advised to remove any/all references to aristo from web.xml and what you're doing below. Remove aristo skin.css references and reply with test results, please. i don't have any reference to 'skin.css' in my app. I think Migration to 3.x requires removal of skin.css. search the forum and see if others are still referencing skin.css in their xhtml, and let me know when you remove these lines. aristo is default theme with PrimeFaces 3.x JARs.

Code: Select all

      <link type="text/css" rel="stylesheet" href="${request.contextPath}/css/default.css" />
	<link type="text/css" rel="stylesheet" href="${request.contextPath}/themes/aristo/skin.css" />
	<link type="text/css" rel="stylesheet" href="${request.contextPath}/syntaxhighlighter/styles/syntaxhighlighter.css" />
  <link rel="stylesheet" href="${request.contextPath}/styles/aristo/skin.css" type="text/css" media="screen" />  
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

hfcprime
Posts: 108
Joined: 22 Feb 2011, 20:32

04 May 2012, 00:40

The lines with references to aristo and skin were removed and the mystery line no longer appears. I will close out the issue tracker item if I have the authority.
ENVIRONMENT
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

04 May 2012, 00:46

please add comment to issue in issue tracker the solution. no need to 'close out' issue; if someone else has similar issue, the issue and this forum topic will be a help to resolving their issue.

In future, share as much code as possible when asking questions.

viewtopic.php?f=3&t=1194
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

hfcprime
Posts: 108
Joined: 22 Feb 2011, 20:32

04 May 2012, 01:28

I did mention aristo in the post, didn't enclose my style sheet. I looked on the Prime blog, saw nothing about removing style sheet references, altho there was an item about combining all the themes. Anyway thanks for the speedy resolution.
ENVIRONMENT
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests