Monday, August 8, 2011

Looking at a decision from all points of view

I was surfing through net with a feeling of de-motivation, discouragement and all kind of nonsenses, why I don't have an answer, may be related to weather, work and so and so etc...

Weather is unpredictable here, night it may/may not rain (like weather forecasting station prediction) days are sunny. Traveling gives me a tired feeling all the time... ,may be because of that. Then suddenly I realized may be because of burndown, I tried thinking about "decision's" and read an article from mindtools,

This tool was created by Edward de Bono in his book '6 Thinking Hats'.

The HATS are (interesting topics, if you understand this...)
  • White Hat
  • Red Hat
  • Black Hat
  • Yellow Hat
  • Green Hat and
  • Blue Hat,

If you want to read more read the article

A verse for you!

I found this Bible verse using 'Wise Proverbs' for Android phones!

"Value of righteousness":

2 Treasures gained by wickedness do not profit, but righteousness delivers from death.  (Proverbs 10 : 2 - ESV)

Find out more:
http://www.roboticode.co.uk

Friday, August 5, 2011

Kind words, even in adversity

I found this Bible verse using 'Wise Proverbs' for Android

"Kind words, even in adversity":

24 Gracious words are like a honeycomb, sweetness to the soul and health to the body.  (Proverbs 16 : 24 - ESV)

Wednesday, August 3, 2011

Lotus Notes Error #03:F3

I am seeing this error for the first time in Lotus Notes, Do any one have clues.. I gues the problem is "Thread Pools: Not Enabled". The problem happened when I replicated 2L documents to the server and it says " Lotus Notes Exception - Insufficient disk space"

Monday, August 1, 2011

Saidapet blocked due to protest

There was a protest happened in saidapet and many people were there, police man as well.
Policewas there from the morning itself from 7.45 atleast. The protestants was there aroind 9- 10. All removed by police, but that time traffic got hit at mount road. I was travelling and it was affected but not that badly. Surely for 1 hr it hits bad. Now and it is okay to say, but most pf the people were late to office.

Sunday, July 31, 2011

QuipIM


QuipIM review.
Good connectivity.
Response time is also good.
Clear and fast.
This is my first week usage comment, will be post more comments soon

Friday, July 29, 2011

Why need to blame others

For our own mistakes we used to blame others, to escape from the facts, why need to do that, my conclusion is  to get a good face in front of people, because that is why I also practice, lets try to change that.

Thursday, July 28, 2011

Talk.. Talk.. Talk

It doesn't matter you know or not know, simply talk about the idea. Sometimes it make sense sometime not. But you can convince your manager. That is happening, Some people are gifted with this way of talking. I don't know what it is called.....

Friday, January 29, 2010

Show Single Category (double Category) Lookup in Xpages Views

If we need to do a show single categories in XPages it is easy to do. The "CategoryFilter" in the data session will help to do that. But to make a double filter we need to do a little tweek with Search.

Single category(Category Filter) in Xpages:
  • Create a view with first column "sorted"(let me call the view as "xview")
  • Create an Xpage

  • Create a combo box in the Xpage and write the code to get the value of 1st column of the created view(xview)
  • Create a view control and map the newly created view (xview)
  • Neglect the 1st column in the displaying of view, since we don't need that.
  • Select the "CategoryFilter" Property and give the code "sessionScope.get("urchoice");" //This line of code is getting the value of the session scope variable and set the views property inorder to show the Single Category value from view.


  • Now write the code in the "combobox" in the onclick / on change and code the script "sessionScope.set("urchoice",getComponent("comboBox1").getValue()); //This line will get the selected value of the combobox and set in the sessionscope variable.
  • Now run the Xpages and see the "ShowSingleCategory" in the Xpages.

How can we create a Double Category that means filtering the view with Two Field values:


  • Remember to  index the database first
  • Create a view with first and second column "sorted"(let me call the view as "xview")
  • Create an Xpage
  • Create two combo box(s) in the Xpage and write the code to get the value of 1st column in the first combobox and 2nd in the second combobox of the created view(xview)
  • Create a view control and map the newly created view (xview)
  • Neglect the 1st 2 columns in displaying of view, since we don't need that.
  • Now create a Button in the Xpage called "Go" or "Submit", change the Button type to "Submit" (from properties)
  • Tie up the combobox value with the session scope and give the variable name (need to do for both combobox)


  • Select the view and select the "Search" (from properties) and write the code to get the correct documents in the view

This is a workaround for the double Filtering in the Xpage. This is a solution for the search also in Xpages.

Best way to handle ?ReadViewEntries for Lookup

?ReadViewEntries allows a view to be represented purely as XML.
Think about the a view contain more that 10k documents, it will be difficult to get the return value in for the use of Ajax DbLookup. This will sometime return you only specific values not all the values as you expect if you give the "count" parameter as well. As a work around rather than using the &Count parameters use, get the value you need to lookup and pass "&StartKey=valuetolookup&StartType=text", this will result you a faster search with only needed value(s).

The other optional parameters for the ?ReadViewEntries are

Collapse=n

CollapseView

Count=n

Expand=n

ExpandView

KeyType=text|time

ResortAscending=column number

ResortDecending=column number

RestrictToCategory=category

Start=n

StartKey=string

UntilKey=string