Template to directly read system config (application.conf ) ?

1,859 views
Skip to first unread message

smallufo

unread,
Mar 6, 2011, 4:22:31 AM3/6/11
to play-fr...@googlegroups.com
Hi 
I wonder if it's possible for templates to read system properties directly ?
It seems not supported now , but I feel it's a nice feature.
So that template designers can determine the view by some globally defined attributes .

Guillaume Bort

unread,
Mar 6, 2011, 4:36:05 AM3/6/11
to play-fr...@googlegroups.com
${play.configuration['any.key']} ?

> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>

--
Guillaume Bort, http://guillaume.bort.fr

For anything work-related, use g...@zenexity.fr; for everything else,
write guillau...@gmail.com

smallufo

unread,
Mar 6, 2011, 4:51:05 AM3/6/11
to play-fr...@googlegroups.com, Guillaume Bort
Thanks , it works :)

BTW , I think it should be documented in the template doc.


2011/3/6 Guillaume Bort <guillau...@gmail.com>
${play.configuration['any.key']} ?

smallufo

unread,
Mar 6, 2011, 6:32:12 AM3/6/11
to play-fr...@googlegroups.com, Guillaume Bort


2011/3/6 smallufo <smal...@gmail.com>

Thanks , it works :)

BTW , I think it should be documented in the template doc.


Oops ,sorry , I found it hidden in the 'play' implicit objects section.

Reply all
Reply to author
Forward
0 new messages