Sep 28, 2010, 12:28:04 PM9/28/10
Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Ch. 20 has been very helpful in helping me to make my web tests less
brittle, but there are a couple of problems with some of the
Specifically, when you create your own String template for your app
(as in Listing 20.19), you end up with a span that has the id for the
element you're displaying, based on the model metadata. So far so
But if you use this string template in any sort of loop (say, to
populate list items in an unordered list), you now have invalid
markup, as you'll have duplicate ID's for each of the instances of
that string property.
Does anyone have any good ideas on how to avoid this problem?