velocity - Castle NVelocity Including Variables not Variable contents -


I'm using the Castes Innovolution Engine to work on some templates. The problem here is that many of my templates work fine, but not one of them.

#foreach ($ i in $ item) & lt; Div class = "grid_3 folioItem" & gt; & Lt; A rel = "BeautifulPhotos [Portfolio]" href = "$ i.link" class = "lightbox" & gt; & Lt; Img src = "$ i.image" width = "220" height = "125" alt = "Showcase" /> & Lt; / A & gt; & Lt; H4 & gt; $ I.ShortName & lt; / H4 & gt; & Lt; P & gt; $ I.LongName & lt; / P & gt; & Lt; P & gt; & Lt; One square = "pngFix button" href = "$ i.link" & gt; $ I Link text & lt; / A & gt; & Lt; / P & gt; & Lt; / Div & gt; #end

For any reason, the above code works halfway, I get six sets with all the sets of devoted tags, but $ i. SHORTName instead of material at speed I $ Any clue why is this? If I get six outputs which leave me to believe that the items are set properly and the velocity templates are present in it. But for some weird reasons these children do not.

Item is now a list and I have repeatedly checked to ensure that I do not have

OK. So I thought it (I think) It seems that Sub-Items can only display their properties on the template. For example:

  public square item {public string BadName; Public Stretch Good Name {get {return} "Foo"}}}  

Good name can be referred to in template but not bad name


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -