templates - Accessing module tag -



templates - Accessing module tag -

i'd extend existing module adding tag in views/tags folder. able phone call tag 1 of application template using module. it's done in secure module check.tag.

however when seek phone call module tag 1 of application template, play search through application "tags" folder , doesn't check module tags folder.

so, there way tell play import tags located in module?

thanks

you have create sure provide namespace of tag. example, in secure module, tags under

secure/app/views/tags

so under tags counts namespace.

the path check is

secure/check.tag

so usage in templates

#{secure.check}

templates tags playframework

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -