|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hello, I try to put some comments in my nxscript page but my comments seems to be interpreted like include file Is there a way to put comments in a nxscript page ? Thanks -- jprenou |
|
#2
|
|||
|
|||
|
> I try to put some comments in my nxscript page but my comments seems to
> be interpreted like include file > Is there a way to put comments in a nxscript page ? > > Thanks Within the code blocks (between <% and %>) you should be able to simply use // or {}. Within the html area you need to use the standard <!-- --> syntax. Checkout index.nxscript in the adminroot folder for some examples. -- Hannes Danzl / NexusDB Manuals - http://www.nexusdb.com/support/index..._manual_v3.htm Issue Tracker - http://www.nexusdb.com/mantis/view_all_bug_page.php Newsgroup Web Gateway - http://www.nexusdb.com/forums/ Newsgroup Search - http://www.nexusdb.com/forums/search.php |
|
#3
|
|||
|
|||
|
Hello Hannes Inside <% %> the // and {} work perfect. Inside HTML, <!-- --> don't work, it seems the parser search to include my comment as a file ![]() Thanks JP -- jprenou |
|
#4
|
|||
|
|||
|
> Inside <% %> the // and {} work perfect.
> Inside HTML, <!-- --> don't work, it seems the parser search to > include my comment as a file ![]() Can you show your file that doesnt work? As Hannes says, there are <!-- --> examples plenty in our supplied scripts and they seem to work. -- Eivind Bakkestuen [NDD] Nexus Database Systems |
|
#5
|
|||
|
|||
|
Hi, Try this Code: -------------------- <% begin %> <!--#INCLUDE FILE="header.html"--> <!-- This is a HTML comment --> <!--#INCLUDE FILE="footer.html"--> <% end. %> -------------------- header.html contains <html><body> and footer.html contains </body></html> Regards, JP -- jprenou |
|
#6
|
|||
|
|||
|
Hello, Do I do something wrong with this ? Thanks Jp -- jprenou |
|
#7
|
|||
|
|||
|
Nobody can help me on this ? Second question: Is here a way to personalize 404 and 500 pages with the nx web application ? Thanks JP -- jprenou |
|
#8
|
|||
|
|||
|
> Nobody can help me on this ?
Hannes will when he gets around to it. Sorry, we've been busy working on the next update. ![]() -- Eivind Bakkestuen [NDD] Nexus Database Systems |
|
#9
|
|||
|
|||
|
Hi, I just take a look at the procedure TnxWebScriptProcessor.DoHandleIncludes; It's stange the try finally doesn't handle the error. Why that ? I don't know. For now, I just check the astring variable. Let me know the next step or what will be your patch. Thanks JP -- jprenou |
|
#10
|
|||
|
|||
|
jprenou wrote:
> > Hi, > > I just take a look at the procedure > TnxWebScriptProcessor.DoHandleIncludes; > It's stange the try finally doesn't handle the error. Why that ? I don't > know. > For now, I just check the astring variable. > > Let me know the next step or what will be your patch. We are targeting a fix for 3.06, but so far I didn't have time to look at it. -- Hannes Danzl / NexusDB Manuals - http://www.nexusdb.com/support/index..._manual_v3.htm Issue Tracker - http://www.nexusdb.com/mantis/view_all_bug_page.php Newsgroup Web Gateway - http://www.nexusdb.com/forums/ Newsgroup Search - http://www.nexusdb.com/forums/search.php |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RichView data with nxscript pages | jprenou | nexusdb.public.discussions | 10 | 18th November 2010 01:38 AM |
| Encrypted nxscript pages | jprenou | nexusdb.public.discussions | 1 | 11th October 2010 01:20 PM |
| how to write sql functions ( with sql queries in it) in nxscript | Ad Franse | nexusdb.public.support.sql | 4 | 30th September 2009 02:43 PM |
| Throwing this out for comments | Robert Meek | nexusdb.public.discussions | 15 | 12th February 2004 04:29 AM |
| ODBC Comments | Jan-Erik Johansen | nexusdb.public.support.odbc | 0 | 15th October 2003 11:55 PM |