Fixed issue where data was not being sent due to JavaBean was not set up correctly