$r.render("sourceview")

Window Control

Window control is about how you control the content on the screen. The framework provides various elements which we will show you below.

Warning and error messages

The framework provides standard ways of diaplaying warning and error messages. This is done via the appropriate methods:

getWindowControl().setInfo()
getWindowControl().setWarning()
getWindowControl().setError()
	

Push and Pop windows

The framework allows to push and pop content to the main window. This enables a workflow to take the entire screen real estate if necessary, e.g. a workflow that wants to prevent the user from clicking any other link by simply not showing them.

$r.render("guidemo.window.control.push")

Additional infos

This is done directly in velocity using the o_togglebox_start and o_togglebox_end makros.

#o_togglebox_start("testdomid" "check me out, I got some stuff in me") aöksldfjasjd

föasldkj aösdfskld

#o_togglebox_end()
#o_togglebox_start("infoContent" "Here are some additional details") Welcome, you found the cool hidden stuff... Click again to close this #o_togglebox_end()
#o_togglebox_start("secondContent" "And click here to get the other details") Trallala, jepee this is such a cool framework this OLAT thing, really, it rocks so much!

And again, some other text... #o_togglebox_end()