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.


Messages - GFasolt

Pages: 1 [2]
16
Web Server - Ask For Help / Drop height in Firefox
« on: February 18, 2010, 11:27:32 AM »
In Firefox, my drop fields are displaying at a different height than string fields. Okay in in IE.

Any solutions?

Screen cap attached.



[attachment deleted by admin]

17
Hi Stu,

Thanks for your reply. I do have the first one checked, and no doubt that is why I'm getting the empty record.

Currently I have a many to many browse on the form, for which I need the identity from the parent. I'll try moving that child off of the form so I can eliminate the need for the identity.

Thanks for switching on that light bulb.

18
It appears that when a user cancels an insertion that the incomplete Auto Inc record is left in the table. Of course, this results in an error the next time an insertion is attempted.

Must I attend to this record myself or is there perhaps a template setting that I've overlooked?

19
Web Server - Ask For Help / Re: Drop fields - Two questions
« on: January 26, 2010, 09:00:32 PM »
Hi Bruce,

Thanks for your reply. I spent quite a bit of time with example 31, but not lights came on for me (BTW, the example was saved in local mode and so initially caused a small explosion of compiler errors).

As requested, I have created a demo app, which I'll send to the support address at Capesoft since it includes some real data.

As to what I'm doing being unusual, I don't think so; rather, I've probably not explained myself well.

1) First tab in my form example has a simple drop used to select the MemberType, where the relationship is Members <>> MemberType. This is still troublesome.

2 The second tab includes a browse displaying an alias for Members that is linked to the current Member by a many-to many linking table. The update for this uses a drop with a link table with which I am haveing trouble.

In both cases, the value displayed is a STRING field, but the linking fields are LONGs

20
Web Server - Ask For Help / Drop fields - Two questions
« on: January 26, 2010, 09:32:09 AM »
I have several NetWebForm procedures with drop fields that look up values form other files. In all cases the child table is related to the parent by an ID (i.e., MEM:MemberID LONG), with relations defined in the dictionary), not the displayed value (i.e., MEM:Name STRING(30)). Two questions:

1) NetTalk does not appear to update the parent record with the ID from the child after making a selection from the drop list. How do I handle this?

2) When opening the NetWebForm, the look up fields contain the wrong values unless I load the correct record soon after the CODE statement. Is this normal or am I doing something wrong?

21
Hi Bruce,

Thanks for your reply.

The case was correct in my code, soory about the link.

The error was definitely in the 300 range.

I tested with the demo and no problems. Upon returning to my app - as of my most recent testing with no changes in the area involved - there is no error at all.

I have no explanation so I'll just keep my eyes open.

Greg

22
Using NetWebClient to get a small file file from a server (http://proentry4.com/web/PROENTRY4.wud). This is causing consistent crashes, which have led me to NetXxx.clw.

In NetWebClient._CallPageReceived:
loc:tempLen = Len(Clip(self._LastURLRequested))
where loc:tempLen is set to 0

Next
if self._LastURLRequested[loc:tempLen] = '/'...

Obviously 0 is a problem here.

What might I be doing wrong to cause this?

Generated source file attached
CW 6.3.9056 ABC
NetTalk 4.32.12

[attachment deleted by admin]

23
Web Server - Ask For Help / Re: SOAP Server: Empty xmlString string
« on: December 01, 2008, 04:17:49 PM »
Thanks, Bruce!

This was just what I was looking for. If it's in the docs, I didn't find it. If not, maybe it should be?

Greg

24
Web Server - Ask For Help / Re: SOAP Server: Empty xmlString string
« on: November 26, 2008, 04:24:21 AM »
I've tried p_web.GetValue('Role') but it returned an empty string.

Code: [Select]
POST /GetInfo HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: 127.0.0.1:88
Content-Length: 305
Pragma: No-Cache
Cache-Control: No-Cache
Connection: Keep-Alive
SOAPAction: "http://127.0.0.1:88/GetInfo"

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GetInfo/"><Role>Student</Role><Number>2</Number></GetInfo></soap:Body></soap:Envelope>

BTW, I have searched the docs for GetValue() several times but just am not finding anything helpful.

Also, how can I obtain the entire request string?

25
Web Server - Ask For Help / SOAP Server: Empty xmlString string
« on: November 25, 2008, 10:54:19 AM »
Using xFiles-less web42 example, my GetInfo() procedure begins as in the code below. The MESSAGE() function shows the xmlString to be empty. It appears I've omitted something. Suggestions?

Code: [Select]
  CODE
  GlobalErrors.SetProcedureName('GetInfo')
  do OpenFiles
  p_web.SetValue('_parentPage','GetInfo')
  p_web.publicpage = 1
  if p_web.sessionId = 0 then p_web.NewSession().
  do Header

  xmlString        = p_web.GetValue('xml')
  xmlLength        = LEN(CLIP(xmlString))

  MESSAGE('xmlString:|' & CLIP(xmlString), 'GetInfo')

26
Web Server - Ask For Help / Re: SOAPServer example without xFiles
« on: November 25, 2008, 10:12:29 AM »
It's usually something simple, but this is embarassing.

Thanks!

27
Web Server - Ask For Help / Re: SOAPServer example without xFiles
« on: November 25, 2008, 04:35:49 AM »
Hi Bruce,

No luck; thanks.

As suggested, I've attached the SOAP server .app file.

Greg

[attachment deleted by admin]

28
Web Server - Ask For Help / Re: SOAPServer example without xFiles
« on: November 22, 2008, 05:58:54 AM »
Graham,

Unfortunately it is unchecked, but thanks for offering the suggestion.

Greg

29
Web Server - Ask For Help / Re: SOAPServer example without xFiles
« on: November 21, 2008, 05:37:17 AM »
Hi Bruce,

Thanks for your reply.

The GetInfo procedure is the NetWebPage from the example, it's just not being called.

I backed up to the WebHandler procedure and added a MESSAGE('loc:filename='&loc:filename, 'WebHandler') at the end of the Case:GetInfo Routine. This indicates that the value of loc:filename is "login.htm".

I've searched the template fields and generated code and there are no instances of "login.htm".

Still stumped,
Greg

30
Web Server - Ask For Help / SOAPServer example without xFiles
« on: November 20, 2008, 10:16:47 AM »
I am attempting to use the SOAPServer (42) example, but without xFiles. I believe I am forming the request correctly(http://ecomcon.dnsalias.com/soap.htm).

The server indicates receipt:

Code: [Select]
POST /GetInfo HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: 127.0.0.1:88
Content-Length: 305
Pragma: No-Cache
Cache-Control: No-Cache
Connection: Keep-Alive
SOAPAction: "http://127.0.0.1:88/GetInfo"

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GetInfo/"><Role>Student</Role><Number>1</Number></GetInfo></soap:Body></soap:Envelope>


Placing a MESSAGE embed in the server GetInfo() procedure immediately after CODE indicates the GetInfo() is not being called, hence the client displays 404, Page cannot be found.

What should I be doing to cause the server to call GetInfo()?

Pages: 1 [2]