Vaadin TextFields in a Table empty/null value not propagated for required field
The best articles and links to interesting posts for technical team leaders building sophisticated websites, applications and mobile apps. Think about: software architecture, hardware architecture, design, programming, frameworks, scalability, performance, quality assurance, security, resolving issues, fixing bugs and Android.
Geplaatst door Techie op 1:28 PM 0 reacties
Labels: commit(), commited, empty value, required, setinvalidcommitted, table, vaadin, validation
Add to: Del.icio.us DZone Reddit Digg
Before MySQL version 5.6.4, MySQL does not support milliseconds (more precise: fractional seconds) in TIME, TIMESTAMP and DATETIME!
Geplaatst door Techie op 12:30 PM 3 reacties
Labels: @version, fractional seconds, migration, milliseconds, mysql, support, timestamp
Add to: Del.icio.us DZone Reddit Digg
Refactoring a package by giving it a new name can give quite annoying problems when trying to commit it from within Eclipse using the Subclipse plugin.
Geplaatst door Techie op 8:03 PM 0 reacties
Labels: conflicts, eclipse, merge, package, refactor, refactoring, rename, resolve, subclipse, svn, synchronize, tree conflict
Add to: Del.icio.us DZone Reddit Digg
In JPA you can annotate a field of an entity with @Version to specify that property as its optimistic lock value.
But the above documentation does not say when the version number is validated and updated (increased).
The short answer is: at commit time!
I came across this because I was having trouble passing on the updated version number back to the caller, after a merge() operation.
Geplaatst door Techie op 10:55 AM 0 reacties
Labels: @version, annotations, DAO, hibernate, jpa, spring, transactional, transactions strategies, transactions strategy
Add to: Del.icio.us DZone Reddit Digg
This post describes a short analysis and possible solution when getting the error java.lang.RuntimeException: A connector with id 7 is already registered!
Geplaatst door Techie op 9:52 AM 4 reacties
Labels: connector with id already registered, connectorid, error, scope, spring, sub window, sub-window, vaadin, vaadin spring add-on
Add to: Del.icio.us DZone Reddit Digg
Geplaatst door Techie op 2:02 PM 6 reacties
Labels: android, app-only, application-only, authentication, authorisation, authorization, code example, how to, integration, java, oauth, status update, timeline, tutorial, tweet, twitter, twitter api 1.1
Add to: Del.icio.us DZone Reddit Digg
Recently I had to investigate if it is possible to show other data than the X and Y value when hovering over a stacked bar graph in the Vaadin Charts add-on. And yes it is possible!
Nowhere I could find an example on how to do this, so that's why I wrote this blogpost. Hope it helps some people :)
Setup:
- Vaadin 7.0.1
- Charts add-on 1.0.1. In version 1.0.0 you can't set the color of the stacked bars using PlotOptions and ContainerDataSeries. This version has a fix for that.
- Note: I had to manually modify some labels of the hover in the screenshot since I can't use the real data used in the project. Same goes for the code, did not check if it still compiles. Let me know if something essential is missing :) Oh yeah and this is all demo-code so no quality complaints please....
Goal:
- Be able to add a custom field to the hover. And even better: be able to add an array to the hover tooltip.
Here's a screenshot of what the goal was. Click on it for a larger image:
|
|
|
|
|
|
|
|
|
|
Geplaatst door Techie op 6:20 PM 5 reacties
Labels: charts, custom properties, example code, hover, how to, howto, tooltip, vaadin, vaadin charts add-on, vaadin charts addon
Add to: Del.icio.us DZone Reddit Digg
Introduction
For a recent project I had to evaluate the Vaadin Charts and Timeline add-ons for their capabilities.
Setup
- Vaadin 7.0.1
- Vaadin Charts 1.0.0
- Vaadin Timeline which is included in Vaadin Charts since Vaadin 7.0
Requirements
- Be able to see data for 90 days, and the same data but then per week (same graph, just other view).
- Be able to click on a bar and perform some action like retrieving other data based on the selected bar.
- Customizable three code coloring stacked bars.
- Display more details when hovering over a bar.
Comparison
Geplaatst door Techie op 4:48 PM 0 reacties
Labels: charts, comparison, cons, java, javascript, lessons learned, pros, timeline, vaadin
Add to: Del.icio.us DZone Reddit Digg
Just got my new Dell Precision M4700 laptop in, which is the top model of their range for 15" screens.
My last laptop was also a Dell Precision, the M4400. Having looked around to see if there's another brand I'd rather take, I still came to the conclusion that a Dell seems to be the best fit for heavy development.
So online I ordered it, with changing the default low 4G or 8G RAM to a more reasonable 16G. That's the first place where I noticed they are really overcharging for the additional RAM: 200 euro (about 261 dollars) for having put in 16G of RAM, while if you buy it seperately it's only about 100 euro. But since I don't like messing around with a brand new laptop (mainly because of warranty) I decided to pay the extra.
Here's a list of pros and cons of the laptop after using it for a few weeks:
Pros
- The power plug is straight, so it fits better in a block of power plugs, see the image below:
Another quick post with some bullet points of lessons learned during my last Spring 3.0 project.
Tools used were:
Geplaatst door Techie op 5:35 PM 0 reacties
Labels: easymock, integration testing, itest, jbehave, jboss, lessons learned, rest, spring 3.0
Add to: Del.icio.us DZone Reddit Digg
Last year I funded one of the BERO robots via Kickstarter. And last week the matte finish black Basshead arrived! This is wat it finally looks like:
Quite a sturdy little robot, remote controllable via an Android and iOS app. Biggest challenge was to switch it on! In the supplied instructions it said to turn it on and off, but I just couldn't find the on/off switch! Almost sent out a question for this to the support, but then I found it! Below a picture, should you come across the same problem. And some Android app screenshots with which you can control the Bero: Splash screen Home screen Control screen to let Bero react (dance) to sound/music Eight programmable modules for its movement/lights/sound So, quite funky!