-
Dynamic TableLayout in Android
Read more: Dynamic TableLayout in AndroidIn 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.
-
Setting MyBatis in Spring
Read more: Setting MyBatis in SpringMyBatis, 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.
-
Getting the list of users belonging to a role
Read more: Getting the list of users belonging to a roleLotus 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.
-
Placing the components of a LinearLayout
Read more: Placing the components of a LinearLayoutThe 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.
-
Getting the list of users belonging to a group
Read more: Getting the list of users belonging to a groupThere 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…
-
Opening a document in a dialog box
Read more: Opening a document in a dialog boxIf you want to open a document in a dialog box you can use two methods:
-
Debugging the Terminate event in a Form
Read more: Debugging the Terminate event in a FormI 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.
-
Hiding a rich text field
Read more: Hiding a rich text fieldHiding 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.…
-
Sending an e-mail from an other user
Read more: Sending an e-mail from an other userIf 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…
-
The method getDocumentByUNID in NotesDatabase class
Read more: The method getDocumentByUNID in NotesDatabase classThe 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…
