Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
Portals provide an easy way for a HTML page to load another page as an inset window. This technique allows developers to create pages with links to a new page without requiring the user to navigate through a new browser window.
c2b9f33bb9abc681.html
Source:c2b9f33bb9abc681.html
1<!DOCTYPE html>2<html><head><title>Client</title><link rel="stylesheet" href="../../styles.css"/><script src="../../scripts.js"></script></head><body onload="ro();">3<div class="rH">Implemented interface member:</div><a href="/Microsoft.Rest.ClientRuntime/A.html#5319b07301e314c6" target="s"><div class="resultItem" onClick="resultClick(this);"><div class="resultLine"><img src="/content/icons/102.png" height="16" width="16" /><div class="resultKind">property</div><div class="resultName">Client</div></div>4<div class="resultDescription">Microsoft.Rest.IServiceOperations<TClient>.Client</div>5</div></a>6<div class="rH">1 write to Client</div><div class="rA">Microsoft.Azure.Management.AppPlatform (1)</div><div class="rG" id="Microsoft.Azure.Management.AppPlatform"><div class="rF"><div class="rN">Generated\ApiPortalsOperations.cs (1)</div>7<a href="../Generated/ApiPortalsOperations.cs.html#45"><b>45</b><i>Client</i> = client;</a>8</div>9</div>10<div class="rH">98 references to Client</div><div class="rA">Microsoft.Azure.Management.AppPlatform (98)</div><div class="rG" id="Microsoft.Azure.Management.AppPlatform"><div class="rF"><div class="rN">Generated\ApiPortalsOperations.cs (98)</div>11<a href="../Generated/ApiPortalsOperations.cs.html#89"><b>89</b>if (<i>Client</i>.ApiVersion == null)</a>12<a href="../Generated/ApiPortalsOperations.cs.html#93"><b>93</b>if (<i>Client</i>.ApiVersion != null)</a>13<a href="../Generated/ApiPortalsOperations.cs.html#95"><b>95</b>if (<i>Client</i>.ApiVersion.Length < 1)</a>14<a href="../Generated/ApiPortalsOperations.cs.html#100"><b>100</b>if (<i>Client</i>.SubscriptionId == null)</a>15<a href="../Generated/ApiPortalsOperations.cs.html#130"><b>130</b>var _baseUrl = <i>Client</i>.BaseUri.AbsoluteUri;</a>16<a href="../Generated/ApiPortalsOperations.cs.html#132"><b>132</b>_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(<i>Client</i>.SubscriptionId));</a>17<a href="../Generated/ApiPortalsOperations.cs.html#137"><b>137</b>if (<i>Client</i>.ApiVersion != null)</a>18<a href="../Generated/ApiPortalsOperations.cs.html#139"><b>139</b>_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(<i>Client</i>.ApiVersion)));</a>19<a href="../Generated/ApiPortalsOperations.cs.html#151"><b>151</b>if (<i>Client</i>.GenerateClientRequestId != null && <i>Client</i>.GenerateClientRequestId.Value)</a>20<a href="../Generated/ApiPortalsOperations.cs.html#155"><b>155</b>if (<i>Client</i>.AcceptLanguage != null)</a>21<a href="../Generated/ApiPortalsOperations.cs.html#161"><b>161</b>_httpRequest.Headers.TryAddWithoutValidation("accept-language", <i>Client</i>.AcceptLanguage);</a>22<a href="../Generated/ApiPortalsOperations.cs.html#180"><b>180</b>if (<i>Client</i>.Credentials != null)</a>23<a href="../Generated/ApiPortalsOperations.cs.html#183"><b>183</b>await <i>Client</i>.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>24<a href="../Generated/ApiPortalsOperations.cs.html#191"><b>191</b>_httpResponse = await <i>Client</i>.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>25<a href="../Generated/ApiPortalsOperations.cs.html#205"><b>205</b>CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, <i>Client</i>.DeserializationSettings);</a>26<a href="../Generated/ApiPortalsOperations.cs.html#247"><b>247</b>_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ApiPortalResource>(_responseContent, <i>Client</i>.DeserializationSettings);</a>27<a href="../Generated/ApiPortalsOperations.cs.html#292"><b>292</b>return await <i>Client</i>.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);</a>28<a href="../Generated/ApiPortalsOperations.cs.html#318"><b>318</b>return await <i>Client</i>.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);</a>29<a href="../Generated/ApiPortalsOperations.cs.html#354"><b>354</b>if (<i>Client</i>.ApiVersion == null)</a>30<a href="../Generated/ApiPortalsOperations.cs.html#358"><b>358</b>if (<i>Client</i>.ApiVersion != null)</a>31<a href="../Generated/ApiPortalsOperations.cs.html#360"><b>360</b>if (<i>Client</i>.ApiVersion.Length < 1)</a>32<a href="../Generated/ApiPortalsOperations.cs.html#365"><b>365</b>if (<i>Client</i>.SubscriptionId == null)</a>33<a href="../Generated/ApiPortalsOperations.cs.html#390"><b>390</b>var _baseUrl = <i>Client</i>.BaseUri.AbsoluteUri;</a>34<a href="../Generated/ApiPortalsOperations.cs.html#392"><b>392</b>_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(<i>Client</i>.SubscriptionId));</a>35<a href="../Generated/ApiPortalsOperations.cs.html#396"><b>396</b>if (<i>Client</i>.ApiVersion != null)</a>36<a href="../Generated/ApiPortalsOperations.cs.html#398"><b>398</b>_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(<i>Client</i>.ApiVersion)));</a>37<a href="../Generated/ApiPortalsOperations.cs.html#410"><b>410</b>if (<i>Client</i>.GenerateClientRequestId != null && <i>Client</i>.GenerateClientRequestId.Value)</a>38<a href="../Generated/ApiPortalsOperations.cs.html#414"><b>414</b>if (<i>Client</i>.AcceptLanguage != null)</a>39<a href="../Generated/ApiPortalsOperations.cs.html#420"><b>420</b>_httpRequest.Headers.TryAddWithoutValidation("accept-language", <i>Client</i>.AcceptLanguage);</a>40<a href="../Generated/ApiPortalsOperations.cs.html#439"><b>439</b>if (<i>Client</i>.Credentials != null)</a>41<a href="../Generated/ApiPortalsOperations.cs.html#442"><b>442</b>await <i>Client</i>.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>42<a href="../Generated/ApiPortalsOperations.cs.html#450"><b>450</b>_httpResponse = await <i>Client</i>.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>43<a href="../Generated/ApiPortalsOperations.cs.html#464"><b>464</b>CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, <i>Client</i>.DeserializationSettings);</a>44<a href="../Generated/ApiPortalsOperations.cs.html#506"><b>506</b>_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ApiPortalResource>>(_responseContent, <i>Client</i>.DeserializationSettings);</a>45<a href="../Generated/ApiPortalsOperations.cs.html#564"><b>564</b>if (<i>Client</i>.ApiVersion == null)</a>46<a href="../Generated/ApiPortalsOperations.cs.html#568"><b>568</b>if (<i>Client</i>.ApiVersion != null)</a>47<a href="../Generated/ApiPortalsOperations.cs.html#570"><b>570</b>if (<i>Client</i>.ApiVersion.Length < 1)</a>48<a href="../Generated/ApiPortalsOperations.cs.html#575"><b>575</b>if (<i>Client</i>.SubscriptionId == null)</a>49<a href="../Generated/ApiPortalsOperations.cs.html#614"><b>614</b>var _baseUrl = <i>Client</i>.BaseUri.AbsoluteUri;</a>50<a href="../Generated/ApiPortalsOperations.cs.html#616"><b>616</b>_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(<i>Client</i>.SubscriptionId));</a>51<a href="../Generated/ApiPortalsOperations.cs.html#621"><b>621</b>if (<i>Client</i>.ApiVersion != null)</a>52<a href="../Generated/ApiPortalsOperations.cs.html#623"><b>623</b>_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(<i>Client</i>.ApiVersion)));</a>53<a href="../Generated/ApiPortalsOperations.cs.html#635"><b>635</b>if (<i>Client</i>.GenerateClientRequestId != null && <i>Client</i>.GenerateClientRequestId.Value)</a>54<a href="../Generated/ApiPortalsOperations.cs.html#639"><b>639</b>if (<i>Client</i>.AcceptLanguage != null)</a>55<a href="../Generated/ApiPortalsOperations.cs.html#645"><b>645</b>_httpRequest.Headers.TryAddWithoutValidation("accept-language", <i>Client</i>.AcceptLanguage);</a>56<a href="../Generated/ApiPortalsOperations.cs.html#665"><b>665</b>_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(validatePayload, <i>Client</i>.SerializationSettings);</a>57<a href="../Generated/ApiPortalsOperations.cs.html#670"><b>670</b>if (<i>Client</i>.Credentials != null)</a>58<a href="../Generated/ApiPortalsOperations.cs.html#673"><b>673</b>await <i>Client</i>.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>59<a href="../Generated/ApiPortalsOperations.cs.html#681"><b>681</b>_httpResponse = await <i>Client</i>.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>60<a href="../Generated/ApiPortalsOperations.cs.html#695"><b>695</b>CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, <i>Client</i>.DeserializationSettings);</a>61<a href="../Generated/ApiPortalsOperations.cs.html#737"><b>737</b>_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<CustomDomainValidateResult>(_responseContent, <i>Client</i>.DeserializationSettings);</a>62<a href="../Generated/ApiPortalsOperations.cs.html#795"><b>795</b>if (<i>Client</i>.ApiVersion == null)</a>63<a href="../Generated/ApiPortalsOperations.cs.html#799"><b>799</b>if (<i>Client</i>.ApiVersion != null)</a>64<a href="../Generated/ApiPortalsOperations.cs.html#801"><b>801</b>if (<i>Client</i>.ApiVersion.Length < 1)</a>65<a href="../Generated/ApiPortalsOperations.cs.html#806"><b>806</b>if (<i>Client</i>.SubscriptionId == null)</a>66<a href="../Generated/ApiPortalsOperations.cs.html#841"><b>841</b>var _baseUrl = <i>Client</i>.BaseUri.AbsoluteUri;</a>67<a href="../Generated/ApiPortalsOperations.cs.html#843"><b>843</b>_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(<i>Client</i>.SubscriptionId));</a>68<a href="../Generated/ApiPortalsOperations.cs.html#848"><b>848</b>if (<i>Client</i>.ApiVersion != null)</a>69<a href="../Generated/ApiPortalsOperations.cs.html#850"><b>850</b>_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(<i>Client</i>.ApiVersion)));</a>70<a href="../Generated/ApiPortalsOperations.cs.html#862"><b>862</b>if (<i>Client</i>.GenerateClientRequestId != null && <i>Client</i>.GenerateClientRequestId.Value)</a>71<a href="../Generated/ApiPortalsOperations.cs.html#866"><b>866</b>if (<i>Client</i>.AcceptLanguage != null)</a>72<a href="../Generated/ApiPortalsOperations.cs.html#872"><b>872</b>_httpRequest.Headers.TryAddWithoutValidation("accept-language", <i>Client</i>.AcceptLanguage);</a>73<a href="../Generated/ApiPortalsOperations.cs.html#892"><b>892</b>_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(apiPortalResource, <i>Client</i>.SerializationSettings);</a>74<a href="../Generated/ApiPortalsOperations.cs.html#897"><b>897</b>if (<i>Client</i>.Credentials != null)</a>75<a href="../Generated/ApiPortalsOperations.cs.html#900"><b>900</b>await <i>Client</i>.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>76<a href="../Generated/ApiPortalsOperations.cs.html#908"><b>908</b>_httpResponse = await <i>Client</i>.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>77<a href="../Generated/ApiPortalsOperations.cs.html#922"><b>922</b>CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, <i>Client</i>.DeserializationSettings);</a>78<a href="../Generated/ApiPortalsOperations.cs.html#964"><b>964</b>_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ApiPortalResource>(_responseContent, <i>Client</i>.DeserializationSettings);</a>79<a href="../Generated/ApiPortalsOperations.cs.html#982"><b>982</b>_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ApiPortalResource>(_responseContent, <i>Client</i>.DeserializationSettings);</a>80<a href="../Generated/ApiPortalsOperations.cs.html#1034"><b>1034</b>if (<i>Client</i>.ApiVersion == null)</a>81<a href="../Generated/ApiPortalsOperations.cs.html#1038"><b>1038</b>if (<i>Client</i>.ApiVersion != null)</a>82<a href="../Generated/ApiPortalsOperations.cs.html#1040"><b>1040</b>if (<i>Client</i>.ApiVersion.Length < 1)</a>83<a href="../Generated/ApiPortalsOperations.cs.html#1045"><b>1045</b>if (<i>Client</i>.SubscriptionId == null)</a>84<a href="../Generated/ApiPortalsOperations.cs.html#1075"><b>1075</b>var _baseUrl = <i>Client</i>.BaseUri.AbsoluteUri;</a>85<a href="../Generated/ApiPortalsOperations.cs.html#1077"><b>1077</b>_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(<i>Client</i>.SubscriptionId));</a>86<a href="../Generated/ApiPortalsOperations.cs.html#1082"><b>1082</b>if (<i>Client</i>.ApiVersion != null)</a>87<a href="../Generated/ApiPortalsOperations.cs.html#1084"><b>1084</b>_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(<i>Client</i>.ApiVersion)));</a>88<a href="../Generated/ApiPortalsOperations.cs.html#1096"><b>1096</b>if (<i>Client</i>.GenerateClientRequestId != null && <i>Client</i>.GenerateClientRequestId.Value)</a>89<a href="../Generated/ApiPortalsOperations.cs.html#1100"><b>1100</b>if (<i>Client</i>.AcceptLanguage != null)</a>90<a href="../Generated/ApiPortalsOperations.cs.html#1106"><b>1106</b>_httpRequest.Headers.TryAddWithoutValidation("accept-language", <i>Client</i>.AcceptLanguage);</a>91<a href="../Generated/ApiPortalsOperations.cs.html#1125"><b>1125</b>if (<i>Client</i>.Credentials != null)</a>92<a href="../Generated/ApiPortalsOperations.cs.html#1128"><b>1128</b>await <i>Client</i>.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>93<a href="../Generated/ApiPortalsOperations.cs.html#1136"><b>1136</b>_httpResponse = await <i>Client</i>.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>94<a href="../Generated/ApiPortalsOperations.cs.html#1150"><b>1150</b>CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, <i>Client</i>.DeserializationSettings);</a>95<a href="../Generated/ApiPortalsOperations.cs.html#1251"><b>1251</b>if (<i>Client</i>.GenerateClientRequestId != null && <i>Client</i>.GenerateClientRequestId.Value)</a>96<a href="../Generated/ApiPortalsOperations.cs.html#1255"><b>1255</b>if (<i>Client</i>.AcceptLanguage != null)</a>97<a href="../Generated/ApiPortalsOperations.cs.html#1261"><b>1261</b>_httpRequest.Headers.TryAddWithoutValidation("accept-language", <i>Client</i>.AcceptLanguage);</a>98<a href="../Generated/ApiPortalsOperations.cs.html#1280"><b>1280</b>if (<i>Client</i>.Credentials != null)</a>99<a href="../Generated/ApiPortalsOperations.cs.html#1283"><b>1283</b>await <i>Client</i>.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>100<a href="../Generated/ApiPortalsOperations.cs.html#1291"><b>1291</b>_httpResponse = await <i>Client</i>.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);</a>101<a href="../Generated/ApiPortalsOperations.cs.html#1305"><b>1305</b>CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, <i>Client</i>.DeserializationSettings);</a>102<a href="../Generated/ApiPortalsOperations.cs.html#1347"><b>1347</b>_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ApiPortalResource>>(_responseContent, <i>Client</i>.DeserializationSettings);</a>103</div>104</div>...
index.html
Source:index.html
...28var tmedit = new WT.app.tilemap.App(desktop);29tmedit.init();30/*31desktop.addPortal("Awesome");32desktop.portals[0].addMenuBar();33desktop.portals[0].addMenu("File");34desktop.portals[0].addMenu("Edit");35desktop.portals[0].addMenu("Help");36desktop.portals[0].addMenuItem("File", "Open");37desktop.portals[0].menu.menus["File"].items["Open"].setAttributes("Open");38desktop.portals[0].addMenuItem("File", "Save");39desktop.portals[0].menu.menus["File"].items["Save"].setAttributes("Save");40desktop.portals[0].addMenuItem("File", "Exit", desktop.portals[0].terminate);41desktop.portals[0].menu.menus["File"].items["Exit"].setAttributes(desktop.portals[0]);42desktop.portals[0].setStatus("Testing status bar text!");43desktop.portals[0].addSubPortal("Subportal");44/*45WT.anim.animateElement(document.getElementById("portal-" + desktop.portals[0].id),46 {47 "width" : {"start" : desktop.portals[0].width, "end" : (desktop.width - 2)},48 "height" : {"start" : desktop.portals[0].height, "end" : (desktop.height - 35)},49 "top" : {"start" : desktop.portals[0].posY, "end" : 0},50 "left" : {"start" : desktop.portals[0].posX, "end" : 0}51 },52 25053);54*/55</script>56</html> ...
portalsDesktop.htm
Source:portalsDesktop.htm
1<?php2print <<<CNOA3<script language="JavaScript">4Ext.ns("CNOA.portals.portals.portalsDesktop");5CNOA.portals.portals.portalsDesktop.parentID = "{$GLOBALS['app']['parentid']}";6CNOA.portals.portals.portalsDesktop.code = {$GLOBALS['portals']['code']};7CNOA.portals.portals.portalsDesktop.portalsID = {$GLOBALS['portals']['portalsID']};8Ext.onReady(function() {9 loadScripts("sm_portals_portals", "app/portals/scripts/cnoa.portals.js", function(){10 CNOA_portals_portals_portalsDesktop = new CNOA_portals_portals_portalsDesktopClass(); 11 Ext.getCmp(CNOA.portals.portals.portalsDesktop.parentID).add(CNOA_portals_portals_portalsDesktop.mainPanel);12 Ext.getCmp(CNOA.portals.portals.portalsDesktop.parentID).doLayout();13 }); 14});15</script>16CNOA;17#echo loadJavascript("./app/portals/scripts/portalsDesktop.js");...
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for Portals and many more web technologies that are a part of your website or web-application.
Last Modified date
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!