[Simile-Widgets] Re: Timeline, changing facet selections and switching tabs

2010-06-02 Thread mleden
Thanks Michiel.  I'm sure that you're on the right track, but I've
tried a number of variations on that theme to get this to work.  I am
able to trap for the event of clicking on the timeline tab, but I'm
not able to figure out the syntax needed to re-initialize the
timeline itself.

I've tried things like the following:
exhibit.getComponent(tournament-timeline-
view)._timeline.checkResize();
exhibit.getComponent(tournament-timeline-view).paint();
exhibit.getComponent(tournament-timeline-view)._createView();

Thanks again for looking into it.

-Mark


On May 28, 1:38 am, Michiel m.d.na...@hetnet.nl wrote:
 Hi Mark,

 If you do your above described procedure and then change the height of
 the timeline, it gets redrawn. It shows the timeline is centered on
 the year 2066 instead of 2006. That is why the timeline looks as if it
 doesn't render. I don't know why selecting a facet changes the central
 year of your timeline, but I do know that if you use an exhibit
 viewpanel for the tabs, the view is recreated on changing tabs. Check
 out Exhibit.ViewPanel.prototype._switchView which calls _createView. I
 don't see this back in your code. The code that is to run on changing
 to your timeline tab is even commented out.

 Michiel

 On May 19, 6:28 pm, mleden mle...@yahoo.com wrote:

  Hi,

  Wondering if anyone has any insights on this problem.  When I change
  facet selections and switch back to my timeline tab, the timeline is
  no longer rendered.

  You can see the problem at:www.thisbeautifulgame.com
  Select Winner Map tab
  Control-Click the European Championship selection in the Tournament
  Confederation and Name facet (to have multiple selections)
  Select Timeline tab

  The Timeline should render with multiple events but is blank.  (If you
  make the same facet selection without leaving the Timeline tab, you'll
  see what should be displayed.)

  Would appreciate any suggestions or thoughts on what I'm doing wrong.

  Many thanks,
  -Mark

  --
  You received this message because you are subscribed to the Google Groups 
  SIMILE Widgets group.
  To post to this group, send email to simile-widg...@googlegroups.com.
  To unsubscribe from this group, send email to 
  simile-widgets+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/simile-widgets?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
SIMILE Widgets group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to 
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.



[Simile-Widgets] Re: Timeline, changing facet selections and switching tabs

2010-05-28 Thread Michiel
Hi Mark,

If you do your above described procedure and then change the height of
the timeline, it gets redrawn. It shows the timeline is centered on
the year 2066 instead of 2006. That is why the timeline looks as if it
doesn't render. I don't know why selecting a facet changes the central
year of your timeline, but I do know that if you use an exhibit
viewpanel for the tabs, the view is recreated on changing tabs. Check
out Exhibit.ViewPanel.prototype._switchView which calls _createView. I
don't see this back in your code. The code that is to run on changing
to your timeline tab is even commented out.

Michiel

On May 19, 6:28 pm, mleden mle...@yahoo.com wrote:
 Hi,

 Wondering if anyone has any insights on this problem.  When I change
 facet selections and switch back to my timeline tab, the timeline is
 no longer rendered.

 You can see the problem at:www.thisbeautifulgame.com
 Select Winner Map tab
 Control-Click the European Championship selection in the Tournament
 Confederation and Name facet (to have multiple selections)
 Select Timeline tab

 The Timeline should render with multiple events but is blank.  (If you
 make the same facet selection without leaving the Timeline tab, you'll
 see what should be displayed.)

 Would appreciate any suggestions or thoughts on what I'm doing wrong.

 Many thanks,
 -Mark

 --
 You received this message because you are subscribed to the Google Groups 
 SIMILE Widgets group.
 To post to this group, send email to simile-widg...@googlegroups.com.
 To unsubscribe from this group, send email to 
 simile-widgets+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/simile-widgets?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
SIMILE Widgets group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to 
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.