This content has been marked as final.
Show 3 replies
-
1. Re: Improve the message example
norman.richards Jan 7, 2007 3:01 PM (in response to yoav200)Look at the other examples for edit screens, or maybe just create a seam-gen application and look how the application is structured.
-
2. Re: Improve the message example
yoav200 Jan 8, 2007 3:45 AM (in response to yoav200)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 ? -
3. Re: Improve the message example
norman.richards Jan 8, 2007 11:39 AM (in response to yoav200)What code is giving that error?