[
https://issues.jboss.org/browse/SEAMINTL-41?page=com.atlassian.jira.plugi...
]
Jozef Hartinger updated SEAMINTL-41:
------------------------------------
Description:
I am using the Seam Booking example (
https://github.com/seam/examples/tree/3.0.0.Final)
After a booking is made successfully, a message similar to "You're booked to stay
at the Marriott Courtyard 5 days from now. " is supposed to be displayed on the web
page. The message is set in an observer method.
https://github.com/seam/examples/blob/3.0.0.Final/booking/src/main/java/o...
Unfortunatelly, the message is never displayed.
When I change the signature of the method for the event to be observed during
TransactionPhase.IN_PROGRESS (i.e. public void onBookingComplete(@Observes @Confirmed
final Booking booking)) , the message is displayed as expected.
was:
I am using the Seam Booking example (
https://github.com/seam/examples/tree/3.0.0.Final)
After a booking is made successfully, a message similar to "You're booked to stay
at the Marriott Courtyard 5 days from now. " is supposed to be displayed on the web
page. The message is set in an observer method.
https://github.com/seam/examples/blob/3.0.0.Final/booking/src/main/java/o...
Unfortunatelly, the message is never displayed.
When the event is observed during TransactionPhase.IN_PROGRESS (i.e. public void
onBookingComplete(@Observes @Confirmed final Booking booking)) , the message is displayed
as expected.
Messages cannot be used in TransactionPhase.AFTER_SUCCESS
---------------------------------------------------------
Key: SEAMINTL-41
URL:
https://issues.jboss.org/browse/SEAMINTL-41
Project: Seam International
Issue Type: Bug
Components: Messages
Affects Versions: 3.0.0.Final
Reporter: Jozef Hartinger
Assignee: Ken Finnigan
Fix For: 3.1.0.Alpha1
I am using the Seam Booking example (
https://github.com/seam/examples/tree/3.0.0.Final)
After a booking is made successfully, a message similar to "You're booked to
stay at the Marriott Courtyard 5 days from now. " is supposed to be displayed on the
web page. The message is set in an observer method.
https://github.com/seam/examples/blob/3.0.0.Final/booking/src/main/java/o...
Unfortunatelly, the message is never displayed.
When I change the signature of the method for the event to be observed during
TransactionPhase.IN_PROGRESS (i.e. public void onBookingComplete(@Observes @Confirmed
final Booking booking)) , the message is displayed as expected.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira