Maria, I had a similar problem and fixed it with the following hack: I added a new boolean property, "hasInstructorOrCourseNumber" to the exhibit data file, then built my div on ex:if-exists .hasInstructorOrCourseNumber. The kind of "denormalization" is a Bad Thing according to database engineers but it does provide a quick fix to the problem.
Maria McDowell wrote: > Johan, > thanks again. Hmmm, no, I definately meant 'OR'. And your solution > would create > duplicates, yes? So if .instructor and .coursenumber BOTH exist, I will > have both divs, right? I think that I do not want that, too much code as > you said, and it will duplicate on the page. Hmmm. Need to think on > how to > solve this. > > Thanks, > Maria > > > _______________________________________________ > General mailing list > [email protected] > http://simile.mit.edu/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
