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 - alan

Pages: 1 2 [3] 4
31
Web Server - Ask For Help / Compile errors
« on: May 19, 2014, 08:46:34 AM »
Hi All,

I was having this problem before 8.11 but updating to 8.11 hasn't fixed it. ...using C9.0.

Compiling my wizarded app or any of the example apps, I get errors in NetWeb.Clw:

NetWebServerWorker.Sendstring  PROCEDURE (.....)
   self.SendString(p_DataString.FieldGetValuePtr(),p.....)   - No matching prototype
                                    - Unknown function label
                                    - Field not found: GETVALUEPTR

I'm getting the same error wherever SendString is called.

also getting the same errors for self._ParseSettings and other procedure calls.

I'm guessing it's not finding an include file but I don't know which one.

Thanks for any help

Alan

32
E-Mail - Ask For Help / Re: Unresolved External errors
« on: February 07, 2014, 12:26:47 AM »
Thanks Bruce,  your solution worked.  I added the template to the data dll and recompiled the whole project and everything works fine.

I appreciate the help.

Alan

33
E-Mail - Ask For Help / Unresolved External errors
« on: February 06, 2014, 11:27:25 AM »
Hi Bruce, or whoever.....

Trying for the first time to use NetSimple Object to send an email.  Using NT 7.25, StringTheory 1.92 and C9.

The example Email Send jump start compiles just fine.  But, when I put a window with the NetSimple Object template in my app (including NetTalk and StringTheory global extensions), I get a bunch of Unresolved External errors.  Take the procedure template out and the errors go away.

I can't find anything in the documentation other than installing those three templates - obviously I missed something.  Suggesitons?

Thanks

34
Web Server - Ask For Help / Re: Call browse from menu in select mode
« on: September 12, 2013, 12:05:44 PM »
Bruce,

>>use Highlight, not Radio.<<

You were right.  Once I changed my browses to use Highlight selection method everything worked as expected.

My confusion was that I had spent hours and hours trying to figure out how to read the row id's stored by the browses.

Turns out I was doing it correctly but, the Radio selection option causes the browses to not push the id into SessionQueue.

BTW - I believe I actually have made pretty good progress at understanding this stuff (but can't wait for CIDC).  I just haven't stopped to think about changing my vocabulary to "web speak"  when I try to explain what I'm doing.

35
Web Server - Ask For Help / Re: Call browse from menu in select mode
« on: September 11, 2013, 05:31:41 PM »
Bruce,

You said - "The ID of the selected row will be pushed into the SessionQueue for you."  How do I retrieve that value.

I am calling a browse from a source procedure. I set the browse selection method to "radio" and my unique is s cas:sysId.

In the source procedure, after the browse closes, I need to get the record that was selected in the browse.  I tried p_web.GSV('cas:sysId') but that didn't give me anything. (this is not a typical "lookup" scenario)

Thanks,

Alan

36
Web Server - Ask For Help / create additional sessionqueues
« on: September 04, 2013, 12:30:24 PM »
Bruce,

I'm working on an app with a large amount of data that is loaded into a queues and then processed.  This data needs to stay available throughout a session.  I would like to create those queues the same way SessionQueue is implemented.  That is, I want to instantiate them (and some classes) at the same time (with the same scope) as the SessionQueue and I want to delete (free) them when the session is deleted.

Do you have any embeds I could use at the point all this is happening with SessionQueue?  If no embeds, is there anything else you could recommend to accomplish this?

Thanks,

Alan

37
Web Server - Ask For Help / Re: override CSS for contentbody_div
« on: August 22, 2013, 01:43:20 AM »
Bruce,

You are right.  I found some conflicting css I entered a few days ago as I was experimenting. 

Thanks for pointing me in the right direction.

Alan

38
Web Server - Ask For Help / Re: override CSS for contentbody_div
« on: August 21, 2013, 03:37:50 AM »
Thanks for the reply Bruce.

I had earlier questions about popups and scrolling the contents within a page.  But this time, it's a standard  NetWebForm being called from the top level of my menu.  I have a lot of xhtml embeded in the xHtml Tab. (this is the same stuff I asked how to scroll in an earlier question -  but not trying to scroll it here).  The xHtml location is "After heading".  Then, on the form I have a browse for view only and a save button (I changed the text to "Close')

Everything displays on the form but - the <div id="contentbody_div" class="nt-contentpanel nt-contentpanel-h"> section is only half as high as the form, so it's box shadow line cuts right through my xhtml text.

This same problem exists with the footer.  It is positioned half way up my form.

So, these parts of the generated form don't seem to adjust their size and/or position for the size of the embedded xhtml that generates before it on the page.

I'm using custom css to adjust other things in the app.  But, since contentbody_div and footer don't have unique id's for each page, I can't see a way to adjust them on this page only.

(I tried wrapping my xhtml in a <div> and setting the height of that div, but that did not cause the contentbody_div to expand and it did not move the footer down.  Also, I see the Custom Classes tab seems to provide this for some parts of the form, but not for these two items.) 

I have attached a screen shot to show what I'm talking about.

Thanks

[attachment deleted by admin]

39
Web Server - Ask For Help / override CSS for contentbody_div
« on: August 20, 2013, 10:28:42 AM »
Bruce,

I have a NetWebForm on which I need to override the height on the contentbody_div.  I don't see anyplace on the CSS Classes tab to do this.

Is there a way to override the contentbody_div settings for one specific procedure?

Thanks

40
Web Server - Ask For Help / Re: How to display static html page
« on: August 20, 2013, 03:23:09 AM »
Bruce,

