tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-1731) @Inject @Symbol does not work inside a component
Date Sun, 02 Sep 2007 17:29:19 GMT
@Inject @Symbol does not work inside a component

                 Key: TAPESTRY-1731
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1731
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.5
            Reporter: Howard M. Lewis Ship

This should work:

    private String _documentRoot;

But the @Symbol is not recognized, so the injection is implemented as:

add method: private void _$write_documentRoot(java.lang.String $1)
throw new java.lang.RuntimeException("Field com.dtsoft.ws.web.pages.CreateOrder._documentRoot
is read-only.");

add constructor: com.dtsoft.ws.web.pages.CreateOrder(org.apache.tapestry.internal.InternalComponentResources
$1, com.dtsoft.ws.web.services.OrderDatabase $2)
  _$resources = $1;
_documentRoot = _$resources.getCompleteId();
  _database = $2;


This appears to be the same for @Inject @Value ... with a String type, the only thing that
can be injected is the component id.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org

View raw message