Mika Koivisto Hace 13 años Should also mention that you need to have Liferay 6.0 and GA3 works the best as the earlier versions had some bugs. Por favor identifíquese para votar. Contestar como... Cancelar Igor Spasić Mika Koivisto Hace 13 años 10x, updated! Por favor identifíquese para votar. Contestar como... Cancelar
Igor Spasić Mika Koivisto Hace 13 años 10x, updated! Por favor identifíquese para votar. Contestar como... Cancelar
Marcelo Ruiz Camauër Hace 13 años What are the main advantages of one or the other? Por favor identifíquese para votar. Contestar como... Cancelar Igor Spasić Marcelo Ruiz Camauër Hace 13 años Velocity tends to be 'plan and simple' template language and it can work well. It is an old project, has a large community, code is fast enough, and the syntax is easy and fixed. Sometimes, this is a right thing.Freemarker, on the other hand, has much more power inside. It is more complete as template language, has good documentation, API, has more advance template syntax, supports JSP taglibs, has advance macro system (libs, default params...), less dependencies... You can also check what FM authors says about it: http://freemarker.sourceforge.net/fmVsVel.htmlPlease note that I am talking here about features, but are they advantage or not... it is for you to decide;) Por favor identifíquese para votar. Contestar como... Cancelar Jakub Liska Igor Spasić Hace 13 años Hey Igor,do you have any idea where the *.vm velocity templates gets the $init variable they are #parsing ? Because in the classic html template there is only init.ftl currently...I grepped through the entire html directory and the $init variable is not declared anywhere Por favor identifíquese para votar. Contestar como... Cancelar Igor Spasić Jakub Liska Hace 13 años Class com.liferay.portal.velocity.VelocityVariables creates 'init' variable (line #466; or just search for "init" - with quotation marks).The init.vm file is located here: tomcat-6.0.29\webapps\ROOT\html\themes\_unstyled\templates\init.vmI hope this helps you Por favor identifíquese para votar. Contestar como... Cancelar Jakub Liska Igor Spasić Hace 13 años Thanks Igor. I was searching for '$init' withing the .vm templates, it didn't occur to me it was initialized already in VelocityVariables. Cheers Por favor identifíquese para votar. Contestar como... Cancelar
Igor Spasić Marcelo Ruiz Camauër Hace 13 años Velocity tends to be 'plan and simple' template language and it can work well. It is an old project, has a large community, code is fast enough, and the syntax is easy and fixed. Sometimes, this is a right thing.Freemarker, on the other hand, has much more power inside. It is more complete as template language, has good documentation, API, has more advance template syntax, supports JSP taglibs, has advance macro system (libs, default params...), less dependencies... You can also check what FM authors says about it: http://freemarker.sourceforge.net/fmVsVel.htmlPlease note that I am talking here about features, but are they advantage or not... it is for you to decide;) Por favor identifíquese para votar. Contestar como... Cancelar Jakub Liska Igor Spasić Hace 13 años Hey Igor,do you have any idea where the *.vm velocity templates gets the $init variable they are #parsing ? Because in the classic html template there is only init.ftl currently...I grepped through the entire html directory and the $init variable is not declared anywhere Por favor identifíquese para votar. Contestar como... Cancelar Igor Spasić Jakub Liska Hace 13 años Class com.liferay.portal.velocity.VelocityVariables creates 'init' variable (line #466; or just search for "init" - with quotation marks).The init.vm file is located here: tomcat-6.0.29\webapps\ROOT\html\themes\_unstyled\templates\init.vmI hope this helps you Por favor identifíquese para votar. Contestar como... Cancelar Jakub Liska Igor Spasić Hace 13 años Thanks Igor. I was searching for '$init' withing the .vm templates, it didn't occur to me it was initialized already in VelocityVariables. Cheers Por favor identifíquese para votar. Contestar como... Cancelar
Jakub Liska Igor Spasić Hace 13 años Hey Igor,do you have any idea where the *.vm velocity templates gets the $init variable they are #parsing ? Because in the classic html template there is only init.ftl currently...I grepped through the entire html directory and the $init variable is not declared anywhere Por favor identifíquese para votar. Contestar como... Cancelar Igor Spasić Jakub Liska Hace 13 años Class com.liferay.portal.velocity.VelocityVariables creates 'init' variable (line #466; or just search for "init" - with quotation marks).The init.vm file is located here: tomcat-6.0.29\webapps\ROOT\html\themes\_unstyled\templates\init.vmI hope this helps you Por favor identifíquese para votar. Contestar como... Cancelar Jakub Liska Igor Spasić Hace 13 años Thanks Igor. I was searching for '$init' withing the .vm templates, it didn't occur to me it was initialized already in VelocityVariables. Cheers Por favor identifíquese para votar. Contestar como... Cancelar
Igor Spasić Jakub Liska Hace 13 años Class com.liferay.portal.velocity.VelocityVariables creates 'init' variable (line #466; or just search for "init" - with quotation marks).The init.vm file is located here: tomcat-6.0.29\webapps\ROOT\html\themes\_unstyled\templates\init.vmI hope this helps you Por favor identifíquese para votar. Contestar como... Cancelar Jakub Liska Igor Spasić Hace 13 años Thanks Igor. I was searching for '$init' withing the .vm templates, it didn't occur to me it was initialized already in VelocityVariables. Cheers Por favor identifíquese para votar. Contestar como... Cancelar
Jakub Liska Igor Spasić Hace 13 años Thanks Igor. I was searching for '$init' withing the .vm templates, it didn't occur to me it was initialized already in VelocityVariables. Cheers Por favor identifíquese para votar. Contestar como... Cancelar