This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.regModel('Person', { | |
fields: [ | |
{name: 'name', type: 'string'}, | |
{name: 'age', type: 'int'}, | |
{name: 'phone', type: 'string'}, | |
{name: 'alive', type: 'boolean', defaultValue: true} | |
], | |
proxy: { | |
type: 'websqlproxy', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="parent-container"> | |
<input type="text" id="txtGurbaniURL" value=" | |
http://sttm.co/s/3504" /> | |
<input type="button" id="btnLoadURL" value="Load Page" /> | |
<div style="clear:both"></div> | |
<iframe name="ssGurbaniIframe" id="ssGurbaniIframe" src="" width="468" height="300"></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
********************************************************************* | |
ANGULAR - To use on CLI | |
********************************************************************* | |
//to run server with proxy file optionally can be set under angular.json > server > options > | |
ng serve --proxy-config proxy.config.json | |
//if need to add port optionally | |
ng serve --proxy-config proxy.config.json --port 9999 |