Same thing happens without localevent.

Here is something else that is curious:
- Say I'm navigating through the main form, and I stop at a case where I
have 5 rows in the subform (maxrows=15 for subform)
- Without localWebEvent="navNew": On the subform I execute navNextButton
and I can only see the first row. I execute NavPrevButton, and I can see
all rows.
- With    localWebEvent="navNew": On the subform I execute navNextButton
and I can only see the first row. I execute NavPrevButton, and I can
only see the previous rows. 
- To get all rows back from the previous case, I have to execute on the
main form navNextButton and then NavPrevButton. It's as if they were
refreshed or something.
- This anomaly occurs on any of my forms. Even those that work correct
upon insert.

BTW...Now I'm using org.dbforms.event.datalist navigation. 


Julio

-----Original Message-----
From: Henner Kollmann [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2003 4:32 PM
To: 'Julio Ortuzar O.'
Cc: [EMAIL PROTECTED]
Subject: AW: [dbforms] Weird problem with navNew/Insert & rows displayed


Hi,

What's with the localWebevent? What's happens if you remove it?

Regards,
Henner

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Julio Ortuzar O.
> Gesendet: Dienstag, 27. Mai 2003 22:11
> An: [EMAIL PROTECTED]
> Betreff: [dbforms] Weird problem with navNew/Insert & rows displayed
> 
> 
> Hi, hope somebody can give me some hints here!
> 
> Problem:
> - I have a form with nested form.
> - I have nested dbfrom tag defined as follows:
> 
>   <db:dbform tableName="tbl_product_item_var"  maxRows="15"
> parentField="product_item_id" 
>   childField="product_item_id" 
> followUp="/frm_product_items.jsp" autoUpdate="false" 
> localWebEvent="navNew">
> 
> - The followUp is the original form (it calls itself).
> - On nested form I add new row with navNewButton
> - When I commit data (insertButton) I get back only 1 row;
> the one I just inserted. I expect to see all the rows of the 
> subform until a max of 15 (as specified by maxRows).
> - I put a isWebEvent trace on the body tag and I only get one 
> instance of event="insert"
> 
> The weird thing is that I have another form with almost
> exactly the same definition, and after I insert data I get 
> all of the rows that belong to the nested form??? The 
> isWebEvent trace on the body tag throws as many 
> event="insert" trace lines as rows are displayed.
> 
> By the way, same thing happens with ver 1.3 & 1.4dev.
> 
> THANKS!!!
> 
> Julio Ortúzar
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application
> fit in a relational database is painful, don't do it! Check 
> out ObjectStore. Now part of Progress Software. 
http://www.objectstore.net/sourceforge
_______________________________________________
DbForms Mailing List

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





-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
DbForms Mailing List

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

Reply via email to