Used within the context of the body of a :function argument to Allegroserve's
publish function, makes an instance of the specified part and responds to the request
with a redirect to a URI representing the instance.
- arguments:
- req Allegroserve request object, as used in the function of a publish
- ent Allegroserve entity object, as used in the function of a publish
- package-and-part String
- Should name the colon- (or double-colon)-separated
package-qualified object name
- keyword arguments:
- make-object-args Plist of keys and values, Default Value: nil
- These are passed to the object upon instantiation
- share? Boolean, Default Value: nil
- If non-nil, the instance ID will be the constant string ``share'' rather than a real instance id
- example:
(publish :path "/calendar"
:function #'(lambda(req ent) (gwl-make-object req ent "calendar:assembly")))
|