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

Pages: [1]
1
Web Server - Ask For Help / Re: Embedding HTML
« on: February 04, 2013, 02:02:59 PM »
>>BTW - which build of NetTalk are you using?

 7.04  The latest I assume

>>yes. Try using a display field.
>>But you'll need to turn on Unsafe HTML for that too since "input" is not considered "safe" html by the engine.

I tried a display field.  It breaks the window when I use it.   If I put the name of the local variable that I load the script into in the Text field and a value in the picture field,  the form displays nothing but a blank tab.   I don't really understand what the Text field is for since the field is already defined at the top. Is there a demo application that shows how to load html into a display field?   Nothing I do even with allowing unsafe XHTML seems to work. 











2
Web Server - Ask For Help / Re: Embedding HTML
« on: February 02, 2013, 11:49:49 AM »
Here is a list from the debug view....

[3936] [netTrace][thread=4] Error [-1:2] opening file: C:\CiTest\web\favicon.ico
[3936] [netTrace][thread=4] Sendfile error 404, Error 404 filename=C:\CiTest\web\favicon.ico
[3936] [netTrace][thread=4] SendError = 404 The page cannot be found : The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. FileRequest=[favicon.ico]
[3936] [netTrace][thread=4] Error [-1:2] opening file: C:\CiTest\web\browsetest_browsequestion_value
[3936] [netTrace][thread=4] Sendfile error 404, Error 404 filename=C:\CiTest\web\browsetest_browsequestion_value
[3936] [netTrace][thread=4] SendError = 404 The page cannot be found : The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. FileRequest=[browsetest_browsequestion_value]
[3936] [netTrace][thread=3] UnSafeHtml (4): Tag not allowed: input


First I'm at a total loss on what and where the favicon.ico is being called from.  I also don't know what thre reference to browsetest_browsequestion_value is.  I do have browsetest and browsequestion procedures, and the browsequestion is called as a child to browsetest.

I'm also getting the following error in debugview when the index page initially loads.   I'm having a hard time find this reference in the templates.

[3936] [netTrace][thread=3] Error [-1:2] opening file: C:\CiTest\web\styles\Custom.Css
[3936] [netTrace][thread=3] Sendfile error 404, Error 404 filename=C:\CiTest\web\styles\Custom.Css


From what I can see most the errors above are not related to my initial problem but the error below is. 
[3936] [netTrace][thread=3] UnSafeHtml (4): Tag not allowed: input

With some testing I discovered that I could get the html to show up correctly if I turned unsafe xhtml on and selected the Redactor as the editor.  If I removed either would would go back to the text.

I think part of my  problem here is that I'm using a text field and I don't really need to do that.  I need to be able to generate this html on the fly on a question by question basis and record the results. 

I tried using the XHTML tab on the NetWebForm procedure but anything I tried with inputs would break the form.  I typed the following into the XHTML text box provided by the template.

I tried closing the input tag this way.
<p>Which three services does a proxy server provide? (Choose three.)</p>
<input type="checkbox" name="answer" value="Answer1">&nbsp;cached e-mail</input>

I tried closing the input tag this way.
<p>Which three services does a proxy server provide? (Choose three.)</p>
<input type="checkbox" name="answer" value="Answer1"/>&nbsp;cached e-mail

If I remove the input it works just fine. I even figured out how to get the html on the tab, but I could not get the input formatted in a way to make it work. I'm open to a different approach on this I just need a way to make this work. 



3
Web Server - Ask For Help / Embedding HTML
« on: February 01, 2013, 12:20:02 PM »
I have some code that generates the following html...


<p>Your network has a permanent connection to the Internet. Your local network<br/>includes multiple services. You are concerned about hackers gaining access from the Internet. You decide to set up filtering on ports 100 through 200. Which service might this affect?</p><input type="radio" name="answer" value="Answer1">FTP<br/> <input type="radio" name="answer" value="Answer2">NTP<br/> <input type="radio" name="answer" value="Answer3">HTTP<br/> <input type="radio" name="answer" value="Answer4">SMTP<br/>

I have tried loading this into and text field on a webform but it doesn't show it as html.  It just shows it as text.  the code that generates this is executed in the LoadRelatedRecords embed after Start.  I do have allow XHTML checked on.  I can copy this text to a redactor control after clicking the </> button and clicking it again makes the html show up correctly.  Funny thing though, clicking that button multiple times will remove the check boxes. 

I'm just trying to find a good way to do this so that I can show a little progress on this thing. 

TIA



4
Web Server - Ask For Help / Re: Default Login Screen Not Working
« on: February 01, 2013, 12:09:29 PM »
I have upgraded NetTalk to latest version and this is still not working.

5
Web Server - Ask For Help / Re: NT7 attaching browse to Browse
« on: January 14, 2013, 08:27:08 AM »
For a work around try adding the child browse to the PageHeader menu and hide it by setting the item condition to 0.  This will leave it off the menu and for me it let me open the update procedure.  I have no idea why this works, but it did for me.

6
<< (important, the table is not opened for you here) and read the record yourself.>>

From this statement is it safe to assume that putting a table in the datapad for a procedure does not cause the table to be opened like in standard clarion procedures?  For instance If I want to validate a login by accessing a User table, I would need to add it to the datapad and include the Open and Close calls for the table in my source?

Dennis Perkins

7
Web Server - Ask For Help / Re: Default Login Screen Not Working
« on: January 14, 2013, 08:16:30 AM »
I have attached a copy of the application and dictionary.  Not all the tables in the dictionary are used and the ones that are used are MySql tables.  The topspeed tables will converted in the future. The app and dct are in the early stages so they are quite small. 

While you are looking at it, I have another questions if you don't mind.  There are a couple of child browses BrowseQuestions and Browse Answers that I initially removed from the menu.  I don't have any issues with BrowseAnswers since I access it from the UpdateQuestion, but I had to add the procedure BrowseQuestions back to the menu in the PageHeader and hide it to make it work correctly.  If I remove it I cannot access the update procedure for BrowseQuestions.   I'm sure I'm missing something here since I'm at the early stages of learning NetTalk, but if you notice anything that stands out on the this, I would like to know. 

Dennis Perkins

[attachment deleted by admin]

8
Web Server - Ask For Help / Default Login Screen Not Working
« on: January 14, 2013, 06:23:05 AM »
Bruce
(This is to following up on the email you sent me before I could connect to the forum.  But anyone else can chime in here)

I'm using the wizard created login form in an nettalk application but when I login in I do not gain access to the procedures that are restricted to login via the Web Handler Setting - Loging Rqd tab.   You asked me to verify that the "Delete session on logout" check box was unchecked on the security tabe in the Webserver NetTalk extension.   I have included a screen shot to verify that setting.   



[attachment deleted by admin]

Pages: [1]