Отправляет email-рассылки с помощью сервиса Sendsay
  Все выпуски  

tarovit.org.ua/arhiv22/menedz... lh-tk255x мануал tarovit.org.ua/arhiv22/smotre...


Lotus Notes/Domino -- продукт и инструмент. Выпуск: 742

2013-09-23
Поиск по сайтам о Lotus Notes

Содержание:

CodeStore. Коды Примеры Шаблоны (1)

Bootstrap Advanced Date Picker Plugin | Blog

Интенет эфир о Lotus Notes. Блоги и форумы (3)

tarovit.org.ua/arhiv22/menedz... lh-tk255x мануал tarovit.org.ua/arhiv22/smotre...
at.interhack.ru/p-31637.html lotus notes 7 руководство пользователя join.interhack.ru/p-44585.html
vk.com/page-6901105_4... руководство lotus notes
Спонсоры рассылки:
Поиск по сайтам о Lotus Notes/Domino
Полнотекстовый поиск по тематическим сайтам о Lotus Notes
Хостинг на Lotus Domino















Блиц опрос
Материалы на английском
(голосование возможно только из письма рассылки)
  • Нормально. Могу читать
  • Не годиться. Хочу только на русском
  • Компания ПУЛ - разработка приложений на Lotus Notes/Domino

    CodeStore. Коды Примеры Шаблоны

    1. Bootstrap Advanced Date Picker Plugin | Blog

    For some time now I've been creating date fields in Bootstrap-based websites that look like this:

    image

    Clicking either in the field or on the button next to it launches a date-picker, like this:

    image

    In the Notes Form the Date Field is configured in such a way that it accepts dates in the format 12-Dec-2009 (while storing them in normal Notes DateTime format of course).

    The field properties are like so:

    image

     

    It all works well and users like them. Not least because there's no confusion over whether it's mm/dd or dd/mm! When the document is viewed in read-mode the dates are displayed in the same format automatically!

    The only downside is that the field is marked up as "readonly" to prevent users trying to type in their own dates, which forces them to use the picker. Ok for most, but if you want to pick a date 10 years ago....

    I'm assuming you're using Domino, but this is by no means restricted to use only with Domino.

    Taking it Further

    I was asked recently if a certain date field could be extended to add the ability for a user to choose from a list of predefined date ranges. Such as "A year from now" or "3 months from now".

    Such is the beauty of bootstrap that I was soon able to extend my date field by creating a plugin that adds extra button, as below:

    image

    When clicked on, it looks like this:

    image

    Happy days!

    How Did I Do It?

    Creating the basic date picker is a simple case of marking it up like this:

    <div class="input-append">
        <input name="DOB" id="DOB" rel="date" type="text" readonly="readonly">
        <button class="btn" onclick="$('#DOB').focus()"><i class="icon icon-calendar"></i></button>
    </div>

    Then at the bottom of the page (or better still, in an "form.init()" function called on "dom ready") do this:

    $(function() {
     $("input[rel='date']").datepicker({dateFormat: "dd-M-yy"});
    });

    This code looks for all fields where rel="date" and binds the jQuery UI date picker to it.

    Hey presto.

    Advanced Version

    To make the version with the additional dropdown, the HTML markup for the field changes to something like this:

    <div class="input-append">
        <input name="DateExpected" value="" id="DateExpected" rel="date" type="text" class="span2" readonly="readonly">
        <div class="btn-group">
            <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
    
            <ul class="dropdown-menu month-adder" role="menu">
                <li data-increment="1"><a>In One Month</a></li>
                <li data-increment="3"><a>In 3 Months</a></li>
                <li data-increment="6"><a>Within 6 Months</a></li>
                <li data-increment="12"><a>In a year</a></li>
            </ul>
    
            <button class="btn"><i class="icon icon-calendar"></i></button>
        </div>
    </div>
    

    It should be obvious from that HTML how it all works. Maybe it's obvious to me as I'm au fais with Bootstrap?

    Turning It In To A Plugin

    While the HTML markup needed to wrap round a field to make it a datepicker isn't complicated you can imagine it's a bit of a pain to markup lots of date fields. What we really need is a plugin.

    To create a plugin you'd simply add the following code in to your main "application.js" file:

    (function( $ ) {
        $.fn.datePicker2 = function(options){
            var settings = $.extend({
                dateFormat: "dd/mm/yy"
            }, options );
            
            this.datepicker({dateFormat: settings.dateFormat}) //Initiate the datepicker
                .attr("readonly",true) //Make the field itself readonly!
                .wrap('<div class="input-append" />') //wrap it in all a div 
                .after($('<button class="btn"><i class="icon icon-calendar" /></button>') //add a button after the field
                .click(function(){$(this).closest('.input-append').children().first().focus()})); //Bind a click even to it
        };    
    }( jQuery ));

    Now, you don't need to wrap the date fields in any HTML. You just specify rel="date" and call change the previous "on load" event to this:

    $(function() {
     $("input[rel='date']").datePicker2({dateFormat: "dd-M-yy"});
    });

    We're now using our own new jQuery plugin which does all the HTML markup for us.

    Here's the code for the plugin which takes it further and adds the dropdown of "1 month", "1 year" etc.

    (function( $ ) {
        $.fn.dateSelector = function(options){
            var settings = $.extend({
                dateFormat: "dd-M-yy"
            }, options );
    
            this.parent().children().last()
                .wrap($('<div class="btn-group" />'))
                .before('<button class="btn dropdown-toggle" style="border-radius:0 !important;" data-toggle="dropdown"><span class="caret"></span></button>')
                .before(
                        $('<ul class="dropdown-menu month-adder" role="menu"><li data-increment="1"><a>In One Month</a></li><li data-increment="3"><a>In 3 Months</a></li><li data-increment="6"><a>Within 6 Months</a></li><li data-increment="12"><a>In a year</a></li></ul>')
                        .on('click', 'li', function(){$(this).closest('.input-append').children().first().val(new Date((new Date().setMonth(new Date().getMonth()+$(this).data('increment')))).toUTCString().substring(5,16).replace(/ /g,"-"))})
                );
        };
    }( jQuery ));

     

    A Demo

    You can see it in use in this "fiddle".

    Taking it further Still

    It's far from perfect. For a start the JavaScript is messy and could do with being re-factored. But also, it would be nice to have options like "in 2 days", "in 3 weeks" etc. And to be able to specify different or additional options on a per-field basis.

    For now though, it'll do. Hope you like.

    Click here to post a response

    By clicking Submit, you agree to the developerWorks terms of use.

    The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

    All information submitted is secure.

    • Close [x]

    The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

    Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

    By clicking Submit, you agree to the developerWorks terms of use.

    All information submitted is secure.

    • Close [x]

    Lotus software | IBM collaboration and social software

    Technical resources for IBM collaboration and social software

    IBM Connect 2014: Register Now!

    Join us at IBM Connect 2014 to gain insights into how game-changing technology and strategies in social, mobile, cloud, smarter workforce, cognitive systems, smarter commerce and business analytics are propelling companies to competitive heights.  More >

    Tabs showing key topics and featured content for developerWorks Lotus.

    Show descriptions | Hide descriptions

    • Notice: Upcoming wiki and forum outage

      Wikis, forums and other applications hosted on www-10.lotus.com, www-12.lotus.com, and infolib.lotus.com are expected to be unavailable from 5:00 PM EDT (9:00 PM GMT) Friday, October 4th 2013 to 9:00 AM EDT (1:00 PM GMT) Monday, October 7th, 2013 due to maintenance work at our facility.

    • Social Business App Dev Virtual Event replay available

      With IBM Notes and Domino 9 Social Edition, IBM leads in integrating social capabilities into market-leading email and collaboration client. Learn how IBM did it, and how you can use OpenSocial standards to do the same for your applications.

    • IBM Redbooks: Installing and deploying IBM Connections

      IBM® Collaboration Solutions and IBM Redbooks® have partnered together to create this comprehensive guide on how to install and deploy IBM Connections. Topics cover the spectrum from planning to performance tuning, with chapters on high availability, metrics, customizing the user experience, and more.

    • Experience IBM Notes

      This single-page site is intended to drive user adoption of IBM Notes and enhance the total client experience. This effort was inspired by feedback from customers requesting materials to help promote Notes to end users.

    • New Release Of The IBM Social Business Toolkit SDK

      A new version of the IBM Social Business Toolkit is available on OpenNTF. The release features improvements to the Communities and Profiles Service APIs and improved exception handling and run-time error reporting.

    • IBM releases the new IBM Social Business Toolkit SDK as Open Source

      The IBM Social Business Toolkit SDK, now available on OpenNTF as Open Source, lets Web and Java developers easily access the IBM Social Platform, including IBM Connections and IBM SmartCloud for Social Business.

    • Learn about IBM iNotes Social Edition

      IBM iNotes Social Edition software is Web access to e-mail and collaboration. You can equip your employees with capabilities similar to those included in IBM Lotus Notes® client software, but delivered through a Web browser. Try this demo to learn more.

    • Using Reseller and Distributed Software in IBM SmartCloud for Social Business

      This article describes what Reseller is, how it works, and how to create a Distributed Software (DSW) order in IBM SmartCloud for Social Business.

    • Developing OpenSocial gadgets for IBM Connections 4.0

      This white paper explains how to develop gadgets for IBM Connections 4.0, primarily focusing on using the developer bootstrap page for quickly testing gadgets.

    • IBM Connections Mail

      IBM Connections Mail is a new, simple and compelling way to perform essential email and calendar tasks right from IBM Connections, your social software platform.

    • Experience IBM Connections

      Inspired by feedback from customers, Experience IBM Connections shows you the Top 4 ways that IBM Connections makes your job easier. In addition to providing an overview of IBM Connections benefits, the site highlights favorite tips and features from select IBMers and IBM Champions and includes resources to learn more.


    Download

    DownloadGet the no-charge download today!

    The premier Eclipse-based open development environment for the IBM Notes and Domino software platform.

    Utilize your existing development skills to build industry-standard Web and IBM Notes and Domino applications.

    Download now

    Experience

    Start here if you are new to XPages and IBM Domino Designer.

    Explore Domino Designer and XPages with this guide that will help get you up to speed quickly.

    Learn how to use the Lotus Expeditor Toolkit to build and test Java™ applications for IBM Notes.

    More...

    Connect

    Join IBM Domino developers around the world who are working on over 10 million IBM Notes applications.

    ·IBM Notes & Domino Application Development wiki
    ·XPages development forum
    ·XPages.info: THE home for XPages developers
    ·OpenNTF.org
    ·Planet Lotus

    More...


    Lotus downloads

    XPages & Composite apps

    XPages utilize JavaScript, Cascading Style Sheets (CSS) and HTML. Yet, deep programming skills are not required to build powerful, compelling Web and IBM Notes and Domino applications.

    Composite applications are a key element in a service-oriented architecture (SOA). They enable you to easily integrate different types of components and technologies to create contextual applications.

    More...

    Experience

    Start here to learn about XPages with links to overview content, videos, tutorials, and other content that will get you up to speed quickly.

    Watch this two-part video series demonstrating how you can use XPages components in an IBM Notes application.

    Discover the power and benefits of composite applications.

    Explore detailed examples, sample projects, and more in the IBM Composite Applications wiki.

    Connect

    Read the XPages blog to learn from a worldwide group of IBM Domino XPages experts.

    Listen to Pete Janzen, Senior Product manager for IBM Domino Designer, talk about the decision to offer a no-charge development license for Domino Designer.

    XPages demo app
    Sample composite app

    More...


    Download IBM Domino Designer

    Technical content for Lotus products

    IBM Redbooks in Lotus wikis

    • Lotus and IBM Redbooks® are developing high-quality Redbooks content using wiki technology. Below are some of IBM Redbooks developed and published in the Lotus product wikis. A complete list is available here.


    Forums

    Блиц-опрос
    Давай знакомиться. В каких отношениях с Lotus Notes?
    (голосование возможно только из письма рассылки)
  • Lotus Администратор
  • Lotus Программист
  • Lotus Пользователь
  • С Lotus Note не знаком
  • Хочу познакомиться с Lotus Notes/Domino
  • Источники знаний. Сайты с книгами


    "Красные книги" IBM

    Книги компании IBM по специализированным тематикам о Lotus Software. Основной язык - английский форматы pdf и html

    Книги компании "Интертраст"

    Для администраторов разработчиков и пользователей. Настройка и администрирование, разработка и программирование, пользование системой Lotus Notes
    Документация. YellowBook
    Оригинальная документация по продуктам Lotus Software. Язык англыйский. Форматы pdf html nsf
    IBM Пресс
    Книги от компании IBM. Книги и брошуры на заказ и на бесплатную скачку в формате pdf
    КУДИЦ-ПРЕСС
    Просмотр и заказ книг. Некоторые книги возможно скачать в формате pdf для свободно чтения и просмотра.
    Книги о Lotus Notes в Интернете
    Ссылки на книги и методички находящиеся в свободном пользовании. Ветки форумов обсуждения книг и материалов. Поисковый сервер по хелпам Lotus Notes книги от Google для свободного просмотра

    В избранное о Lotus Notes/Domino В подготовке выпуска использовались материалы и знания
    По вопросам спонсорства, публикации материалов, участия обращайтесь к ведущему рассылку LotusDomiNotes

    В избранное