Dear All,
I'm working to create dbforms with a clear separation between presentation and
logic. To do so I would JSTL for the presentation layer inside the dbform...
then a java class to extract the scripting from the JSP. I would "include" that
class in the page encapsulating it in a bean.

Now I'm creating an example based on bookstore where I've added 3 tables
CUSTOMERS, LIBRARY (the libraries) and CUSTOMER_LIBRARY that is a n-m relation.

I have a problem to access via JSTL to the properties of the currentRow to
extract the current value of the fields.
I put here the code of my JSP for a simple jdbform page where I try to access to
the currentRow_CUSTOMER.CUSTOMER_ID property from JSTL and with the "classic"
currentRow_CUSTOMER.get("CUSTOMER_ID").

My JSTL access returns a value for the CUSTOMER_ID that equals to
currentRow_CUSTOMER.get("CUSTOMER_ID") + 1!!!

Of course the method I'm using to access to the properties of the currentRow via
JSTL are not correct...

In this example I use a java class (the bean backcolor) only to create an
alternate "color" table for the different records of the table...

Could you have a check?
I put the code in the next post with the prefix CODE: <subject> because
previously I had problems to send this post.

Many thanx.
Ivan

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
DbForms Mailing List

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

Reply via email to