Quintiq file version 2.0
#parent: #root
Response OnClick () id:Response_LibDEF_ButtonOpenView_OnClick
{
  #keys: '[143398.0.762017491]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      name := this.Label();
      view := select( ApplicationScope.ViewManager(), Views, vw, vw.Name() = name );
      if( isnull( view ) )
      {
        WebMessageBox::Warning( 'Not Implemented: ' + name );
      }
      else
      {
        ApplicationScope.ViewManager().LoadView( view );
      }
    *]
  }
}
