[
https://issues.apache.org/jira/browse/TAP5-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Kemnade updated TAP5-1982:
---------------------------------
This issue has been last updated about 1.5 years ago and has no information
about the versions that are affected. That makes it hard to determine whether
it is still relevant.
If the issue still persists with the current stable version (5.3.7) or the most
recent development preview of Tapestry (5.4-beta-6), both of which are
available from Maven Central, please update it as soon as possible, adding the
respective version(s) to the issue's "Affects Version/s".
> 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
> 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.2#6252)