I figured out how to handle my issue but I'll layout the solution here in case someone else wants to do the same thing.

On my NetWebForm for ordering my product, I wanted to let the user read some information if they had any last minute questions as they were ordering.  But, I didn't want to navigate them away from the order form and then hope they found their way back (without losing the info they had entered).

I created a fairly lengthy html document with hyperlinks, etc., providing information about the products.  That's the document I wanted to popup.

On the order form, I added a button to call a NetWebForm as a popup.
I then created the popup NetWebForm with no controls other than a Cancel button (In an embed I changed its text to "Close").  I then place my lengthy html document in the xhtml tab on the popup form.

Finally, to keep the popup form from expanding to a height of 2500px or more, I used CSS to set the height of the _frm div to 600px.

So now I have a popup form that displays a lengthy html document in a scrollable window.

(I'll probably take that html text and save it to disk and then include it into my popup using <!-- Net:f: just to make maintenance easier.)

THE ONLY REMAINING QUESTION I HAVE.....  The popup displaying the html opens scrolled all the way to the bottom.  Any suggestion on how I can get it to open without being scrolled all the way down?

Thanks

41
Web Server - Ask For Help / How to display static html page
« on: August 19, 2013, 09:48:32 AM »
Hi Bruce,

I have a static html page I need to display.  It is longer than will fit on the standard size form or page in my app.  Thus, I need it to scroll vertically.

I have tried embedding it as xhtml on a page and on a form and in both of those the html text overflows way past the content height.

Interestingly, the form works well when I call it as a popup - except the form is a skinny little thing with a height of about 2500 pixels.  This approach might work for me when I am able to call a popup from the top level of a double drop menu.

So, does NT have a scrollable control that would let me display this text in a NT form.  Or, is there some other way to accomplish this.

Thanks 

42
Web Server - Ask For Help / checkbox dies after validation
« on: August 17, 2013, 07:24:44 AM »
Hi Bruce,

This seems like a weird one to me.

I have a wizard form.  I want to prevent moving from Tab0 to Tab1 if the user hasn't accepted the license agreement (checkbox - loc:licenseagreed).  The following code works fine to execute the Alert if the user tries to tab without accepting the license agreement:

NextTab  routine
 .......
  case lower(p_web.PageName)
  of lower('NewSubscription_nexttab_' & 0)
    ! Start of "NextTab Tab"
    ! [Priority 4000]

    loc:tabchanging = 1
  ......

ValidateValue::licenseagreed  Routine
  ! Start of "Validate Value"
  ! [Priority 4000]
    if loc:tabchanging = 1 AND loc:LicenseAgreed <> 1
        loc:alert = 'You need to click the checkbox...'
        loc:invalid = 'loc:LicenseAgreed'
  .......

The problem is, after the validation fails, the checkbox is effectively dead.  That is, you can click on it all day long and nothing happens.    Although the checkbox appears to check on and off, it does not generate any events in the web server window so the value is not updated.  From then on, my validation fails.

But, if I move to a different page, or if I click on a different checkbox on that same tab, everything goes back to normal and my validated checkbox starts functioning again. ( on that tab  if I click a button that executes a popup, that does not reset the checkbox - it continues to not function.

This behavior is not affected by selecting or not selecting "Use jQuery button" for the checkbox.

I tried every setting I could find. In the definition for loc:licenseagreed I set cannot be blank or zero.  For the field, I tried setting Immediate validation to Default, Yes and No.  And, for the procedure validation, I set Wizard:Validate Tab on Next to True.

WORKAROUND:  I got around this problem with this which simply prevents the tab change if the checkbox isn't set:

NextTab  routine
  data
! Start of "NextTab routine data section"
! [Priority 5000]

! End of "NextTab routine data section"
  code
  ! Start of "NextTab routine start"
  ! [Priority 5000]

  if p_web.PageName = 'NewSubscription_nexttab_0' AND p_web.GSV('loc:licenseagreed') = 0
    loc:alert = 'You must click the checkbox above indicating you accept the' |
                & ' license agreement before you can continue.'
    exit
  end

43
Web Server - Ask For Help / Re: popups
« on: August 16, 2013, 05:53:32 AM »
Bruce,


Question 1:
>>what menu type?
I'm using a DoubleDropMenu.

Question 2:
>>yes, use the "Hyperlink" tab for the browse, for form field - you should be able to popup from there.

I guess I wasn't very clear.  Using the XHtml tab on the NetWebPage procedure template, I'm hand coding several pages that provide informational content to the user.  Those pages include <a href="......> tags (hyperlinks?) to other NetWebPages and NetWebForms.

I would like those hyperlilnked pages and forms to generate as popups.  Is that possible in NT? (presently I have popup options set on the linked form's layout tab but it doesn't open popped up)

Since I don't see any setting relating to popups on the NetWebPage template, I'm guessing they can't be popups?

.....I love popups - they make navigation so clear and simple for the user.

Thanks

44
Web Server - Ask For Help / popups
« on: August 16, 2013, 12:47:13 AM »
Hi Bruce,

There are a couple pages (a webpage and a webform) I would like to call directly from the topmost level of the main menu.  That doesn't seem to work.  I can only get popups to work from level 1.

Along the same lines, is it possible to popup a webpage or webform from an anchor tag in a webpage's xhtml?

Thanks

45
Web Server - Ask For Help / Re: how to enable/disable buttons ?
« on: August 15, 2013, 03:15:59 AM »
Thanks Bruce, your suggestion is better   :)

Pages: 1 2 [3] 4