主题 : 请教下cms.MsgList |
级别: 童生
|
1# 发表于:2010-01-26 12:41:46 IP:59.70.*.*
|
||||
---|---|---|---|---|---|
级别: 童生
|
3# 发表于:2010-03-03 22:31:39 IP:183.85.*.*
n_pagination.list 很费解,n_pagination没有定义啊
<#nested item,item_index,item_has_next/>这又是表示什么意思,这三个变量没用上啊 不是直接<#nested />就可以的吗? 费解!顶!! |
||
---|---|---|---|
级别: 白丁
|
4# 发表于:2010-06-24 16:07:06 IP:114.74.*.*
奥,这个问题我来回答,我发现楼主估计没有时间,这个你注意分析思路:第一:如果没有定义,就可能是Action返回的全局变量了,因此,你就用这个到所有Action去搜索,MyEclipse很方便搜这个,你就会发现PartBaseAction类是有:INNER_PAGE = "n_pagination",然后呢,你就顺藤摸瓜,去找这个INNER_PAGE,你会发现它的确是在ArtiPartAct等类中被set进contextPvd中了,因此在页面上是可以取到的。 第二:如果你发现某个变量没有定义,你就要像会不是是函数呢,后来我查了下果然是函数,给你拷贝下:
<#list student as stu> ${stu}<br/> </#list> 与jstl循环类似,也可以访问循环的状态 item_index:当前变量的索引值 item_has_next:是否存在下一个对象 其中item名称为as后的变量名 因此,一定要注意分析问题的思路,呵呵呵,希望共同进步。 |
||
---|---|---|---|
级别: 白丁
|
5# 发表于:2010-06-24 20:53:54 IP:119.210.*.*
楼上的思路很清晰!
item,item_index,item_has_next 这三项的含义官方手册说的很明白: http://freemarker.sourceforge.net/docs/ref_directive_list.html 至于用处嘛,当你把inner==1的时候,你会以以下的方式调用这个Macro: [@cms.ChnlList ... inner='1';c,i,has_next] ... [/@cms.ChnlList] 使用了<#nested item,item_index,item_has_next/>后,按下边的方式一一对应后,你就能自己自定义页面的样式了。 item -> c item_index -> i item_has_next -> has_next |
||
---|---|---|---|
级别: 童生
|
6# 发表于:2017-02-26 21:15:45 IP:46.253.*.*
http://surfcasino8.com/serie.php?serie=2842 - Redrum (murder) Petes.Dragon.2016.1080p.BluRay.x264-BLOW-[rarbg - Read More 28-09-2016, 08:30 life in peices pipi culotte 7 s3 mp4
http://qbt-bm.com/deadly-islands-s01e05-devils-island-1080p-web-h264-edhd/ - Deadly Islands S01E05 Devils Island 480p WEB x264 http://3rdeyeassociates.com/load/sport_sport/atletik_barselona_1_2_20_01_2016_obzor_matcha/24-1-0-212 - Атлетик - Барселона (1:2) (20.01.2016) РћР±Р·РѕСЂ Матча Alan Vega - Collision Drive - 1981 The Pirate Filmes Bogan Hunters Michael Adamthwaite The Mentalist http://palletfurnituredesign.com/director/list/name/Rob+LaDuca - Rob LaDuca http://muvolcanus.com/episode/watch-The-Prisoner-online.htm - The Prisoner http://getonitracing.net/2_Days_1_Night-s1e134-2+Days+%26+1+Night+Episode+134 - 2 Days & 1 Night Season 1 Episode 134 – 2 Days & 1 Night Episode 134 http://spargi.com/category/bollywood/ - Bollywood http://geenadavis.info/il-fuoco-della-giustizia-forsaken/ - Il fuoco della giustizia – Forsaken The Phantom Of The Opera - Hammer Horror 1962 Eng Subs 720p [H264-mp4 - Superman-Batman 1-68 plus Annuals and vs. Vampires and Werewolve The Quartermaster Montgomery C Meigs, Lincoln’s General, Master Builder of... Couple Seeking Teen 21 XXX DVDRip x264 MOFOXXX Chicago Fire S05E05 HDTV XviD-FUM[ettv - |
||
---|---|---|---|
级别: 童生
|
7# 发表于:2017-02-27 03:24:46 IP:46.253.*.*
http://best-fat-burners-india.com/game-of-thrones-2011-season-4-s04-1080p-bluray-x265-hevc-10bit-aac-7-1-tigole-utr/ - Game of Thrones (2011) S04 (1080p Bluray x265 HEVC 10bit AAC 7 1 Tigole UTR Cannabis - A Complete Guide (2016) (Pdf) Gooner Movie Information The BFG 2016 720p BRRip x264 AAC-ETRG ???? ???.Once Upon a Time in High School 2004.H264.1080p-HDTV.EBS World.War.Z.(2012).XviD.AC3-ADTRG
http://wiringmob.us/director/list/name/Evan+Johnson - Evan Johnson http://fggvm.xyz/serial/531/The-Leftovers - The Leftovers http://bendlivibility.org//bendlivibility.org/file/5916l094zc863g - Publish2 http://theconversionfunnel.com/le-hobbit-la-bataille-des-cinq-armees.html - Le Hobbit : la Bataille des Cinq ArmГ©es http://plustravelagency.com/hash/AgusiQ+TorrentS+pl+Stone+2010+PL+J25+AgusiQ/71D9849820FAB1ED58F08DBF184E99388C32CF18 - AgusiQ TorrentS pl Stone 2010 PL J25 AgusiQ Nine to Five 2013 REMASTERED 1980 BDRip x264-VoMiT the vampire diaries s04e 720p Animacion Florence Mezzara, Eastenders 2013 01 24 HDTV x264 Deadpool http://mutuellemaladie.com/telecharger-phenomenes - PhГ©nomГЁnes (2008) http://bestacousticguitarreviews.net/watch/americas-supernanny - AMERICA'S SUPERNANNY Naruto Shippuden – Episodio 482 Legendado HD Online a history of the vietnamese pdf loadiine wiiu Alive 1993 HD ????? ????? 7.0 [AnimeRG - Nanbaka - 07 [Multi-Sub - [x265 - [1080p - [pseudo - |
||
---|---|---|---|
1
共1页