Friday, August 8, 2014

Lesson 4 : Angular JS - Browser Compatibility

Hi All,

* As per my view(not sure if it have problem with other browsers), Angular is working fine with all browers except Internet Explorer.

* I made it that Angular is working fine from IE 8+, but i faced that Angualr JS is not working  from IE6, and IE7.

To make Angular JS works at IE6, and IE7, I refered some websites, and i came to know that couple of changes required in the HTML5 tags lke,

    Other browsers:  The syntax is
<body ng-app="MaheshApp">
<div ng-view></div>
<div ng-click></div>

While writing the code for IE 6 and 7 + otherbrowsers:  The syntax should be
        <body id="ng-app" ng-app="MaheshApp">
<div class="ng-view"></div>
<div href="#" ng-click=""></div>


Still i am doing R&D for other directives, but not yet i succeded, if i found any will update the details here

I came to know that Angular.JS 1.3 has some problem with IE8..Will let you know what is it

Friday, August 1, 2014

Lesson 2 : Features of Angular JS

* Before going to the develop the code, please try to understand like Model, View ,    
  Controller, Directives, scope, Services. People who are aware about Knockout,    
  Backbone, and node.js, it is very easy to learn and develop the code.

Key points: 
Model : It is a Javascript Object

View : It is the HTML, and suited for UI design. It is based on DOM Objects

Controller : Its responsible to construct MODEL (Javascript object), and Connect it to view (HTML, UI Design)

Directives : It indicates a postion for DOM elements (like, attributes , CSS, name of the element) that tell AngularJS's HTML compiler ($compile) to attach a specified behavior to that DOM element. 

Let me explain in detail, Directives can be attributes, tags or even class names. here <div mahesh></div>. I have added new attribute called Mahesh, This is called directive,we can change the behaviour of particular div adding/changing the custom attribute .

Scope : The job of the Scope is to detect changes to model objects.

Lesson 3 : Basic Example - Angular JS

Refer the below HTML, there is a keyword ng-app.

What is ng-app?
  * ng-app is a directive that informs to Angular that <HTML> or<div> tag is the root(or owner) of this    
     entire document.
  * if you want to enable Angular only at specific location in your webpage then you can define ng-app
     attribute to any DIV or other tag.
      **example <div ng-app"=""></div>, here Angular will applicable for only particula div tag not for entire
     document.

Why is ng?
 * ng stands Angular.
 * Whenever if you seen any attribites starts with ng, that means they have used Angular.

Syntax
<body ng-app = "bodyApp"></body>
<html ng-app = "htmlApp"></html>
<div ng-app = "divApp"></div>

you can include ng-app with any tags,if you are not include angular will not work.
Angular will start automatically once page loads, but sometimes we have to load the particilar div using angular by manually, there we have to use JS like
angular.bootstrap();

Note : Whenever page loads, angular Js loads automatically.

HTML Strucure

<html ng-app="">
<body>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js"></script>

</body>
</html>

Friday, July 25, 2014

Lesson 1: Basic: What and Why Angular Js?

Hi All, I would like to share my learnings about Angular JS. Today i am explaining about What is Angular JS?and why Angular JS?

What is Angular JS?
*A client-side JavaScript Framework for adding interactivity to HTML
* It is a open-source web application, maintained by Google and community.
* It is a SuperHeroic MVW framework (MVW Stands for MODEL VIEW Whatever).
* It assists to create a Single page web applications using HTML, CSS, and Javascript (client or Browser side).

* It goal is to augment web applications with model–view–controller (MVC) capability.

Wednesday, June 26, 2013

Option for prevent forwarding , and copying the email content from Lotus notes emails.

Hi All,

This is to inform you that, we have an option to prevent forwarding , and copying the email content from Lotus notes emails.

I used this scenario while developing customized mail-in applications. We have memo form, and we have to disable these forward and copy options. In form properties, there is an tab called "Security", that contains option called "Disable printing/forwarding/copying in to clipboard" that option we have to enable.

This option will prevent forwarding,and copying the content from emails.


Thursday, June 13, 2013

XML Error In Lotus notes : XML Page cannot be displayed

Hi All,

Issue :

Recently, we have faced an XML error called "Whitespace is not allowed at this location. Error processing resource "Notes link"

<Title> India & US </Title>

Analysis:

I have found that, Title name contains "&" character in the above xml format, that is the reason the XML is not working and throwing this error.

Solution:

1. We have to handle the "&",character, the title name is coming from Notes field. So we have handle the character using below code 2 lines of code
x
1. titlename= Evaluate("@ReplaceSubstring(Titlename; ""&""; ""&amp;"")", doc)
2.  Print |<Title>| & titlename(0) & |</Title>|

8.5.3 Notes client crashes while replying to a particular email

Hi All,

Issue:
Recently, we have faced an issue , whenever user trying to reply to a particular email, Notes client crashed.

Analysis:

User is using Notes client 8.5.3 FP2. He tried to reply to an email sent by Mail-in database. But Notes client crashed.

Solution:

We have tried to sent a couple of email from Mail-in database to Inbox who having Notes client version 8.5.2 FP2 and 8.5.3 FP3 and confirmed that we are able to reply it without any Notes crash.

We have noticed , IBM has provide the link about this issue and they mentioned the below solution

  1. Upgrade/Downgrade the Notes client version from 8.5.3 FP2
  2. Delete the message from the body part from original email and type the details and reply it