Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2991162cc7
Fetching contributors…

Cannot retrieve contributors at this time

127 lines (76 sloc) 2.285 kb

main module:

Table of Contents

Variables

$REPORT-HTML-ERRORS

$REPORT-HTML-ERRORS as  xs:boolean

convert error into html page or as simple element

Functions

report-error#3

report-error(
   $response-code as xs:integer, 
   $title as xs:string, 
   $response-text as xs:string
) as  element()

handle formatting the error message as html or as element(error)

Params

  • response-code as xs:integer

  • title as xs:string

  • response-text as xs:string The string message of the error

Returns

  • element(): element containing error

html-wrapper#3

html-wrapper(
    $response-code as xs:integer, 
    $title as xs:string, 
    $response-text as xs:string
) as  element()

Wrap the specified string in html for friendly message display.

Params

  • response-code as xs:integer

  • title as xs:string

  • response-text as xs:string The string message of the errror

Returns

  • element(): element(htm:html) An element(htm:html) containing the html response.

controller-exists#1

controller-exists($controller-uri as xs:string
) as  xs:boolean

Returns wether the controller exists or not ~

Params

  • controller-uri as xs:string

Returns

  • xs:boolean

view-exists#1

view-exists($view-uri as xs:string
) as  xs:boolean

Params

  • view-uri as xs:string

Returns

  • xs:boolean

controller#0

controller(
)

Executes a named controller using REST methods interface ~

render#2

render($response,$request
)

Renders the output ~

Params

  • response as

  • request as

Generated by xquerydoc

Jump to Line
Something went wrong with that request. Please try again.