Flex: TextArea line break problem
Recently I needed to fix a bug where a mx:TextArea was always dirty. The reason was a text with line breaks like:
Recently I needed to fix a bug where a mx:TextArea was always dirty. The reason was a text with line breaks like:
Controllers in Spring MVC are designed to be shared between requests. Each controller has a default singleton scope so if you are using controllers you need to be aware of that. The easiest way to make sure your controller is thread-safe is to avoid class variables. F.ex. this example from Spring MVC tutorial:
Extract the sources to some folder, open the command prompt and go to that directory.
To see the SQL that your application sends to the database during the execution, insert the following property in your XML property file:
If you’ve upgraded Perl on your Gentoo box to 5.12, and tries to reemerge ImageMagick, you might get this error:
I’ve come around a problem when I needed to format DateMidnight date in JSP. Here I’ll explain 2 ways of doing this, where the other one applies only to joda.
When I get this error, it’s always because I’ve opened the debugging process in Process Explorer.
If you need to update a column in a table than you can use different approaches:
This little macro prints out user warnings to the output window in a format the “Error List” within Visual Studio will understand and parse. Taken from Stack Overflow and modified a little.
If you’re on a system as a user and with no means of installing custom libraries or updating libraries for your custom program, you can load your own libraries with this simple command.