mARK aNDREWS 9年 前 Not wrong, this is a very useful script.... Still not sure where I find my structure elements though! Any clues? 投票するためにはログインが必要です。 次として送信する: キャンセル
s s 9年 前 Hi, this is indeed very useful! I have been able to use pieces of it but having problems with the "<#assign foo = something.in["your"].data[0].model />" concept in your note. I know for example, that a ADT for a Journal display has the container <#list entries as entry> available. But this does not seem to work for an web-content-display template and what else is available? I found from your code that 'request' is available and can parse that with freemaker. When a web-content-display template is invoked is the 'article' passed in as a container (or an article id that is supposed to be used in an #assign and then regular freemarker can kick in?)? I've seen the examples of reserved-words use but seems to be just as one-off special cases. Is there not a container for them (e.g. ${reserved.user_id}) so that the freemarker 'way' can be maintained? 投票するためにはログインが必要です。 次として送信する: キャンセル s s s s 9年 前 ok; found this bit of generic fm that returns the data model; <#list .data_model?keys as key> ${key}</#list>Now just have to figure out if what I need is in there somewhere. 投票するためにはログインが必要です。 次として送信する: キャンセル
s s s s 9年 前 ok; found this bit of generic fm that returns the data model; <#list .data_model?keys as key> ${key}</#list>Now just have to figure out if what I need is in there somewhere. 投票するためにはログインが必要です。 次として送信する: キャンセル