primefaces-extensions / primefaces-extensions.github.com

Organization repo, only for homepage, wiki and issue tracker
https://primefaces-extensions.github.io/
70 stars 22 forks source link

Timeline start and end parameters are not taken into account #323

Closed amoralico closed 9 years ago

amoralico commented 9 years ago

Due to resolution issue #313, now start and end parameters are not taken into account.

You should take it into account in links.Timeline constructor.before call

this.setVisibleChartRange(undefined, undefined, false);

ova2 commented 9 years ago

I haven't understood. What is links.Timeline constructor.before and where is problem exactly? Is it reproducable in the showcase? This example works fine http://www.primefaces.org/showcase-ext/sections/timeline/linked.jsf

amoralico commented 9 years ago

I mean the attributes 'start' and 'end' used in tag pe:timeline.

links refers to the javascript class 'links.Timeline'. and I think the problem is here https://github.com/primefaces-extensions/core/commit/1b8cd985a7cc29cb1946290b6d55a9112832a3b2

when lines 305 to 309 were removed/replaced.

It is not reproducible in the show case because these attributes are not used.

ova2 commented 9 years ago

Ok, thanks, I see. I have created an issue for the native Timeline script: https://github.com/almende/chap-links-library/issues/346

We will see, maybe I will create a pull request for the native script or fix this issue in the PF Extensions for the next release.

ova2 commented 9 years ago

Fixed