[
https://issues.apache.org/jira/browse/TAPESTRY-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship resolved TAPESTRY-1445.
--------------------------------------------
Resolution: Invalid
Assignee: Howard M. Lewis Ship
This is part of the "leaky abstraction" concerning the use of a seperate class
loader for component classes. Define an interface, make sure it is in a
normally-loaded package, and things will work.
> @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
> Assigned To: Howard M. Lewis Ship
>
> 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]