Update ViewTemplate.java

The parameter name was incorrectly set.