cancel
Showing results for 
Search instead for 
Did you mean: 

How to print local environment properties in Nuxeo

joannadark_
Confirmed Champ
Confirmed Champ

I added a custom property to the nuxeo.conf file. I want to print this custom property in a .xhtml file using EL expressions under web/nuxeo.war/widgets/summary directory. Currently what I have below does not work...

nuxeo.conf my.custom.field=Some Text

file.xhtml <h:outputText value="#{my.custom.field}" />

Thank you in advance, Joanna

1 ACCEPTED ANSWER

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You should be able to use

#{frameworkPropertyActions.getProperty('my.custom.field')}

in your xhtml file.

View answer in original post

3 REPLIES 3

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You should be able to use

#{frameworkPropertyActions.getProperty('my.custom.field')}

in your xhtml file.

Thank you, Thomas!

Whoops, sorry, I've updated my answer.