I've got a class inherited from PRPage with some additional
properties, and I want to hide those properties from all but the page
owner at edit time. The problem is that PREditCommand doesn't pass the
context to the page before requesting its description, so the page
instance doesn't have the necessary information to dynamically change
You can always get the current context using
The expression might return nil if there is no current context, but in
case of the execution of a command this should be defined.
I've only just started using Pier in earnest, so if this
exposes a lack of understanding of anything fundamental, please feel
free to point this out.
Good question. I added it to the upcoming FAQ:
If you have more things that you would like to see, please let me know.