I am new to NodeJS and AngularJS. I am using bootstrap datetimepicker (https://github.com/zhaber/datetimepicker). The example I am following is this one http://plnkr.co/edit/GIaEpg?p=preview
When I create new application and put it in plain HTML file, it works fine. But when I try to integrate it with my application that is using jade template, it cannot select the date in datetimepicker. Rest of the buttons inside date time picker works but only selecting date is not working.
Here is my jade code
.div(id='datetimepicker1', ng-controller='DateTimePickerDemoCtrl')
datetimepicker(min-date='minDate', show-weeks='showWeeks', hour-step='hourStep', minute-step='minuteStep', ng-model='date', show-meridian='showMeridian', date-format='dd-MMM-yyyy', date-options='dateOptions', date-disabled='disabled(date, mode)', showMinutes='true')
I am using bootstrap 3.0.0 and JQuery 1.10.2
In following image, I clicked on a date, it gets highlighted but in the box it is not updated.
There is no error in chrome developer tool
Any help will be highly appreciated.
Thanks
It was my bad. It was due to rc2 version of angular.js. In my HTML application I was using latest version of angular.js. I updated that to version 1.2.10 and now it works fine.
It had nothing to do with Jade Template or HTML...
Related
In Razor Page Model, breakpoint will not work if we mix that .cshtml or .js file with razor syntax.
But we were still able to insert the debugger keyword to the javascript and it will break.
However this feature is no longer working with the latest :-
Microsoft Visual Studio Community 2019
Version 16.9.4
Microsoft Edge - Version 90.0.818.39 (Official build) (64-bit)
It will stops at the point when it saw the debugger keyword, but the dynamically generated page (Razor .cshtml) is blank.
Please first check Enable JavaScript debugging for ASP.NET (Chrome, Edge and IE) option under Tools-->Options-->Debugging-->General.
Then, start debugging and set the breakpoint under the active Script Documents from Solution Explorer. Refer from this official document.
And you cannot automatically hit breakpoints on files generated with Razor syntax (cshtml, vbhtml). You have to try the following ways provided by the document.
If the steps it provided do not help with Edge, I think you should report a problem to the Team under VS menu Help --> Send Feedback --> Report a Problem.
As a suggestion, if my suggestion does not satisfy you, you can ignore it:
You would better not use Razor syntax under JS file. You could use a separate js file and then use write your js file and then import this single js file into cshtml.
I'm facing a problem with Visual Composer and media grid since last weeks. Media grid is not showing images and can't find why. So I've made a page test with this shortcode in admin :
[vc_row][vc_column][vc_media_grid grid_id="vc_gid:1598480436378-7a2a9a4f-c137-2" include="107333,107285,107273"][/vc_column][/vc_row]
And here is the code we can see in page front in the div data :
{"page_id":107353,"style":"all","action":"vc_get_vc_grid_data","shortcode_id":"{\"failed_to_get_id\":\"vc_gid:1598480436378-7a2a9a4f-c137-2\"}","tag":"vc_media_grid"}
I also made a specific page template with this code :
do_shortcode('[vc_media_grid grid_id="vc_gid:1598480436378-7a2a9a4f-c137-2" include="107333,107285,107273"]');
Same result > shortcode failed to get id
The website is running under WordPress 5.4. I cannot say if that occurred after one update of plugin or WordPress.
Visual composer is not up to date (v5), tried to update to v6, but this break the website.
Thank you for any help.
Just had the same problem on v5. Updating to 6.5 sorted it.
I am installing the extension library in one of my local machine,I have previously also installed extension library in another machine and that is working fine,but now in another machine all settings and process is same, To test whether the extension library is installed or not I have created a test page and added layout control and according from extension library to the page and executed the page from the browser,It is not giving any error and prints the values which i have given in the layout.but layout is not visible.
In short the controls from the extension library are not visible when executed the page in browser,
I have Verified the extension library installed on designer as below image.
I have Verified the extension library installed on server as below image.
So in server responses the state is LAZY,bit confused here whether the library is loaded on server properly or not.Or i have to do all the process again to get library started.
Any suggestion would be appreciated.
Edit 1: I forgot to mention that I am using domino designer 9 and notes 9,the domino server version is 8.5,Is there any issues with version?
Edit 2:Now I have converted domino server, domino designer,notes client to version 8.5,Currently I have every thing of same version,I tried loading extension library it loads but only some controls works and some are not.
For example I have added "dialog box,application-layout" this works with no issue but, when I add name picker and value picker is shows Unhandled exception.
To be more clear,
when I add name-picker and value picker without any values it looks perfectly working as in image.
Now when I add values in name picker or value picker or accordian is shows the error,
<xe:namePicker id="namePicker2" for="members"
dialogTitle="Teilnehmer auswählen">
<xe:this.dataProvider>
<xe:namePickerAggregator>
<xe:this.dataProviders>
<xe:dominoNABNamePicker
addressBookSel="all" nameList="peopleAndGroups"
groups="true">
<xe:this.addressBookDb><![CDATA[# {javascript:var nab:NotesDatabase=session.getDatabase(database.getServer(),"names.nsf");
return database.getServer() + "!!" + nab.getFilePath();}]]> </xe:this.addressBookDb>
</xe:dominoNABNamePicker>
</xe:this.dataProviders>
</xe:namePickerAggregator>
</xe:this.dataProvider>
</xe:namePicker>
Extension Library relies on code available in the underlying XPages-related classes installed with the server. So if you install a ...9.0.1 version of Extension Library on an earlier server version, it will not be able to run properly. Always ensure the Extension Library version is appropriate for the server and bear in mind some functionality will not be available (so you won't be able to use deviceBean, some mobile components or the Bootstrap functionality included in more recentl versions of Extension Library.
I would still encourage you to use the latest Domino Designer, for better stability and tooling options. You can still have a 9.0.1 version of Extension Library installed, as far as I know. Designer just picks up tooling and doesn't includes Extension Library source code in the compiled NSF, so there's no conflict. An 8.5.3 version of Extension Library may not even install on a 9.0.1 client, I haven't tried.
On Xsp Properties, General tab, setting "Minimum Supported Release" to 8.5.3 will ensure it still compiles against the 8.5.3 limitations, which should ensure you don't accidentally use properties or functions that didn't exist until after 8.5.3.
I am getting an error when I try to display pages from the xpage Extension Library demo.
Cannot find the library "com.ibm.xsp.extlib.library" with tag version 8.5.32001, to be used by the page /Core_Dialog.xsp. The library tag version is blank.
If I use extenstion library controls in my own db on the same server then they work fine. In fact I display the version number on the welcome page of most of my apps. It displays ExtLib Version: 8.5.3.20111208-0717
Any idea why the deo would not work?
I have downloaded the latest copy of the demo.
If you use the latest copy of the demo you also need to use the latest version of ExtLib which is 20121217.
I have created an extension library component but my XPages Extension Library is working on my local Notes Browser. If I run my XPage in notes itself it works fine.
When I run it in the browser I get the following error is thrown:
Cannot find the library com.example.blank.library, required by the application /ForLearnCopy.nsf.
What does this mean, and how can I solve it? Thanks!
You have to install your plugin like a server plugin.
Have a look here:
Running XPages Extension Library on local machine
Hope this helps
Sven
Ramakumar,
check the documentation of the extension library. It shows nicely what you have to do to get a plugin working everywhere. There are 3 places:
install using an update site in Notes client - to work in the Notes client. Usually ends in NotesData/workspace/applications
install into NotesData/domino/workspace/applications (look for plugins/features folder there) - to make it work on the local browser preview
in the Domino server (use the updatesite.nsf and the right parameter)
Hope that helps