Luca Zanini
  • Home
    • Astronomy
    • Android
    • Java
    • Lotus
  • About me
  • Dynamic TableLayout in Android

    Apr 22, 2012

    —

    by

    Luca Zanini
    in Android

    In this post I explain how to implement in runtime a table with rows and columns without using a XML file. To display the borders of the TextView I use the method illustrated here.

    Read more: Dynamic TableLayout in Android

  • Setting MyBatis in Spring

    Apr 17, 2012

    —

    by

    Luca Zanini
    in Java

    MyBatis, a free software distributed under the Apache License 2.0, helps to connect Spring with relational databases using XML or annotations.Here’s a simple example loading a jsp page to display data from a mysql table.

    Read more: Setting MyBatis in Spring

  • Getting the list of users belonging to a role

    Apr 4, 2012

    —

    by

    Luca Zanini
    in Lotus

    Lotus provides the method QueryAccessRoles of the NotesDatabase class to get the roles of a user and there are no methods to get users belonging to a role, but you can get them by combining IsRoleEnabled of the NotesACLEntry class with the function getUsersByGroup that I wrote in a previous article.

    Read more: Getting the list of users belonging to a role

  • Placing the components of a LinearLayout

    Apr 1, 2012

    —

    by

    Luca Zanini
    in Android

    The purpose of layout is to arrange the various components within itself according to a particular scheme and the LinearLayout is the simplest of layout which is proposed by default when you create an Android project.

    Read more: Placing the components of a LinearLayout

  • Getting the list of users belonging to a group

    Mar 26, 2012

    —

    by

    Luca Zanini
    in Lotus

    There is not a method in lotusccript to get the list of all users belonging to a group, and to complicate matters, groups can contain other groups as members. To solve this problem I wrote getUsersByGroup function that returns the list of users belonging to a group, provided that: the public names.nsf is accessible users…

    Read more: Getting the list of users belonging to a group

  • Opening a document in a dialog box

    Mar 14, 2012

    —

    by

    Luca Zanini
    in Lotus

    If you want to open a document in a dialog box you can use two methods:

    Read more: Opening a document in a dialog box

  • Debugging the Terminate event in a Form

    Mar 5, 2012

    —

    by

    Luca Zanini
    in Lotus

    I discovered that you can not debug the Terminate event of a form with Lotus Notes Designer 8.5.3 and I do not understand why. I’m sure that once you could.

    Read more: Debugging the Terminate event in a Form

  • Hiding a rich text field

    Mar 4, 2012

    —

    by

    Luca Zanini
    in Lotus

    Hiding a rich text field with a formula “Hide paragraph if formula is true” does not work as with other fields. In fact the contents of rich text field can retain the same property “Hide paragraph if formula is true” when it is saved even if this property was modified with a notes client designer.…

    Read more: Hiding a rich text field

  • Sending an e-mail from an other user

    Feb 27, 2012

    —

    by

    Luca Zanini
    in Lotus

    If a user sends an e-mail using an agent, he seems to be the sender or the agent signer seems to be the sender if the agent is scheduled. This is not always the desired behavior, especially in the case of scheduled agents in which the sender of the e-mail seems to be the developer…

    Read more: Sending an e-mail from an other user

  • The method getDocumentByUNID in NotesDatabase class

    Feb 20, 2012

    —

    by

    Luca Zanini
    in Lotus

    The method getDocumentByUNID NotesDatabase class returns the appropriate document for the UniversalUnid passed as argument, but it does not return Nothing if it does not find the document but the error 4091 (lsERR_NOTES_BAD_UNID). Then a code to handle this would be the following: Dim s As New NotesSession Dim db As NotesDatabase Dim doc As…

    Read more: The method getDocumentByUNID in NotesDatabase class

←Previous Page Next Page→
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.