[
http://jira.jboss.com/jira/browse/JBSEAM-1657?page=comments#action_12368826 ]
Dan Allen commented on JBSEAM-1657:
-----------------------------------
Duh!
org.jboss.seam.core.Contexts
And I think that is a better way to do it anyway. Can we close this? Sorry for being
brain-dead! Then again, maybe it would be a nice thing to point out in the reference
documentation under the test section. We could say that the Contexts class is a nice way
to place objects in to various contexts in a text fixture situation.
Add getAttributes() / setAttribute() to BaseSeamTest.Request
------------------------------------------------------------
Key: JBSEAM-1657
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1657
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.0.0.BETA1
Reporter: Dan Allen
Priority: Minor
Fix For: 2.0.0.CR1
Attachments: JBSEAM-1657-v1.txt
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
It would be nice (but not a do or die feature) for the Request class of BaseSeamTest to
support reading and writing of request (HttpServletRequest) attributes. All the groundwork
is already in place, it is just a matter of adding the accessor methods to get at the Map.
This feature is important for people looking to inject primitive event-scope attributes
from a form that need to be injected into a component that is not yet instantiated. Again,
it depends on the scenario of the test, but I came across a test that needed this feature.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira