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

Pages: 1 ... 3 4 [5] 6
61
Web Server - Ask For Help / NT 6 to NT 7 app upgrades
« on: December 13, 2012, 10:34:30 AM »
Bruce,

     I'm upgrading all my NT 6 apps to NT 7.  I have run into 2 issues so far:

1.  All my login forms are now left justified.  I have been tinkering with FireBug to see if I can find the cause but so far no luck.

2.  Two of my apps use the technique to store a hash of the password in the user.tps file.  After conversion, I find I cannot log into these apps with the known user name and password.  There is no error message, I'm simply left at the login screen.  I have attached a sample of the code embedded in the login form, that worked in the NT 6.45 version of the app.  Has something changed in StringTheory or Cryptonite?

By the way, all my apps are compiled as a DLL for use with the Multi-Site host app. 

Also, the test app I sent you last week is one I'm trying to convert and can't log into.  If you could recompile that with NT 7, you should see this issue.

Thanks,

Jeff King

[attachment deleted by admin]

62
Web Server - Ask For Help / Child Browse, multi part key
« on: December 06, 2012, 08:30:29 AM »
     I have a form with a tab.  The tab contains the parent and child browse side by side.  The key linking the two files contains two fields, ID_NO and Course_No.  I cannot get the child browse to update when a row is selected in the parent.  The parent has a filter defined that works as expected.  The child is set up to use the Course_no field with a relationship to the parent table.  I suspect there is an issue with the multi-part key not being set properly.
     I have looked at example web25 and it uses a conditional filter I don't understand.  I tried to duplicate this in my app but had no success.
     I also tried setting normal variables and session variables in the User clicked on row in browse embed, but still no good.
     I would have thought the templates would take care of all this once a browse procedure was set as a child.  Any thoughts?

Thanks,

Jeff King

63
Web Server - Ask For Help / Conditional tab display on memory form
« on: November 25, 2012, 03:06:22 PM »
Bruce,

     As a second experiment for the multi-selection issue I posted about, I have tried another idea.  I created a memory form that has a series of tabs, labeled General, Skin, etc.  I want to use this form as a pseudo look up form, from a button added next to a form field.  Each tab on the memory form has the tab condition set to:

              p_web.GSV('ROStab') = 'General', p_web.GSV('ROStab') = 'Skin', etc.

     I call the memory form from a button on a standard form.  I have tried setting the session variable in many different embeds of these buttons, using the following:

              btnGeneral      p_web.SSV('ROStab', 'General')
              btSkin              p_web.SSV('ROStab', 'Skin'), etc.

     Currently I have the code in the "Add server side code here" embed.  It works but I find I must click the calling button twice to get the expexted effect, which is to unhide the General tab when the btnGeneral button is clicked, or unhide the Skin tab when the btnSkin is clicked.
     I have also tried passing "p_web.SSV('ROStab', 'General')" as a parameter by filling in the parameter field on the OnClick tab of the template.  This has inconsistent results.  In my testing I set this parameter for just the first two buttons, General and Skin.  The session variable always seems to contain the value "Skin".

     Do you have any suggestions to help resolve these two issues?

Thanks,

Jeff



         

64
Web Server - Ask For Help / Look up as a pop-up
« on: November 25, 2012, 02:43:11 PM »
 Bruce,

     In reference to my previous post about multi-selection issues, I thought I would experiment.  I'm trying to adapt the tagging example app.  I have modified my current look up procedure by adding the EIP tag column.  I have made some progress but get stuck when calling the modified look up prodedure. 
     I first call a general form as a pop up.  This form has a text field with a look up button, which calls my modified look up procedure as a pop-up.  The look up always opens as a page.  It appears that a look up cannot be called as a pop up, from a form that has already been called as a pop up.  Is this a known limitation?

Thanks,

Jeff

65
Web Server - Ask For Help / Multi-select on drop list or lookup
« on: November 21, 2012, 07:56:58 PM »
     I'm struggling with multi-select issues.  I have placed a text field on a form.  I also placed a copy of the same field (using a different equate) next to the original field.  The copy is set as a drop down with multi-select set.  If I select multiple items, they are displayed in the original text field.  Please see attached image.
     If I save the form then click change to see the results, the text field now contains the following:

         ;|;multiple;|;

     I have seen other postings here about this issue but none have explicitly explained how to get the multiple items from the drop list into another control.  Can anyone tell me which embed should be used, and where the multiple items selected are stored?

     Ideally I would like to use the lookup capabiity.  I have this in use in many other areas but it only allows a single selection to be returned.  Does anyone know of a way to do multiple selections from a lookup list?

Thanks,

Jeff King


[attachment deleted by admin]

66
Web Server - Ask For Help / Session countdown timer and frames
« on: November 10, 2012, 09:28:17 PM »
Bruce,
    
     I moved the session countdown timer to my left frame, which contains my TaskPanel Menu system.  It counts down properly but there are two issues.

1.  When the counter times out, I retun to the LoginForm but it is not in a frame.  I set the target frame to my 'left_frame' but that did not achieve the desired result.  

2.  When I select menu items, the timer is not reset.  It only resets when I expand or contract a menu item.  I tried moving the timer script code from the process embed to other embeds but still no good.

Can you suggest a solution....by the way I want to stay with frames here, not ready to convert just yet.

Thanks,

Jeff

67
Web Server - Ask For Help / TinyMCE and internet explorer 9
« on: October 19, 2012, 03:32:31 AM »
Bruce,

Any progress on this?  Will there possibly be a fix in 6.47 or maybe the new version 7?

Thanks,

Jeff King

68
Web Server - Ask For Help / Conditional Tabs
« on: October 10, 2012, 08:16:16 AM »
Bruce,

     I'm trying to conditionally display two tabs.  I have a Jobs database that allows applicants to create an account and then log on to view jobs.  Initially, applicants go to the main menu and select "Create Account".  I have the account form called without a browse (browseless form technique) by using 'Insert_btn=Insert' as the parameter to the menu call. 
     On this form I have numerous tabs, two of which I want to display conditionally.  One tab is labeled 'Create Password', the other is "Change Password'.  I want the create password tab to display when creating a new account, i.e. an Insert.  I want the change password tab to display when the user edits thier account info, i.e. a Change.
     So, on the Create Password tab, I placed the following in the Tab Condition field:

     p_web.formsettings.action = Net:InsertRecord

and on the Change Password tab, the condition is:

     p_web.formsettings.action = Net:ChangeRecord

     What I see is that the Change Password tab is displayed but not the Create Password tab.  This leads me to the conclusion that when I use the "browseless form" technique, the form actually opens in change mode.  Assuming that conclusion is correct, how can I accomplish this? 

Thanks,

Jeff King



69
Web Server - Ask For Help / TinyMCE and IE9
« on: September 17, 2012, 07:40:30 PM »
Bruce,

Have you been able to look into my post on 9/14 about TinyMCE and IE9?  It seems popup forms have an issue with the editor, when run in IE 9.  Everything works as expected in FF and Chrome.  Also, on the iPad and Safari, the editor does not work at all.  I only see the text field with the raw HTML.

Thanks,

Jeff

70
Web Server - Ask For Help / TinyMCE and IE9
« on: September 14, 2012, 07:06:35 PM »
Bruce,

     I have an NT 6.44 app underway that uses TinyMCE on two forms.  I find that I can enter data once and save it.  If I go back and change the data and try to save the changes, they do not get saved.  This also occurrs in compatibility mode.
     Other browsers, such as FF, Safari and Chrome do not exhibit this behavior, they save all data as expected.
      One search result on Google suggested using the following meta tag:

     <meta http-equiv="X-UA-Compatible" content="IE=8">

I tried setting this meta tag in the WebHandler, Process link embed, based on an example you posted sometime in 2010.  I could not get the quotes and double-quotes right so was not able to test.

Do you have any fixes or suggestions?

Thanks,

Jeff

71
Web Server - Ask For Help / SSL and version 6.44
« on: September 12, 2012, 11:03:42 AM »
Bruce,

     I recompiled an app that was on 6.27 (I think) with version 6.44.  I set the app to use 443 and entered my certificate path.  When I try to access the Web server locally (https://127.0.0.1) or from another machine using https://myIPAddress, I get an error HTTP 403 forbidden...The web site requires you to login.  I noticed that the certificate folder appears under the app folder and the web folder.  Not sure if this is something new in 6.44 but when I copy my certificate there, it is deleted upon running the web server.  I'm getting back to building SSL servers after a few months away and seem to have missed something.  Can you help?

Jeff

72
Web Server - Ask For Help / Printing HTML created with TinyMCE
« on: September 09, 2012, 05:51:48 PM »
Bruce,

     I have started a Jobs Database with NT 6.44.  I allow employers to create a job description and Job Seekers to enter resumes, both using TinyMCE.  This works very well and the HTML documents are stored in a large string.
     I now want to allow Job Seekers to search job listings, view the HTML document and print if desired.  I saw in another post that a way to do this might be to use a new NetWebPage procedure and pass the stored HTML to this procedure.  I should be able to call this procedure by URL and open in a "_blank" window.  The user should then be able to print from the browser print button.
     So, how would one pass the HTML to the new procedure?  Also, I would appreciate other suggestions on how to accomplish this.

Thanks,

Jeff King

73
Web Server - Ask For Help / Hash of passwords
« on: September 05, 2012, 04:39:40 PM »
Bruce,

     In a recent Clarion Live webinar, you spoke of hashing passwords.  Is there an example app or other documentation on how to approach this?

Thanks,

Jeff King

74
Web Server - Ask For Help / Custom Button on browse
« on: August 30, 2012, 08:15:55 PM »
Bruce,

     In another post I asked about converting an old frame based app to NT 6.41.  I decided to try and import old procedures into a newly built app.  One of the procedures is an Insight Graph.  I would like to call this from a custom button on the browse, basically a "Graph" button in line with the others.  I see from an older post that this is not a trivial thing to do and requires coding.  Can you elaborate on this?  Or perhaps there is another way?
     One thing I have tried is to use XHTLM to put the graph on the same page as the browse.  I have it currently under the browse and buttons by calling the graph procedure after the div tag.  How can I get this to display to the right of the browse?  I suspect I may need to use XHTML to caode a table but thought I would ask if there was a better way.
     One final note, the graph does not display data even though it is configured as it was in the old app.  Is there a way to force a "reset" or something to get the data to display upon opening the browse page?

Thanks,

Jeff King

75
Web Server - Ask For Help / NT Web app upgrade to 6.40
« on: August 30, 2012, 12:28:36 PM »
Bruce,

     I have an older app I based off of your frame example.  I can't remember what version of NT I originally used so I have attached an image of my app.  I would like to keep the frames setup but now the TaskPanel menu does not appear in the left frame.  All I see is a large logout button, which I need to fix as well.  I have looked for clues in the NetTalk Upgrade and Tasks docs but have not found a solution. 
     I would be willing to convert to a non-frame app later as long as I can keep all the existing procedures I have created. I have tried some of the suggestions related to header/footer changes but did not remove the frameset yet.  I want to get it working with frames before moving away just yet.
 
Can you suggest a fix?

Thanks,

Jeff King

[attachment deleted by admin]

Pages: 1 ... 3 4 [5] 6