Archive for November, 2011
strange security behaviour
Nov 30th
Dear community,
I’m writing this because I am facing a serious issue in OBI 11g (11.1.1.5) and I can’t seem to pinpoint the exact problem. I hope you can share your thoughts with me in order to come up with a solution. The situation is as follows: There seems to be a mismatch between the Application Roles assigned to a user and the way they are translated onto the ACL’s in the webcatalog. I use Weblogic’s default Authenticator. Users sit in a group and for every group, there is a corresponding Application Role.
For instance: More >
Grails Goodness: Get GrailsApplication and ApplicationContext in GSP
Nov 28th
Several variables are injected to Groovy Server Pages (GSP) in a Grails application. Two of them are the ApplicationContext and GrailsApplication objects. They are bound to the variables applicationContext and grailsApplication.
Grails Goodness: Access Action and Controller Name in GSP
Nov 25th
In our GSP views we can see the name of the action and controller that resulted in the view. We can use this for example to show or hide certain information based on the values for the action and controller name. Grails injects the variables actionName and controllerName automatically and sets the values based on the action and controller.
Installation SCVMM 2012 RC fails
Nov 24th
When you’re trying to install System Center Virtual Machine Manager 2012 (SCVMM 2012) Release Candidate (RC), the installation ‘SetupVM’ may crash as soon as it’s “checking for required prerequisites hardware and software”. In your eventlog the following event appears: Source: Windows Error Reporting Event ID: 1001 Level: Information Description: Fault bucket 2452815883, type 5 Event [...]
Groovy Goodness: Magic Package to Add Custom MetaClass
Nov 23rd
Groovy is very dynamic. We can add methods to classes at runtime that don’t exist at compile time. We can add our own custom MetaClass at startup time of our application if we follow the magic package naming convention. The naming convention is groovy.runtime.metaclass.[package].[class]MetaClass. For example if we want to change the behavior of the java.lang.String class, then we must write a custom MetaClass with the package name groovy.runtime.metaclass.java.lang and class name StringMetaClass. We can do the same for classes we create ourselves. For example if we have a class myapp.RunApp than the custom metaclass implementation RunAppMetaClass would be in package groovy.runtime.metaclass.myapp.
Speaking on SharePoint Connections in Amsterdam
Nov 18th
I’m happy to announce that I will be doing a session on SharePoint Connections 2011 in Amsterdam next Wednesday the 23th of November together with my collegae Donald Hessing. We will be doing the same session that we did on the European SharePoint Conference in Berlin last October.
Groovy Goodness: Create Simple Builders with Closures
Nov 17th
In Groovy we can use pre-defined builders like the JsonBuilder or MarkupBuilder to create data or text structures. It is very easy to create our own builder simply with closures. A node in the builder is simply a method and we can use a closure as the argument of the method to create a new level in the builder hierarchy.
Groovy Goodness: Create Our Own Script Class
Nov 17th
Groovy is a great language to write DSL implementations. The Groovy syntax allows for example to leave out parenthesis or semi colons, which results in better readable DSL (which is actually Groovy code).
Groovy Goodness: Create Our Own Script Class
Nov 17th
Groovy is a great language to write DSL implementations. The Groovy syntax allows for example to leave out parenthesis or semi colons, which results in better readable DSL (which is actually Groovy code).
SQL Azure Databases
Nov 14th
When I do sessions on Windows Azure, then SQL Azure is always part of that. Most of the time remarks about the maximum sizes of SQL Azure database come from the audience. More >