[ 
https://issues.apache.org/jira/browse/TAP5-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bob Harner resolved TAP5-1982.
------------------------------
    Resolution: Fixed

Added the example to the http://tapestry.apache.org/symbols.html page (once the 
publishing system catches up)

> Additional @Symbol example for documentation
> --------------------------------------------
>
>                 Key: TAP5-1982
>                 URL: https://issues.apache.org/jira/browse/TAP5-1982
>             Project: Tapestry 5
>          Issue Type: Improvement
>            Reporter: Chris Mylonas
>            Assignee: Bob Harner
>            Priority: Trivial
>              Labels: documentation
>
> Taha replied to an email with a solution to a simple @Symbol that a noob 
> could easily try out that is a more complete example than currently in docs.
> With @Symbol you must use @Inject too
> @Proeprty
> @Inject
> @Symbol(SymbolConstants.PRODUCTION_MODE)
> private boolean productionMode
> BTW you can also use :-
> <t:if test='symbol:tapestry.production-mode'>
>   ${symbol:tapestry.production-mode}
> </t:if>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to