Hi all,
 
A lot of the button tags of dbforms contain following code
within method doStartTag:

        if (parentForm.getFooterReached() && 
            ResultSetVector.isEmptyOrNull(parentForm.getResultSetVector()))
        {
            return EVAL_PAGE;
        }

If the tag is located within the footer of a form that has an
empty result set, the button is not shown.

That makes sense for navigational buttons (how navigate within an
empty set?) or the updateButton (no row there to update). 

But the code is also within NavNewButton with effect that you 
can insert a new row only if there are already rows. I think that makes
no sense and would suggest to delete this condition. 

However, what I do not understand is: why is the condition there
and why wasn't that a problem before? What do I miss? 

Regards

Dirk


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

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

Reply via email to