I am using some methods from my viewdata model in Spark, but it doesn't work properly. I thought it was working previously, but it appears to be crashing. Am I doing something wrong that I am unaware of?
<if condition='model.GetServerRunning()' >
<h1><a href="#">IT WORKS</a></h1>
</if>
Also, can multiple classes be used from code in a Spark file, or can only the one be passed <viewdata model="namespace.class">
? I see stuff on the Spark documentation like <viewdata currentProduct="Product"/>
but I don't understand what that is pulling from.