Creating a Three-Column Silverlight ListBox
jQuery source viewer
This is extremely useful for jQuery developers
jQuery UI DatePicker: Disable Specified Days
jQuery UI DatePicker: Disable Specified Days
Written by David Walsh on Tuesday, January 26, 2010
9 Comments 3 Digg Facebook Reddit StumbleUpon S&S http://davidwalsh.name/jquery-datepicker-disable-days“>Twitter PDF![]()
One project I’m currently working on requires jQuery. The project also features a datepicker for requesting a visit to their location. jQuery UI’s DatePicker plugin was the natural choice and it does a really nice job. One challenge I encountered was the need to prevent specific days from being picked. Here’s the jQuery javascript I used to accomplish that.
The jQuery Javascript
Click here to copy this code to the clipboardClick here to add this snippet to CodaClick here to add this snippet to TextMateGet the raw code1/* create an array of days which need to be disabled */2var disabledDays = [“2-21-2010”,“2-24-2010”,“2-27-2010”,“2-28-2010”,“3-3-2010”,“3-17-2010”,“4-2-2010”,“4-3-2010”,“4-4-2010”,“4-5-2010”];34/* utility functions */5function nationalDays(date) {6 var m = date.getMonth(), d = date.getDate(), y = date.getFullYear();7 //console.log(‘Checking (raw): ’ + m + ‘-’ + d + ‘-’ + y);8 for (i = 0; i < disabledDays.length; i++) {9 if(ArrayContains(disabledDays,(m+1) + ’-‘ + d + ’-‘ + y) || new Date() > date) {10 //console.log(‘bad: ’ + (m+1) + ‘-’ + d + ‘-’ + y + ’ / ’ + disabledDays[i]);11 return [false];12 }13 }14 //console.log(‘good: ’ + (m+1) + ‘-’ + d + ‘-’ + y);15 return [true];16}17function noWeekendsOrHolidays(date) {18 var noWeekend = jQuery.datepicker.noWeekends(date);19 return noWeekend[0] ? nationalDays(date) : noWeekend;20}2122/* taken from mootools */23function ArrayIndexOf(array,item,from){24 var len = array.length;25 for (var i = (from < 0) ? Math.max(0, len + from) : from || 0; i < len; i++){26 if (array[i] === item) return i;27 }28 return -1;29}30/* taken from mootools */31function ArrayContains(array,item,from){32 return ArrayIndexOf(array,item,from) != -1;33}3435/* create datepicker */36jQuery(document).ready(function() {37 jQuery(‘#date’).datepicker({38 minDate: new Date(2010, 0, 1),39 maxDate: new Date(2010, 5, 31),40 dateFormat: ‘DD, MM, d, yy’,41 constrainInput: true,42 beforeShowDay: noWeekendsOrHolidays43 });44});The base code is taken from this forum post. You’ll note that I created an array of dates in string format which also accommodates for comparing year.
I’d like to see jQuery UI implement a standard way of disabling days. Their DatePicker is very nice though so I can’t complain too much!
—>Related Posts
Follow via RSS Epic Discussion
January 26 / #
ReplyMark says:I have to admit, I wish Mootools came with such a wide variaty of UI plugins…
All and all, I think you accomplished your goal very well! Good stuff.
January 26 / #
ReplySimeon says:Nice post! Can be easily expanded by populating he “disabledDays” using PHP to find all weekends, holidays, etc. I wonder what the performance impact is though if you span across several years as a typical selection might allow?
January 26 / #
ReplySavageman says:@mark: you should try this Mootools DatePicker (also works for time): http://www.monkeyphysics.com/mootools/script/2/datepicker
Doesn’t have a beforeShowDay option though…
January 26 / #
ReplyDouglas Neiner says:I would remove all the MooTools helpers :) and just use the jQuery native $.inArray function:
Change this line: ArrayContains(disabledDays,(m+1) + ‘-’ + d + ‘-’ + y) to this instead: $.inArray(disabledDays,(m+1) + ‘-’ + d + ‘-’ + y) != -1
Then you don’t need to two other functions from MooTools.
January 26 / #
ReplyDouglas Neiner says:@Douglas Neiner: Sorry, flip the arguments. $.inArray( value, array )
January 26 / #
ReplyDavid Walsh says:@Douglas Neiner: I’m a complete MooTools nerd — I didn’t even think to check the jQuery API. Will update.
January 26 / #
ReplyJosh Stauffer says:Interesting dilema and solution. My problem with the jQuery Datepicker is figuring out how to store selected start and end dates in a cookie.
Be Heard!
I want to hear what you have to say! Share your comments and questions below.
Silverlight Unit Testing Framework: Asynchronous Testing of Behaviors
Last month, I bogged about Unit Testing ViewModels AND Views using the Silverlight Unit Testing Framework. I wanted to take that post a step further and talk about some more advanced testing scenarios that are possible.
The site itself provides a lot of information about how to get started and what is available with the framework. One thing to keep in mind that is a radical shift from other testing frameworks is that the Silverlight testing framework runs on the UI thread. This means it does not spawn multiple threads for multiple tests and in fact requires the tests to run “one at a time” so they can take advantage of the test surface that is supplied.
This is a bit different than other frameworks but in my opinion, makes a lot of sense when dealing with Silverlight. The framework provides incredible flexibility for configuring and categorizing your tests.
If you are searching for a very comprehensive example of the framework in use, look no further than the Silverlight Toolkit. This comes with all source code and in fact uses the testing framework for its tests. You will find not only advanced scenarios for testing, but thousands upon thousands of tests! (I also am guessing that a new standard for PC performance has been invented by mistake … let’s all compile the entire toolkit and compare how long it takes!)
Tagging Tests
One thing you’ll find if you run the toolkit tests is that you can enter a tag to filter tests. For example, type in “Accordion” to only run the 800 or so unit tests for accordion-type controls.
To use tag functionality, simply “tag” your test like this:
1.[TestClass]2.[Tag("MEF")]3.publicclassPartModuleTest4.{5.}I’ve tagged the test to be a MEF-related test. When I wire up the framework, I can filter the tag like this:
1.UnitTestSettings settings = UnitTestSystem.CreateDefaultSettings();2.settings.TagExpression ="MEF";3.this.RootVisual = UnitTestSystem.CreateTestPage(settings);When I run the tests, only my tests tagged with MEF will run! The toolkit provides an example of a UI that allows you to select the tag, then run the test.
Asynchronous Tests
It is often necessary to test methods that are asynchronous or require event coordination. An example may be a service that must wait on return values, or a user control that must be loaded into the framework before you can test it. The Silverlight Unit Testing Framework provides the
Asynchronoustag to facilitate this type of test. This tells the framework not to move onto the next test nor consider the current test method complete until an explicit call toTestCompleteis made.There are several “helper” methods supplied for asynchronous processing that we’ll explore in a minute. To use these methods requires inheriting from one of the base test classes such as
SilverlightTestwhich provides the methods as well as the test surface to add controls to.In PRISM, MEF, and MVVM Part 1 of 3: Unity Glue I explored various options for binding the view model to the view. The 3rd and final method I reviewed was using an attached behavior. I would like to write some unit tests for that behavior (indeed, if I were a test-driven development or TDD purist, I would have written those tests first).
In order to test the behavior, I need to attach it to a
FrameworkElementand then validate it has done what I expected it to do. But how do I go about doing that in our unit test environment?Attached Behaviors
Similar to other controls in other frameworks, Silverlight controls have a distinct life cycle. It varies slightly depending on whether the control has been generated in XAML or through code. There is a great summary table of these events on Dave’s Blog. What’s important to note is that values and properties are set as soon as you, well, set them, but bindings don’t take effect until they are inserted into the visual tree. In XAML, the XAML node becomes part of the tree and fires the
Loadedevent once it is fully integrated. In code, this happens after the element is added as the child of some other element that is in the tree. This allows Silverlight to parse the hierarchy and propagate dependency properties.So what we essentially want to do is take our behavior, attach it to an element, and then wait for the
Loadedevent to fire so we can inspect the element and see that it has been modified accordingly (in this case, we expect that theDataContextproperty has been set to our view model).Setting up the Project
The testing framework provides some handy templates for getting started. I add a new project and select the Silverlight Test Project template. I then add references to the projects I’ll be testing and the supporting frameworks like PRISM and MEF.
Next, I’ll want to build some helper classes to help me test my functionality.
Helper Classes
I like to create a folder called
Helperand place my stubs, mocks, and other helper classes there. These may be utilities, like the Exception Expected utility I use, or classes that are used for the testing framework.First, I’ll create a test view model with a simple string and string collection property for testing:
01.publicclassTestViewModel02.{03.publicTestViewModel()04.{05.ListOfItems =newList<string>();06.}07.08.publicTestViewModel(List<string> items)09.{10.ListOfItems = items;11.}12.13.publicstringProperty {get;set; }14.15.publicList<string> ListOfItems {get;set; }16.}If my view models have common methods described in a base class or interface, I might use a mocking framework to mock the class instead.
The Test Class
The behavior I created has an affinity to the Unity inversion of control (IoC) container. It could be refactored otherwise, but it made sense for the sake of the demonstration. Therefore, I’ll need to have a container for testing, as well as the view model. My test class starts out looking like this (notice I base it on
SilverlightTest):01.[TestClass]02.publicclassViewModelBehaviorTest : SilverlightTest03.{04.conststringTESTPROP ="Test Property";05.06.IUnityContainer _container;07.08.TestViewModel _viewModel;09.10.[ClassInitialize]11.publicvoidClassInitialize()12.{13._container =newUnityContainer();14.15._viewModel =newTestViewModel() { Property = TESTPROP };16._container.RegisterInstance<TestViewModel>(_viewModel);17.18.ViewModelBehavior.Container = _container;19.}20.}I create a reference to the entire test class for the container and the test view model. When the class is initialized (this is one-time setup, before all tests are run) I create a container, a view model, and tell the container that anytime someone asks for the view model, give them the specific instance I created. I also set the container on the type for the view model behavior class, so it knows what to use when resolving the view model.
The Code Behind Test
For my first test, I’ll programmatically attach the behavior and test that it works. The view model behavior takes in a string that is the fully qualified type name for the view model, and then uses the unity container to resolve it. Therefore, my test looks like this:
01.[TestMethod]02.[Asynchronous]03.[Description("Test creating an element and attaching in code behind.")]04.publicvoidTestAttach()05.{06.TextBlock textBlock =newTextBlock();07.textBlock.SetValue(ViewModelBehavior.ViewModelProperty,typeof(TestViewModel).AssemblyQualifiedName);08.09.textBlock.Loaded += (o, e) =>10.{11.Assert.IsNotNull(textBlock.DataContext,"The data context was never bound.");12.Assert.AreSame(textBlock.DataContext, _viewModel,"The data context was not bound to the correct view model.");13.14.EnqueueTestComplete();15.};16.17.TestPanel.Children.Add(textBlock);18.}There’s a few things going on here, so let’s break them down!
The
TestMethodattribute tags this method to be run by the framework. It is decorated with a description, which I can view on the output when the test is run and helps make the test more, ah, descriptive. The first thing I do is create a test block and attach the view model property. Here, I’m taking the test view model and getting the fully qualified name and using that to set the attached property. We want to make sure everything works fine and there are no errors during binding, so this is where the asynchronous pieces come into play.The
Asynchronoustag tells the framework that we’re waiting on events, so don’t consider this test complete until we explicitly tell the framework it’s complete. When the text block fires theLoadedevent, we confirm that the data context is not null and that it in fact contains the exact instance of the view model we created in the class initialization. Then we tell the framework the test is complete by callingEnqueueTestComplete, which is provided by the base class.Finally, if you were to run this without the last line, the test would stall because the text block would never get loaded. We add it as a child of the test surface, and this injects it into the visual tree and fires the loaded event.
The XAML Test
I’m not completely confident with this test because the whole reason for creating a behavior was so I could attach the view model in XAML and not use code behind. Therefore, I should really test attaching this behavior through XAML. So, at the top of the test class we’ll create the necessary XAML and wrap it in a
UserControl:01.conststringTESTXAML =02."<UserControl "+03."xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" "+04."xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" "+05."xmlns:vm=\"clr-namespace:PRISMMEF.Common.Behavior;assembly=PRISMMEF.Common\">"+06."<Grid x:Name=\"LayoutRoot\" Background=\"White\" "+07."vm:ViewModelBehavior.ViewModel=\"PRISMMEF.Tests.Helper.TestViewModel, PRISMMEF.Tests, Version=1.0.0.0\">"+08."<ListBox x:Name=\"ListBox\" ItemsSource=\"{Binding ListOfItems}\"/>"+09."</Grid></UserControl>";If you think the constant is ugly, you can always add an actual XAML file, set it as an embedded resource, then read it in instead. That would give you the full functionality of the editor to tweak the test code. Here, we simply create a control with a grid and a list box. The list box uses the attached behavior and also binds the list.
I want to test the list binding as well, so I add a collection to my test class:
1..2.privatestaticreadonlyList<string> _testCollection =newList<string> {"test1","test2"};3..In the class initialize method, I’ll pass this into the view model’s constructor so it is set on the
ListOfItemsproperty.Now, we can create the control from XAML, load it, and test it:
01.[TestMethod]02.[Asynchronous]03.[Description("Test creating from XAML")]04.publicvoidTestFromXaml()05.{06.UserControl control = XamlReader.Load(TESTXAML)asUserControl;07.08.control.Loaded += (o, e) =>09.{10.ListBox listBox = control.FindName("ListBox")asListBox;11.12.Assert.IsNotNull(listBox,"ListBox was not found.");13.Assert.IsNotNull(listBox.DataContext,"The data context was never bound.");14.Assert.AreSame(listBox.DataContext, _viewModel,"The data context was not bound to the correct view model.");15.16.IEnumerable<string> list = listBox.ItemsSourceasIEnumerable<string>;17.List<string> targetList =newList<string>(list);18.CollectionAssert.AreEquivalent(targetList, _testCollection,"Collection not properly bound.");19.20.EnqueueTestComplete();21.};22.23.TestPanel.Children.Add(control);24.}Now we load the control from XAML and wire in the
Loadedevent to test for the data context and the instance. Then, I take the items from the list box itself and compare them with the original list usingCollectionAssert. TheAreEquivalentdoes a set comparison. Then we signal the test is complete.There’s no code for this example because it was very straightforward and I’ll likely be posting a more comprehensive example in the future as the result of a talk I’ll be giving. Be sure to tune into MSDN’s geekSpeak on Wednesday, February 17th, 2010 when I will be the guest to cover exclusively the topic of the Silverlight Unit Testing Framework (the talks are all stored on the site in case you read this after the event).
Thanks!
Silverlight Unit Testing Framework: Asynchronous Testing of Behaviors
Last month, I bogged about Unit Testing ViewModels AND Views using the Silverlight Unit Testing Framework. I wanted to take that post a step further and talk about some more advanced testing scenarios that are possible.
The site itself provides a lot of information about how to get started and what is available with the framework. One thing to keep in mind that is a radical shift from other testing frameworks is that the Silverlight testing framework runs on the UI thread. This means it does not spawn multiple threads for multiple tests and in fact requires the tests to run “one at a time” so they can take advantage of the test surface that is supplied.
This is a bit different than other frameworks but in my opinion, makes a lot of sense when dealing with Silverlight. The framework provides incredible flexibility for configuring and categorizing your tests.
If you are searching for a very comprehensive example of the framework in use, look no further than the Silverlight Toolkit. This comes with all source code and in fact uses the testing framework for its tests. You will find not only advanced scenarios for testing, but thousands upon thousands of tests! (I also am guessing that a new standard for PC performance has been invented by mistake … let’s all compile the entire toolkit and compare how long it takes!)
Tagging Tests
One thing you’ll find if you run the toolkit tests is that you can enter a tag to filter tests. For example, type in “Accordion” to only run the 800 or so unit tests for accordion-type controls.
To use tag functionality, simply “tag” your test like this:
1.[TestClass]2.[Tag("MEF")]3.publicclassPartModuleTest4.{5.}I’ve tagged the test to be a MEF-related test. When I wire up the framework, I can filter the tag like this:
1.UnitTestSettings settings = UnitTestSystem.CreateDefaultSettings();2.settings.TagExpression ="MEF";3.this.RootVisual = UnitTestSystem.CreateTestPage(settings);When I run the tests, only my tests tagged with MEF will run! The toolkit provides an example of a UI that allows you to select the tag, then run the test.
Asynchronous Tests
It is often necessary to test methods that are asynchronous or require event coordination. An example may be a service that must wait on return values, or a user control that must be loaded into the framework before you can test it. The Silverlight Unit Testing Framework provides the
Asynchronoustag to facilitate this type of test. This tells the framework not to move onto the next test nor consider the current test method complete until an explicit call toTestCompleteis made.There are several “helper” methods supplied for asynchronous processing that we’ll explore in a minute. To use these methods requires inheriting from one of the base test classes such as
SilverlightTestwhich provides the methods as well as the test surface to add controls to.In PRISM, MEF, and MVVM Part 1 of 3: Unity Glue I explored various options for binding the view model to the view. The 3rd and final method I reviewed was using an attached behavior. I would like to write some unit tests for that behavior (indeed, if I were a test-driven development or TDD purist, I would have written those tests first).
In order to test the behavior, I need to attach it to a
FrameworkElementand then validate it has done what I expected it to do. But how do I go about doing that in our unit test environment?Attached Behaviors
Similar to other controls in other frameworks, Silverlight controls have a distinct life cycle. It varies slightly depending on whether the control has been generated in XAML or through code. There is a great summary table of these events on Dave’s Blog. What’s important to note is that values and properties are set as soon as you, well, set them, but bindings don’t take effect until they are inserted into the visual tree. In XAML, the XAML node becomes part of the tree and fires the
Loadedevent once it is fully integrated. In code, this happens after the element is added as the child of some other element that is in the tree. This allows Silverlight to parse the hierarchy and propagate dependency properties.So what we essentially want to do is take our behavior, attach it to an element, and then wait for the
Loadedevent to fire so we can inspect the element and see that it has been modified accordingly (in this case, we expect that theDataContextproperty has been set to our view model).Setting up the Project
The testing framework provides some handy templates for getting started. I add a new project and select the Silverlight Test Project template. I then add references to the projects I’ll be testing and the supporting frameworks like PRISM and MEF.
Next, I’ll want to build some helper classes to help me test my functionality.
Helper Classes
I like to create a folder called
Helperand place my stubs, mocks, and other helper classes there. These may be utilities, like the Exception Expected utility I use, or classes that are used for the testing framework.First, I’ll create a test view model with a simple string and string collection property for testing:
01.publicclassTestViewModel02.{03.publicTestViewModel()04.{05.ListOfItems =newList<string>();06.}07.08.publicTestViewModel(List<string> items)09.{10.ListOfItems = items;11.}12.13.publicstringProperty {get;set; }14.15.publicList<string> ListOfItems {get;set; }16.}If my view models have common methods described in a base class or interface, I might use a mocking framework to mock the class instead.
The Test Class
The behavior I created has an affinity to the Unity inversion of control (IoC) container. It could be refactored otherwise, but it made sense for the sake of the demonstration. Therefore, I’ll need to have a container for testing, as well as the view model. My test class starts out looking like this (notice I base it on
SilverlightTest):01.[TestClass]02.publicclassViewModelBehaviorTest : SilverlightTest03.{04.conststringTESTPROP ="Test Property";05.06.IUnityContainer _container;07.08.TestViewModel _viewModel;09.10.[ClassInitialize]11.publicvoidClassInitialize()12.{13._container =newUnityContainer();14.15._viewModel =newTestViewModel() { Property = TESTPROP };16._container.RegisterInstance<TestViewModel>(_viewModel);17.18.ViewModelBehavior.Container = _container;19.}20.}I create a reference to the entire test class for the container and the test view model. When the class is initialized (this is one-time setup, before all tests are run) I create a container, a view model, and tell the container that anytime someone asks for the view model, give them the specific instance I created. I also set the container on the type for the view model behavior class, so it knows what to use when resolving the view model.
The Code Behind Test
For my first test, I’ll programmatically attach the behavior and test that it works. The view model behavior takes in a string that is the fully qualified type name for the view model, and then uses the unity container to resolve it. Therefore, my test looks like this:
01.[TestMethod]02.[Asynchronous]03.[Description("Test creating an element and attaching in code behind.")]04.publicvoidTestAttach()05.{06.TextBlock textBlock =newTextBlock();07.textBlock.SetValue(ViewModelBehavior.ViewModelProperty,typeof(TestViewModel).AssemblyQualifiedName);08.09.textBlock.Loaded += (o, e) =>10.{11.Assert.IsNotNull(textBlock.DataContext,"The data context was never bound.");12.Assert.AreSame(textBlock.DataContext, _viewModel,"The data context was not bound to the correct view model.");13.14.EnqueueTestComplete();15.};16.17.TestPanel.Children.Add(textBlock);18.}There’s a few things going on here, so let’s break them down!
The
TestMethodattribute tags this method to be run by the framework. It is decorated with a description, which I can view on the output when the test is run and helps make the test more, ah, descriptive. The first thing I do is create a test block and attach the view model property. Here, I’m taking the test view model and getting the fully qualified name and using that to set the attached property. We want to make sure everything works fine and there are no errors during binding, so this is where the asynchronous pieces come into play.The
Asynchronoustag tells the framework that we’re waiting on events, so don’t consider this test complete until we explicitly tell the framework it’s complete. When the text block fires theLoadedevent, we confirm that the data context is not null and that it in fact contains the exact instance of the view model we created in the class initialization. Then we tell the framework the test is complete by callingEnqueueTestComplete, which is provided by the base class.Finally, if you were to run this without the last line, the test would stall because the text block would never get loaded. We add it as a child of the test surface, and this injects it into the visual tree and fires the loaded event.
The XAML Test
I’m not completely confident with this test because the whole reason for creating a behavior was so I could attach the view model in XAML and not use code behind. Therefore, I should really test attaching this behavior through XAML. So, at the top of the test class we’ll create the necessary XAML and wrap it in a
UserControl:01.conststringTESTXAML =02."<UserControl "+03."xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" "+04."xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" "+05."xmlns:vm=\"clr-namespace:PRISMMEF.Common.Behavior;assembly=PRISMMEF.Common\">"+06."<Grid x:Name=\"LayoutRoot\" Background=\"White\" "+07."vm:ViewModelBehavior.ViewModel=\"PRISMMEF.Tests.Helper.TestViewModel, PRISMMEF.Tests, Version=1.0.0.0\">"+08."<ListBox x:Name=\"ListBox\" ItemsSource=\"{Binding ListOfItems}\"/>"+09."</Grid></UserControl>";If you think the constant is ugly, you can always add an actual XAML file, set it as an embedded resource, then read it in instead. That would give you the full functionality of the editor to tweak the test code. Here, we simply create a control with a grid and a list box. The list box uses the attached behavior and also binds the list.
I want to test the list binding as well, so I add a collection to my test class:
1..2.privatestaticreadonlyList<string> _testCollection =newList<string> {"test1","test2"};3..In the class initialize method, I’ll pass this into the view model’s constructor so it is set on the
ListOfItemsproperty.Now, we can create the control from XAML, load it, and test it:
01.[TestMethod]02.[Asynchronous]03.[Description("Test creating from XAML")]04.publicvoidTestFromXaml()05.{06.UserControl control = XamlReader.Load(TESTXAML)asUserControl;07.08.control.Loaded += (o, e) =>09.{10.ListBox listBox = control.FindName("ListBox")asListBox;11.12.Assert.IsNotNull(listBox,"ListBox was not found.");13.Assert.IsNotNull(listBox.DataContext,"The data context was never bound.");14.Assert.AreSame(listBox.DataContext, _viewModel,"The data context was not bound to the correct view model.");15.16.IEnumerable<string> list = listBox.ItemsSourceasIEnumerable<string>;17.List<string> targetList =newList<string>(list);18.CollectionAssert.AreEquivalent(targetList, _testCollection,"Collection not properly bound.");19.20.EnqueueTestComplete();21.};22.23.TestPanel.Children.Add(control);24.}Now we load the control from XAML and wire in the
Loadedevent to test for the data context and the instance. Then, I take the items from the list box itself and compare them with the original list usingCollectionAssert. TheAreEquivalentdoes a set comparison. Then we signal the test is complete.There’s no code for this example because it was very straightforward and I’ll likely be posting a more comprehensive example in the future as the result of a talk I’ll be giving. Be sure to tune into MSDN’s geekSpeak on Wednesday, February 17th, 2010 when I will be the guest to cover exclusively the topic of the Silverlight Unit Testing Framework (the talks are all stored on the site in case you read this after the event).
Thanks!


