An recent change (Revision
82ed7c74) to Document/All.scl added IRequest
usage and references. IRequest should not be used in Documents/All.
82ed7c74 broke SimupediaServer's Request.scl, since
Request.scl uses Document/All and also already had IRequest defined.
refs #7173
Change-Id: I15581be91cc98756025afdd6acbf72318de84228
contextDocument :: CommandContext -> <Proc> IDocument
contextDocument ctx = justValue ctx "__document__"
-
-importJava "org.simantics.document.server.io.IRequest" where
- @private
- data IRequest
-
- @private
- getParameter :: IRequest -> String -> <Proc> Maybe String
-
-possibleQueryParameterFromContext :: CommandContext -> String -> <Proc> Maybe String
-possibleQueryParameterFromContext context parameter = do
- request = fromJust $ possibleValue context "__request__"
- getParameter request parameter