Child pages
  • Globals

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[controller]{td}{td}[#currentcontroller]
Get the controller of the top level form in the currently active dialog.{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=currentcontroller|class=node}{tr:id=name}{td}h6.currentcontroller{td}{tr}{tr:id=des}{td}{sub-section:currentcontroller_des|trigger=button|text=}{sub-section}{sub-section:currentcontroller_des|trigger=none|class=sIndent}Get the controller of the top level form in the currently active dialog.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:currentcontroller_snc|trigger=button|text=}{sub-section}{sub-section:currentcontroller_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:currentcontroller_prs|trigger=button|text=}{sub-section}{sub-section:currentcontroller_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:currentcontroller_ret|trigger=button|text=}{sub-section}{sub-section:currentcontroller_ret|trigger=none|class=sIndent}[controller]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:currentcontroller_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:currentcontroller_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:currentcontroller_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:currentcontroller_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:currentcontroller_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:currentcontroller_sam|trigger=none}{code:language=javascript}
application.output("Current controller is: " + currentcontroller.getName());
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}