are you  sure that the id field is in the fieldvalues?
In this list are only the values that are rereaded from the html request
so itīs bette  to check if field is in the list before using it

cheers
Henner

In many webapplication, the authentication of visitors is important. Usually
this happens with username / password. 

Does jdbforms (which is a framework/toolkit for webapplications) this work
for me (validating of the username / password which are stored in a
database), or do i have to code my own beans?

I found in the documentation the chapter 12, Security. But i have many
questions about it. Is there an example available or a detailed explanation
what i have to to step by step?

________________________________

Another problem i have is a NullPointer-Exception in one of my
self-programed interceptors. My Interceptor works correct (tested already),
except this row:

String id = fieldValues.get("id").getFieldValue(); //NullPointer-Exception!

in this context:

public void postDelete(HttpServletRequest request, Table table, FieldValues
fieldValues,
DbFormsConfig config, Connection con) throws ValidationException {
  String id = fieldValues.get("id").getFieldValue();
  deleteResults(id);
}

The field value "id" exists in the affacted table. Does anybody know what's
the problem here?

Thanks for your answers!

Michael Lutz



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to