Which version of dbforms are you using? In current build the lines you are mentioned 
are 

      if (!"true".equalsIgnoreCase(showAlways)
               && !(getParentForm().getFooterReached()
               && ResultSetVector.isNull(getParentForm().getResultSetVector())))
      {
         // 20030521 HKK: Bug fixing, thanks to Michael Slack! 
         return SKIP_BODY;
      }


Regards,
Henner


> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Dom�nec Sos i Vall�s
> Gesendet: Mittwoch, 10. Dezember 2003 13:01
> An: [EMAIL PROTECTED]
> Betreff: [dbforms] Possible bugfix for insert button not 
> displaying in subform, is it correct?
> 
> 
> Hello, yesterday I said that sometimes the insert button did 
> not display (when it was in a subform and there were rows)
> 
> I decided to take a look at the source code and in 
> org.dbforms.taglib.DbInsertButtonTag.java there's this
> 
>         if ( !"true".equalsIgnoreCase(showAlways) && 
> !(parentForm.getFooterReached() && 
> ResultSetVector.isEmptyOrNull(parentForm.getResultSetVector())) )
>         {
>             return EVAL_PAGE;
>         }
> 
> The offending (to me :-) code is 
>       ResultSetVector.isEmptyOrNull(parentForm.getResultSetVector())
> which as can be seen forces a return and prevents display of 
> the button when there are rows.
> 
> I simply commented it and customer_complaints.jsp displayed 
> always the insert button.
> 
> BUT! I suppose that it had some function, what am I missing, 
> oh, masters?
> 
> Dom�nec Sos i Vall�s       [EMAIL PROTECTED]
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign 
> up for IBM's Free Linux Tutorials.  Learn everything from the 
> bash shell to sys admin. Click now! 
> http://ads.osdn.com/?ad_id78&alloc_id371> &op=ick
> 
> _______________________________________________
> 
> DbForms Mailing List
> 
http://www.wap-force.net/dbforms



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
DbForms Mailing List

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

Reply via email to