]
Marek Novotny reassigned JBSEAM-4699:
-------------------------------------
Assignee: Marek Novotny
Add one more "lifecycle" method to
AbstractSeamTest.Request
-----------------------------------------------------------
Key: JBSEAM-4699
URL:
https://jira.jboss.org/browse/JBSEAM-4699
Project: Seam
Issue Type: Feature Request
Affects Versions: 2.2.1.CR2
Reporter: Flavio Costa
Assignee: Marek Novotny
Fix For: 2.2.1.CR3
Attachments: new-lifecycle-method-seamtest.diff
org.jboss.seam.mock.AbstractSeamTest.Request has tons of methods, many of them are
protected and can be overrode but I'm missing a method that enables me to tap into the
very beggining of "private boolean emulateJsfLifecycle() throws Exception" to be
more specific after the "restoreViewPhase();" method call.
I need this in order to be able to use Components.getInstance() in the early stages of
the test.
It should look like this:
private boolean emulateJsfLifecycle() throws Exception
{
restoreViewPhase();
insideFacesLifecycle();
....
}
and insideFacesLifecycle() should look like this:
protected void insideFacesLifecycle() { }
Is that possible?
Since I'm not altering the behaviour of the test, just adding one more entry-point I
guess it wouldn't be a problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: