Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline Component attribute showCurrentTime has no effect when value is fale #1763

Closed
andyba opened this issue Sep 14, 2016 · 7 comments
Closed
Assignees
Labels
🐞 defect Bug...Something isn't working
Milestone

Comments

@andyba
Copy link

andyba commented Sep 14, 2016

1) Environment

  • PrimeFaces version: 6.0.4
  • Does it work with the curent PrimeFaces version: No
  • Payara 4.1.1.163
  • Affected browsers:
    All, Not dependent on browser version

2) Expected behavior

That setting showCurrentDate="false" results in the current date line not being rendered.

3) Actual behavior

Setting showCurrentDate="false" has no effect, the current date line is still rendered.

4) Steps to reproduce

Take the timeline showcase example and set showCurrentDate="false", the current time bar is still rendered.

5) Sample XHTML

See above

6) Sample bean

See above

@andyba
Copy link
Author

andyba commented Sep 14, 2016

Please see the following link, a fix has been proposed for the TimelineRenderer class: http://forum.primefaces.org/viewtopic.php?p=146194#p146194

@tandraschko
Copy link
Member

Hey andy, would be great if you could provide a PR. I will merge ASAP then.

@andyba
Copy link
Author

andyba commented Sep 14, 2016

Unfortunately that is difficult as connection to GIT repositories is difficult from work.
Isn't the code in the original post enough to sort it out?

@tandraschko
Copy link
Member

Maybe, just don't have that much time and accepting a PR is much easier for me.

@andyba
Copy link
Author

andyba commented Sep 14, 2016

I will see if I can get it done tonight, from home.

@andyba
Copy link
Author

andyba commented Sep 15, 2016

I wasn't able to get it done last night, time issues. I will see what can be done today.

@melloware
Copy link
Member

I submitted a PR for this.

tandraschko added a commit that referenced this issue Apr 10, 2017
@tandraschko tandraschko self-assigned this Apr 10, 2017
@tandraschko tandraschko added the 🐞 defect Bug...Something isn't working label Apr 10, 2017
@tandraschko tandraschko added this to the 6.1.RC3 milestone Apr 10, 2017
@melloware melloware modified the milestones: 6.1.RC3, 6.1 Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants