Genexus User Control Generator is an Atom package that helps to create User Controls for GeneXus.
With this package you get:
Follow below steps to create a new User Control:
When you create a User Control from this package, the below structure will be created:
This package uses gulp to build the user control. You can do a debug or release build by click on the option Packages/GeneXus/Build/[Debug or Release]
You are free to modify your project's gulp script by editing the gulpscript.js file.
On debug build you can update the Usercontrol in GeneXus and a test kb.
You will found the file config.json on the Userconstrol base project path. In this file, you can set the next options:
Take care that you must specify base web path, for example:
Windows: C:/users/johndoe/kbs/mykb/web Linux: /home/johndoe/usercontrols/targets
Atom uses Autocomplete plus for this feature.
Were write a specific autocomplete provider to add this feature in the control and properties file. You can check it on \lib\autocomplete\provider.js.
usercontrol.js is a helper class that provides with some User Control features as creation, validation, read and write attributes and others.
This class will be used mainly for creating and building a User Control.
usercontrol-create-view is UI responsible for creating the User Control.
.control files are associated automatically to xml files using grammars. This happens on the User Control activation (usercontrol-generator.activate()).
base-form.js is an abstract form helper to build our UI.
utils.js is a class with some useful functions.
For user controls related issues, please use http://stackoverflow.com/tags/genexus.
For this package issues, please use github issue system.
In some versions of Windows, the UserControl folder can't be deleted. For more information, please check next links:
Copyright (c) 2016 Genexus
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.