Tuesday, February 22, 2011

Novell RBPM Best Engine Settings

Ok so I've been trying some of the settings for the workflow engine and found that these seem to work the best for us:

What I have however found is with about 5000 workflow requests the system does seem to choke a bit. I would recommend giving some good spec server to the server where you are going to run the workflow engine and assign another server as the 'front-end' server. This way the user experience should not be affected.

Tuesday, February 1, 2011

Getting JSON and JQuery .getJSON to work in IE8

To no surprise my code that was working 100% in FF died a horrible death in IE8.

Here's what I had to do to get it to work.

1) Set Header to:
response.setContentType("text/javascript; charset=UTF-8");   
Source: http://stackoverflow.com/questions/3517608/why-isnt-this-simple-bit-of-jquery-getjson-working-in-ie8

2) Prevent I8 from caching my Ajax requests:
$.ajaxSetup({ cache: false });
   function(data) {
     // do stuff with callback data
     $.ajaxSetup({ cache: true });
Source: http://stackoverflow.com/questions/264216/getjson-returning-cached-data-in-ie8
3) Add JSON support to IE8
Basically just include json2.js in my script. 
Source: http://www.json.org/ 
Don't we all just 'love' IE