This project is read-only.

Actions returning objects, show in edit mode?

Oct 25, 2011 at 11:26 AM

I have an action that's returning a newly persisted object .  What I'd like is for the UI to show this object in edit mode, rather than in view mode.

Is there a means of doing this?

Oct 25, 2011 at 11:46 AM
It is not possible. At least not when I tried it a long while ago. :)
I ended up emitting a specific user message, checking for that message with jQuery, and if found, use jQuery to click on the edit button to take it directly into edit mode. (Hack) Works well enough.
Oct 25, 2011 at 12:08 PM

Yes you'd have to do something custom. If there's some state on the object you can use, you could add some custom code to the View page for the object  and based on the state go to an Edit page.