Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1715

@Inject @Value isn't expanded into correct symbol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 5.0.5
    • 5.0.5
    • tapestry-core
    • None
    • Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164), jetty:run on Mac.

    Description

      Mail conversion tells that the following should be the same:
      @Inject @Value("${my.parameter}")
      private String parameter;

      and:
      @Inject
      private SymbolSource symbolSource;
      symbolSource.expandSymbols("${my.parameter}");

      However, the first example isn't working. Also, providing a non-existing symbol for expandSymbols gives a runtime error whereas @Value doesn't.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lobbin Robin Helgelin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: