Provides certainly one of the objections whenever so it tag is discovered
cycle ¶
The original disagreement is put into basic stumble on, another disagreement toward second come across, and so on. After all objections are sick, the new level cycles on very first conflict and you will provides they once more.
The first version provides HTML you to identifies group row1 , the next so you can row2 , the 3rd in order to row1 again, and the like each iteration of the cycle.
You need to use parameters, too. Such as for instance, when you yourself have several layout parameters, rowvalue1 and rowvalue2 , you could potentially approach anywhere between their opinions in this way:
In some cases you might want to refer to the current value of a cycle without advancing to the next value. To do this, give the < %>tag a name, using “as”, like this:
Then, you can insert the present day property value this new period irrespective of where you’d like in your own layout by the referencing the fresh period name since the an excellent context adjustable. If you want to circulate new years to a higher worth independently of your amazing period level, you are able to various other course level and you may identify title off the fresh changeable. Therefore, the second layout:
You can utilize numerous opinions in a pattern tag, split of the room. Opinions sealed inside unmarried estimates ( ‘ ) otherwise double rates ( ” ) is managed while the string literals, if you find yourself values rather than rates try handled given that layout details.
By default, when you use the as keyword with the cycle tag, the usage of < %>that initiates the cycle will itself produce the first value in the cycle. (more…)