Hi

I've been building my app using Stripes and enjoying the simplicity  
immensely. I'm now working on some general functionality where an  
entity is loaded from the database and then displayed to the user;  
they make changes and then save it back. I have two event methods on  
my action bean at the moment - view and update.

Now what is happening is that the entity loaded when the view method  
is called isn't present when the update method is called. I've  
confirmed this by logging the persisted ID value within the update  
method and this is null.

Now, I don't want to reload it again when updating - in case its state  
has changed in the meantime and would be overwritten. Is there a built- 
in way to do this that I'm missing? With other frameworks I've put  
things in the session directly but that seems a dirty thing to do when  
using Stripes!

I have the Prag Prog book on order if it's covered in there but would  
appreciate a pointer to keep me going until Amazon delivers!

Cheers,

--
Stephen Nelson




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to