I have a page that I'm using to create and edit an element. I've added a property named "isEditMode" which I set in "pageBeginRender" method. I do something like this:
setEditMode(getItem() != null). If the item is not null, means that has been setted from the previous page (an item listing), if not, is trying to create a new one. This work fine the first time, but when I rewind the form, the getItem() returns null, causing a new item creation even on edit mode. I've tried to add @Persist annotation to getItem(), but in this way I can't create a new item because always load the last I used. Any thoughts? -- View this message in context: http://www.nabble.com/%40Persist-and-PageBeginRender-tf3983514.html#a11309425 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]