Hello tin,
Certainly the framework you link uses AngularJS, however, they are not an stylesheet and some Javascript code, they are a complete framework, tin, for example, in the sense that they uses some special HTML code to declare text inputs, email inputs, etc. But AB already offers that kind of controls!
Maybe you can adapt the CSS code, or get some Bootstrap CSS theme that emulates the "material design" of Google... one thing is this, in which we have one ore more stylesheets, one ore more JS files, and, other thing is a complete framework like the linked one. With some works maybe you can get it working...
But probably this is not the objective of AB, which try to offer an easy way to create applications: and try to use an enterely different framework on App Builder is not something easy nor required. Anyway, if you have any specific question don't hesitate to post in the forum tin and we will try to help you.
Hello Samuel,
Hello David,
Thanks for the great improvement. If, not perfect as you said, in my opinion, it seems to perfectly reply to the need because there is some logic in the way the code is indented.
So the brain can get used to the way the code appears and can learn how to quickly find the information.
Again, thanks a lot for your great support David :)
Always thanks you! Certainly the indentation is a task from us, in the sense that we are responsible about how the code finally looks. At least the recent changes do not break the indentation when edit action. The "autocompletion" list also respect the indentation. Even the new actions from the actions' dock window (a bit more problematic) works like expected... if we previously set the cursor on the right place. Certainly this is not perfect, but better than before. :)
Hello Samuel,
It's not perfect yet, however, I improve a little the indentation task and you can see it working on the current App Builder release. Why I say it's not perfect? Right now (with the latest changes) we don't loss anymore the indentation when edit actions, no matter the amount of indentation space.
However, when we insert a new action from the actions' dock window, I can't calculate (right now) the intentation in the proper way, so, even when the action is inserted in the right place (respecting the indentation) then a new line is also inserted and they do not start at the indentation point (of the above line) but at the start. So we must press the space key if we want to continue adding more actions from the actions' dock window.
Maybe I can improve this in the near future. Anyway I hope the introduced changes help us.
P.S. Something I forget to say. The "indentation option" of the code editor is not exactly related with the indentation than AB try to maintain when insert and edit visual actions. The code editor's indentation option means the editor respect the indentation of the previous line when we press the enter key, basically. So this option is not certainly useful when insert new actions and edit existing ones.
Hello Samuel,
Thanks for the suggestion. Certainly I think the main problem is the "actions insertion". For some reason (I try it of course) they are not perfect when the previous line as been indented, maybe in many levels. Certainly I can study it in a more deep way (when have some time!).
Maybe it's also something related with my own habits I supose: I normally never use the indentation feature in any editor nor IDE: I prefer to determine the indentation spaces by... spaces... and to control it manually by myself. So I really don't place too much attention on this.
It's ok Samuel, I will try to figure out how the actions' lines can be inserted in the code taking in consideration the possible indentation levels in the previous lines.
Hello starin,
Your syntax is not correct. You must write something like this:
See here the SetVar action's help reference.
Hello Samuel,
Super :D
Thanks a lot again, David
Always thanks to you. We learn at least one thing new everyday! :)
Hello Samuel,
Certainly you find something curious (at least I don't know about this before). Apparently the Input Email control can store an "undefined" value if the email is not valid. This is similar to the Input Date control, which also do not store a regular string, but a Date variable. For that reason you get the error, because the validator library expect and string and not an "undefined" value.
You can change your code by this and see how is working. Note I set "false_2" just for your information:
P.S. As you refer in your previous post, certainly, if we use an Input Text control, your code works as expected, because in this case the value of that control is an string, even when it's empty. So the validator library can deal with that string without problems.
Hello Lanka,
Hi David,
Sure. I will follow your guide and see. I will let you know what happen.
My vote is for the splash screen plugin (I can see it working on certain application here in Android and they works like a charm), however, one possible advantage if we do not use that plugin (and simulate the splash screen with an app's view) is our application no need the plugin, so they can run in a browser and act in a similar way than other platforms.
But again one thing is the splash screen provided by the Cordova's plugin and other thing is our possible simulation. You decide! :)
Hello Lanka,
Thanks David for your reply. I thought GIF animation (loading) can use as splash screen. Thanks for reply again.
According to the Cordova documentation we must use PNG images for all platforms. Maybe a possible solution, if you certainly wanted, is to do not use the splash screen plugin, and, show the GIF image in your first app's view. You can start a Timer in that view, and, after a couple of seconds, show other of your app's view. In few words: simulate the splash screen by yourself using an specific app's view.
That can work, however, they works in a different way than the splash screen plugin, because in this case the splash screen is shown before the application is loaded, and, if you use an app's view to act like an splash screen, the application must be loaded before. Anyway you can try it and see if they can be useful for you.
Hello Lanka,
I am not quite sure if GIF images can be used for the app's splash screens, probably not. In Android, for example, the splash screen appear cover all the screen and certain spinner (provided by the system) is show until the app is finally loaded.
Hello Joshua,
I think you are looking for the "datePickerValue" variable. Please, take a look at the sample NewView1's Show event, in which you can see how that variable is setup with a Date Javascript value. You must use that variable to specify a value for the "datepicker", probably an string comming from an HTTP call's response.
Look more about Javascript's Dates here, for example.
Hello tin,
Thanks for share with that with us! Certainly AB have "out-of-the-box" the AlertBox, MessageBox, InputBox and other related actions, but, anyway is very good to see other alternatives and shared by their users. Thanks tin! :)
Hello Joshua,
Oh,David,You should update the help content.....
http://decsoftutils.com/Humm/Sites/Main/Views/Data/AppBuilder/Help/en-US/appActions.html#SetOption
SetOption "Option name" "Option value"
Use this action to store some option into the app local storage space. This options are not loss between app executions, which mean that the saved option can later be retrieved in next app executions. You can retrieve a saved option using the GetOption action.
I already do it sir. Thanks! :)
Hello Joshua,
You must specify the type of the option's value, certainly is a syntax problem:
Certainly the SetOption's help do not include the option's type: I fix this right now.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.