NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - kashiash

Pages: [1] 2
1
The Rest - Ask For Help / how to refresh few browse controls after update
« on: October 03, 2013, 04:45:24 AM »
I have update form with few child browse controls. I have only edit posibility on one of them.
I want to refres all child browses when user insert new record to editable browse
how to do this ?

2
Web Server - Ask For Help / Edit page select another record - why?
« on: March 23, 2011, 03:02:32 AM »
I have table with insurance policy. When user enter on the form, there are RENEW button and i add new record to the same table. next user press Save button.
In Url on Save i wrote : 'FormKalkulacjeTAB?&WSK:IDWNIOSKU='& p_web.GetSessionValue('WznawianyWniosek')& '&Change_btn=Change&',
value in WznawianyWniosek is correct and contains new record ID.
URL on save looks like below
http://.../FormKalkulacjeTAB?&WSK:IDWNIOSKU=20110323103663277850xxx1xxx1xxx11000&Change_btn=Change&

but when FormKalkulacjeTAB is opened i getanother record in this form - with other ID then 20110323103663277850xxx1xxx1xxx11000
on this procedure there are no extra embed code  - just pure NTWS Edit Procedure

whats wrong ?

3
I have memory based form procedure, where user enetr few data values and have button next.
On button NEXT i want call my function :

WznawianyWniosek = myfunction(locparam1,locparam2)
 p_web.SetSessionValue('WznawianyWniosek,WznawianyWniosek')

This function return id record to be edited, and should open another for for edit record with calculated ID

URL should be look like below:

FormKalkulacjeTAB?&WSK:IDWNIOSKU='& p_web.GetSessionValue('WznawianyWniosek')& '&Change_btn=Change&

I put code as ServerCode for Next button, but where/how call next page with updated URL ?

4
i need to know parent name in form page
i try check vaulues on init form routine:
   p_web.GetSessionValue('_ParentProc')
   p_web.formsettings.parentpage
   p_web.GetValue('_ParentProc')

and every of above retur empty string  - why ?

5
Web Server - Ask For Help / problem with multi dll app
« on: May 23, 2010, 09:25:09 AM »
i'm trying to create multi dll app
when i try use one procedure from one app into second then the second displaying Unknow procedure label for each procedure in firs app even i dont want to use them in second app
i do something wrong  or this a "feature" of NTWS ?

i get the same error in example app - in attachment

[attachment deleted by admin]

6
Web Server - Ask For Help / why my form is not primed ?
« 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 ?

7
Web Server - Ask For Help / how to browse without column header ?
« on: May 21, 2010, 06:15:21 AM »
how to hide column headers on browse page ?

8
i have table displayed on browse with tagging, there are few items. On page this seems like:
  • check1
  • check2
  • check3

is possible to display them like :

check 1 | check 2 |check 3 ?

9
Web Server - Ask For Help / Hide/ Unhide tabs on form how?
« on: May 19, 2010, 09:40:20 PM »
i have few tabs on form with some conditions for display them
when user enter data on form i want to hide or unhide some tabs
how do this ?

10
Web Server - Ask For Help / how to refresh all controls ?
« on: May 19, 2010, 09:38:16 PM »
is possible to refresh all controls using few lines of code ?
something like thisWindows.Reset(true) in windows applications?

11
I have button with hyperlink to other page
in client side tab i check send value to server and exceute some code

when user press button link page is opened but code on server side is not executed
This happens in one of my app , when i try to other all is ok
is possible to disable somewhere in app settings server side actions on  button ?
what's wrong ?

12
in NTWS examples is example where i can make report to pdf (i use pdf xchange )
what i have to change to open pdf in separate window of web browser? (pdf is displayed embeded in web page)

13
i try to call update form like here:

'FormKalkulacjeTAB?<!-- Net:s:SID -->&Klk_IDKalkulacji='& p_web.GetSessionValue('Wyl:FkKalkulacja')& '&Change_btn=Change&'
in html source this looks like :
onclick="document.PokazKalkulacje_frm.action='FormKalkulacjeTAB?SessionID=1158396632&Klk_IDKalkulacji=1&Change_btn=Change&'

form is opened but i receive error:

record not found: (5) Error 0: from key Klk:KeyKalkulacja

record with idkalkulacji = 1 exist !
what i do wrong ?


14
Web Server - Ask For Help / utf-8 setup in NT 5.15
« on: May 10, 2010, 01:46:02 PM »
Bruce wrote:
Add: support for storing, and displaying utf-8 characters if site charset is 'utf-8' and .storeasdata = net:StoreAsUTF8
Add: support for storing data as ASCII, but displaying as utf-8 if site charset is utf-8 and storeasdata = net:StoreAsPolish

but where set storedata ?

15
Web Server - Ask For Help / problem with polish characters
« on: May 03, 2010, 02:12:42 PM »
on form when i use few polish characters when i select another control then these characters are replaced by other.
but this happens for specific chars in example when i wrote  jacuś placuś i get jacu[ placu[

in webserver window i see:

GET /updatetodo_tod__opis_value?event=1&value=jacu%C5%9B+placu%C5%9B&_rnd_=0.056571751832962036 HTTP/1.1
Host: 127.0.0.1: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://127.0.0.1:88/UpdateToDo
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
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=1860316766


but when i wrote:
jacuś placuś ą (there one more polish char)

than nothing change  - all is ok

GET /updatetodo_tod__opis_value?event=1&value=jacu%C5%9B+placu%C5%9B+%C4%85&_rnd_=0.30056362599134445 HTTP/1.1
Host: 127.0.0.1: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://127.0.0.1:88/UpdateToDo
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
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=1860316766

whats wrong ?

Pages: [1] 2