-
Nov 14th, 2011, 09:14 PM
#1
How to navigate back t a domain object in the shell
I started working through the tutorials provided and I am really enjoying Roo thus far!
One question I have is how to get back into a domain object in the Roo shell if I issue a command that takes me out of it? Bear with me as I am probably not doing a great job explaining this...
I was adding fields to my PizzaOrder domain object, ran a command that took me to a Roo Shell prompt of:
roo>
and what I'd like to get back to is:
~.domain.PizzaOrder roo>
say, to add more fields to PizzaOrder! I tried entity entering: entity -class ~.domain.PizzaOrder. and that seemed to remove all my previously entered fields. Bummer.
I know I can add fields via the IDE, but I want to see if I can go back to previously created domain objects and modify them in the shell.
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules