Dear All,
I have a very strange problem defining in dbforms-config.xml
 this table (in the database this is a view).


        <table name="www_stud_wo_grades" defaultVisibleFields="studentcode,
student_name, courseyear, id_term, term, classcode">
                <field name="studentcode" fieldType="varchar" size="5"/>
                <field name="student_name" fieldType="varchar" size="60"/>
                <field name="courseyear" fieldType="int"/>
                <field name="id_term" fieldType="varchar" size="12"/>
                <field name="term" fieldType="varchar" size="10"/>
                <field name="classcode" fieldType="varchar" size="10"/>

                        <granted-privileges insert="uwcad_amm"
update="uwcad_amm"
delete="uwcad_amm"/>
        </table>

When I run the JSP with the correct table name I have this error:


-----------------------------------
java.lang.NullPointerException
        at org.dbforms.taglib.DbFormTag.setTableName(DbFormTag.java:296)
        at
org.apache.jsp.business_objects.grades_notyet_entered.student_grades_notyet_entered_dec_jsp._jspService(student_grades_notyet_entered_dec_jsp.java:116)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
------------------------------------
I tried to trace the error without results....

any idea?

My dbforms-config file is about 28KB, is there a limit on the size of this
file?

Many thanx
ivan




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
DbForms Mailing List

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

Reply via email to