On some system configurations, an error may be logged during startup when Jaxer tries to determine the location of the home folder. This may be caused by an invalid or erroneous setting for the HOME environment variable. Make sure that the HOME environment variable references a location that is both a valid folder and is accessible to the user running jaxer. This error can be ignored however further attempts to use the Jaxer.System.homeFolder property will result in the same exception appearing in the logs and the Jaxer.System.homeFolder value will be null.
Jaxer currently will not load images server side, this means canvas actions such as drawIimage will throw an exception. This is being tracked in ASAP ticket jxr-172
This has been addressed in Jaxer 0.9.6 and later.
To work around the issue.
use
db.execute("insert into user_roles (user_role_id,access_role_id) values(?,?)"
, db.defaultConnections[Jaxer.DB.DEVELOPER].lastInsertId,3);
Functions defined on the server that have their proxy property set to true (e.g. by being in a script block with runat="server-proxy", or by directly setting their proxy property) are automatically made available in the page served to the browser. The original function definitions are stored on the server for use during callbacks. So are any functions on the same page that they could have called: basically any functions that were not explicitly set to runat="server-nocache".
When you set an event handler server-side on a DOM element within HTML, e.g.
the DOM will have an onclick attribute with value "foo()" and that will be properly serialized back to HTML by Jaxer before it's sent to the client.
However, if you have server-side code that instruments or "scripts" the DOM, as in
the event handler is created but the DOM "onclick" attribute is not. (This is standard browser behavior.) Therefore, when Jaxer serializes the DOM for sending to the client, the checkbox DOM element will not have an onclick handler, and foo will not be called on the client.
To simplify using DOM scripting to instrument the DOM, e.g. to separate the code from the presentation, Jaxer provides a function that does so correctly both server-side and client-side: