[jboss-user] [JBoss Seam] - Re: Improve the message example
yoav200
do-not-reply at jboss.com
Mon Jan 8 03:45:38 EST 2007
I'll be more specific,
can i preformadd, update action directly on my @DataModelSelection object ?
can I have something like this ?
| public void editTrip()
| {
| try
| {
| tripService.updateTripDetails(trip);
| trip=null;
| setResponseStatus(EDIT_TRIP_SUCCESS);
| }
| catch(Exception e)
| {
| logger.error("fail to update Trip",e);
| setResponseStatus(EDIT_TRIP_FAIL);
| }
| }
|
when trip is define as a @DataModelSelection.
for some reason i get "Error during model data update."
i know that happen when trip is null.
any suggestions ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998878#3998878
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998878
More information about the jboss-user
mailing list