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.
11011
Web Server - Ask For Help / Re: set row color in browse
« on: August 30, 2007, 10:41:04 PM »
Hi Paul,
You can set the color of a cell based on a specific field, so I guess this would be the way to do it.
Cheers
Bruce
You can set the color of a cell based on a specific field, so I guess this would be the way to do it.
Cheers
Bruce
11012
Web Server - Ask For Help / Re: NetWebForm - How to load related memory file only once
« on: August 30, 2007, 10:28:20 PM »
PreUpdate routine would be my guess.
Cheers
Bruce
Cheers
Bruce
11013
News And Views / Re: NetTalk Version 4.29 pre-release posted for testing
« on: August 30, 2007, 07:12:39 AM »
If you do download and use it please post here or email me to let me know. I'd like to release the real build within the next couple days.
Cheers
Bruce
Cheers
Bruce
11014
Web Server - Ask For Help / Re: Table Cell Color -- Individual Cells
« on: August 30, 2007, 06:52:22 AM »
Hi mike,
You're mixing up the nameing to much.
Firstly, you can't create
table.myBrowseTable green {
since gren is not an html tag.
In other words the
table.myBrowseTable td {
wasn't named arbitarily, it was specificly called
td because the html tag for cells is td.
the table. bit is really extra and shouldn't be used in your html. You'll notice the code referes to 'BrowseTable' not 'table.BrowseTable'
So in other words your class should be
.MyGreen {
background-color: green;
}
and then in the template set the class to
'myGreen'
Cheers
Bruce
You're mixing up the nameing to much.
Firstly, you can't create
table.myBrowseTable green {
since gren is not an html tag.
In other words the
table.myBrowseTable td {
wasn't named arbitarily, it was specificly called
td because the html tag for cells is td.
the table. bit is really extra and shouldn't be used in your html. You'll notice the code referes to 'BrowseTable' not 'table.BrowseTable'
So in other words your class should be
.MyGreen {
background-color: green;
}
and then in the template set the class to
'myGreen'
Cheers
Bruce
11015
News And Views / NetTalk Version 4.29 pre-release posted for testing
« on: August 30, 2007, 05:28:32 AM »
Hi All,
A pre-release build of NetTalk 4.29 has been uploaded here
http://www.capesoft.com/ftp/public/prerelease/index.htm
(Note this is NOT the regular NetTalk downloads page which still contains version 4.28 - Use the link above to get to the 4.29 files.)
The goal of this release is for regression testing before the official 4.29 release. Unfortunately I can't say that every reported bug has been fixed, but there are already folk needing fixes in this release so I need to draw the line somewhere.
If you see any regressions, or show-stoppers, please let me know.
Cheers
Bruce
A pre-release build of NetTalk 4.29 has been uploaded here
http://www.capesoft.com/ftp/public/prerelease/index.htm
(Note this is NOT the regular NetTalk downloads page which still contains version 4.28 - Use the link above to get to the 4.29 files.)
The goal of this release is for regression testing before the official 4.29 release. Unfortunately I can't say that every reported bug has been fixed, but there are already folk needing fixes in this release so I need to draw the line somewhere.
If you see any regressions, or show-stoppers, please let me know.
Cheers
Bruce
11016
Web Server - Share Knowledge / Pre-Compressing Static Files
« on: August 27, 2007, 12:35:31 AM »
One of the NetTalk web server's features is the (optional) ability to serve pre-compressed static files. In other words if the browser asks for a.htm, and a.htm.gz exists, then a.htm.gz will be sent to the browser (if the browser supports compressed files.)
.gz files are not parsed by the server (ie they are not searched for <!-- Net: tags) so this technique is limited to Static files.
CSS and JS files are clear beneficiaries of this approach, graphic files (PNG & JPG) are not as they are already compressed.
Static HTM files (ie ones without NetTalk tags) are also good candidates for this approach.
To create a .gz file you will need the gzip command line tool from http://www.gzip.org/.
Run the gzip utility using the -9 -n -f -c switches. For example
gzip -9 -n -f -c web\scripts\prototype.js > "web\scripts\prototype.js.gz"
The .gz file should be in the same folder as the actual file (wherever that is.)
Cheers
Bruce
.gz files are not parsed by the server (ie they are not searched for <!-- Net: tags) so this technique is limited to Static files.
CSS and JS files are clear beneficiaries of this approach, graphic files (PNG & JPG) are not as they are already compressed.
Static HTM files (ie ones without NetTalk tags) are also good candidates for this approach.
To create a .gz file you will need the gzip command line tool from http://www.gzip.org/.
Run the gzip utility using the -9 -n -f -c switches. For example
gzip -9 -n -f -c web\scripts\prototype.js > "web\scripts\prototype.js.gz"
The .gz file should be in the same folder as the actual file (wherever that is.)
Cheers
Bruce
11017
The Rest - Ask For Help / Re: Synchronous Open and Multithreading
« on: August 26, 2007, 10:38:03 PM »
Hi Thomas,
It is completely multi-threading aware.
The reason for the blocking is technical, and specifically related to the synchronous open. That's after all what synchronous means.
Frankly, I can't think of a good reason to use a synchronous open, that's why the async open exists.
Cheers
Bruce
It is completely multi-threading aware.
The reason for the blocking is technical, and specifically related to the synchronous open. That's after all what synchronous means.
Frankly, I can't think of a good reason to use a synchronous open, that's why the async open exists.
Cheers
Bruce
11018
Web Server - Ask For Help / Re: Verisign secure html
« on: August 26, 2007, 10:34:42 PM »
Hi Greg,
Oh - ok - thanks.
without getting too far into the vagaries of CSS layout, it'll work if you wrap the code with
<div class="adiv">
! verisign html goes here
</div>
Also in my test, the html you have looks a little wide, so you may want to open it in frontpage or something and adjust the layout a bit.
Cheers
Bruce
Oh - ok - thanks.
without getting too far into the vagaries of CSS layout, it'll work if you wrap the code with
<div class="adiv">
! verisign html goes here
</div>
Also in my test, the html you have looks a little wide, so you may want to open it in frontpage or something and adjust the layout a bit.
Cheers
Bruce
11019
Web Server - Ask For Help / Re: Verisign secure html
« on: August 26, 2007, 03:16:20 AM »
Greg, I'm not sure what you mean - more info please...
Specifically I'm not sure what you mean by "verisign html".
Cheers
Bruce
Specifically I'm not sure what you mean by "verisign html".
Cheers
Bruce
11020
Web Server - Ask For Help / Re: Launch Single Line Item Report From Browse or View Only Form
« on: August 24, 2007, 12:36:21 AM »
Hi Dave,
>> Also, is there a clean way to place a submit button on a View Only form to generate the report without writing too much JavaScript?
I'm not sure if the button should be a "Submit" button, because typically you'd want the report to open in it's own window. But that's for you to decide.
To place a button on a Form use the Display form field type, and click the "button" option on.
cheers
Bruce
>> Also, is there a clean way to place a submit button on a View Only form to generate the report without writing too much JavaScript?
I'm not sure if the button should be a "Submit" button, because typically you'd want the report to open in it's own window. But that's for you to decide.
To place a button on a Form use the Display form field type, and click the "button" option on.
cheers
Bruce
11021
Web Server - Ask For Help / Re: Launch Single Line Item Report From Browse or View Only Form
« on: August 24, 2007, 12:34:26 AM »
Hi Dave,
a) for the button, tick on the template option "Include Row ID field".
b) The unique id o the browse line is now passed to the report as a "Value" (ie as a parameter.) In the report you can access it using the _value_ Queue, not the session Queue. for example
if not p_Web &= Null
loc:emp = p_web.GetValue('emp:id')
End
In the above example you'd then filter your report on loc:emp
Cheers
Bruce
PS Please avoid putting multiple questions in 1 thread, it can make the discussion confusing.
a) for the button, tick on the template option "Include Row ID field".
b) The unique id o the browse line is now passed to the report as a "Value" (ie as a parameter.) In the report you can access it using the _value_ Queue, not the session Queue. for example
if not p_Web &= Null
loc:emp = p_web.GetValue('emp:id')
End
In the above example you'd then filter your report on loc:emp
Cheers
Bruce
PS Please avoid putting multiple questions in 1 thread, it can make the discussion confusing.
11022
Web Server - Ask For Help / Re: NetWebPage displays unwanted header info
« on: August 24, 2007, 12:29:16 AM »
Hi Casey,
Fundamentally there are 3 kinds of "html" in NetTalk.
a) A Page (NetWebPage template). This is the "wrapper" that gets sent back to the browser. You can't include a Page on a page, because then you'd have 2 wrappers.
b) A Source (NetWebSource template). This is plain HTML, and is designed to be embedded on a "page". You can't (currently) call a NetWebSource as a URL since it has no wrapper.
c) the you have "Controls" in between. These can be embedded on a Page, or be called just by themselves. Examples of these are NetWebForm, and NetWebBrowse.
So in your case yo need to look at the bit you're embedding on the page. You need to change the template from NetWebPage to NetWebSource, or possibly NetWebForm (depending on what you are trying to do.)
Cheers
Bruce
Fundamentally there are 3 kinds of "html" in NetTalk.
a) A Page (NetWebPage template). This is the "wrapper" that gets sent back to the browser. You can't include a Page on a page, because then you'd have 2 wrappers.
b) A Source (NetWebSource template). This is plain HTML, and is designed to be embedded on a "page". You can't (currently) call a NetWebSource as a URL since it has no wrapper.
c) the you have "Controls" in between. These can be embedded on a Page, or be called just by themselves. Examples of these are NetWebForm, and NetWebBrowse.
So in your case yo need to look at the bit you're embedding on the page. You need to change the template from NetWebPage to NetWebSource, or possibly NetWebForm (depending on what you are trying to do.)
Cheers
Bruce
11023
The Rest - Ask For Help / Re: need help TCP/IP conversation
« on: August 23, 2007, 06:29:44 AM »
>> Fine. BTW, how it is handled within the Dll - every Send() adds a Queue entry internally which is transfered to Winsock in a FIFO process ?
more or less...
Cheers
Bruce
more or less...
Cheers
Bruce
11024
Web Server - Ask For Help / Re: Timer
« on: August 22, 2007, 07:45:51 AM »
Hi Zoltan,
ok, let's break the problem down slightly.
a) you need a netWebSource procedure to hold the image.
Inside this, use the .CreateImage method to create the HTML for the image, or just hard-code the <img> tag yourself.
This is the bit where you'll find the image name from your data file etc.
b) make sure this netWebSource has the
Generate Ajax Div ticked on, and fill in a timer.
c) "embed" this procedure on another page, using the
<!-- Net:procedurename -->
syntax.
Cheers
Bruce
ok, let's break the problem down slightly.
a) you need a netWebSource procedure to hold the image.
Inside this, use the .CreateImage method to create the HTML for the image, or just hard-code the <img> tag yourself.
This is the bit where you'll find the image name from your data file etc.
b) make sure this netWebSource has the
Generate Ajax Div ticked on, and fill in a timer.
c) "embed" this procedure on another page, using the
<!-- Net:procedurename -->
syntax.
Cheers
Bruce
11025
Web Server - Ask For Help / Re: Child Browse
« on: August 21, 2007, 07:52:10 AM »
Hi Drew,
>> However this causes the tree structure to show the parent browse under the the child browse with the designation "(Recursive)". Obviously I'd like this not to occur.
sorry, that's the way it is. The parent references the child, and vice versa.
>> Also, when I attempt to add fields to the browse a message pops-up several times saying "Unknown Variable '%nFieldFile'." Why is this occurring?
see here
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=71.0
Cheers
Bruce
>> However this causes the tree structure to show the parent browse under the the child browse with the designation "(Recursive)". Obviously I'd like this not to occur.
sorry, that's the way it is. The parent references the child, and vice versa.
>> Also, when I attempt to add fields to the browse a message pops-up several times saying "Unknown Variable '%nFieldFile'." Why is this occurring?
see here
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=71.0
Cheers
Bruce