Bobo

Code Snippets

 

Switch SOAP details logging for BW6

If you want to see SOAP requests and responses printed out in log files, simply update the node logback.xml by adding the following snippet:

    
    
        
    

Upload File with SmartGWT (LGPL)

Uploading file with SmartGWT is pretty simple - just use the build in DynamicForm component UploadItem. The problem comes in that moment when you need to obtain a notification from server that your upload finished successfully. There is no such an option (out-of-the-box) in LGPL version. There are two ways how to deal with it:

Default Locale in SmartGWT

Out-of-the-box SmartGWT provides all labels and context menus in English language. If you need to change the default language simply add the following line to the head section in the main html (or jsp) page:

 

Mathematics