NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: kashiash on May 23, 2010, 03:17:58 AM
-
I call update form from browse, press insert but my primed settings are not excuted
i try log and debug my form and i see my form during working time get 3 kinds of stages :
8192 - setting pictures
16385 = 16384 form init + insert record
65536 DIV stage
but as i see pre insert routine is only called for stage Net:InsertRecord + NET:WEB:StagePre
what i do wrong ?
-
Hi Jacek,
Tell me more about the architechture. Is the browse embedded on a page or Form?
Are you using the regular Insert button to insert?
Perhaps Cut & Paste here the POST from the Insert button as it appears in your log?
cheers
Bruce
-
this form is called in few ways also from browse or from child browse from another form with standard inset button and as form without browse
in all cases this behave the same ..but not as i expect
there post after insert button:
POST /UpdatePojazdyDAS HTTP/1.1
Host: jacekkosinski.com:88
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Referer: http://jacekkosinski.com:88/UpdateDAS
Content-Length: 406
Cache-Control: max-age=0
Origin: http://jacekkosinski.com:88
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: SESSIONID=972270418
FormState=MLFFGBWFFI&DAS__IdWariantu=1&DAS__DataZawarciaUbezp=&DAS__DataPoczUbezp=&DAS__DATAKONCUBEZP=&BrowseOsobyWnioskiDAS%3ANoForm=1&BrowseOsobyWnioskiDAS%3AFormName=UpdateDAS_frm&BrowsePojazdyDAS%3ANoForm=1&BrowsePojazdyDAS%3AFormName=UpdateDAS_frm&DAS__SumaUbezp=0.00&DAS__UWAGI=&DAS__ID=20100525081380229770xxx1xxx1xxx11000&DAS__IdWniosku=20100525081380229770xxx1xxx1xxx11000&pressedButton=insert_btn
if is called from no child browse:
POST /UpdatePojazdyDAS HTTP/1.1
Host: jacekkosinski.com:88
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Referer: http://jacekkosinski.com:88/BrowsePojazdyDAS
Content-Length: 24
Cache-Control: max-age=0
Origin: http://jacekkosinski.com:88
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: SESSIONID=130000418
pressedButton=insert_btn
and another form procedure with the same problem
POST /UpdateOsobyGAP HTTP/1.1
Host: jacekkosinski.com:88
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Referer: http://jacekkosinski.com:88/BrowseOsobyGAP
Content-Length: 24
Cache-Control: max-age=0
Origin: http://jacekkosinski.com:88
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: SESSIONID=130000418
pressedButton=insert_btn