@Environmental doesn't work
---------------------------

                 Key: TAPESTRY-1445
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1445
             Project: Tapestry
          Issue Type: Bug
          Components: Annotations
    Affects Versions: 5.0.3
            Reporter: Maciej Krasuski


After environment.push(TabControl.class, this) retrieval of pushed value by 
@Environmental field gives strange exception:


No object of type com.mkr.app.components.TabControl is available from the 
Environment. Available types are com.mkr.app.components.TabControl, 
org.apache.tapestry.MarkupWriter, org.apache.tapestry.PageRenderSupport, 
org.apache.tapestry.ValidationDecorator, org.apache.tapestry.dom.Document, 
org.apache.tapestry.internal.services.DocumentScriptBuilder, 
org.apache.tapestry.services.Heartbeat.

getting Environment and retrieval by environment.peekRequired(TabControl.class) 
works fine.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to