add function: problem with creating a new entity bean
posted 8 years ago
Hi all, I am trying to do the tutorial from Netbeans site that does CRUD via JPA using VW. This can be found at http://www.netbeans.org/kb/60/web/web-jpa-part2.html. Somehow my textfield ids are not being recognized in the add functionality,(userNameField, passwordField..). I followed the tutorial exactly, but I am not sure how these ids from the jsp be called in page1.java. Do I need to use getElementByID() or similar call to access the fields in order to pass them on to an entity bean?