Fantastic, it worked perfectly.  I added ENCODING=metahtml.  Once added,  leaving or removing the ENCODING=_javascript_ made no difference.
 
Thanks :)
Gerard
----- Original Message -----
Sent: Friday, February 14, 2003 5:32 PM
Subject: RE: Witango-Talk: _javascript_ reads Tango tags from database

Try encoding=metahtml
That way the metatags will be evaluated by the server. However if you have any characters that _javascript_ will choke on, then you may need to wrap a @format tag around it with encoding=_javascript_.
 
Dave Shelley
-----Original Message-----
From: Gerard [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 5:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: _javascript_ reads Tango tags from database

That worked Great thanks.  A new problem has arisen however.  Now, I am getting an error 403 Forbidden Access:
 
 

Forbidden

You don't have permission to access /RealEstate/ProjectActive/<@APPFILEPATH>index.taf on this server.


Apache/1.3.6 Server at hp Port 80
 
 
and the URL reads:   http://127.0.0.1/RealEstate/ProjectActive/<@APPFILEPATH>index.taf?_function=propertyInfo&<@USERREFERENCEARGUMENT>
 
Any thoughts,
Gerard
----- Original Message -----
Sent: Friday, February 14, 2003 4:52 PM
Subject: Re: Witango-Talk: _javascript_ reads Tango tags from database

Hi Gerard,
 
If you are using Witango to dynamically write "strings" to be read by _javascript_ - then try ENCODING=_javascript_
 
Hope this helps. Cheers....
 
 
----- Original Message -----
From: Gerard
Sent: Friday, February 14, 2003 2:40 PM
Subject: Witango-Talk: _javascript_ reads Tango tags from database

Hi,
 
I'm having a bit of a problem and am not able to figure out how to resolve it.  The code below is part of some _javascript_ that generates the sub-menu of a drop-down menu dynamically.  Basically, the owner of the web site may go to Administration and assign the Main and Sub-Menu names and HyperLinks.  Up until now I have not included the ENCODING="multilinhtml", which was a recent, futal attempt to resolve my problem.  With or without it, it works great, until I introduce a link to a tango application page, which of course requires a "<", ">" and "&" symbol.  Instead of getting these symbols value, I get "&lt;", "&gt;" and "&amp;" in their place, hence why I tried using "ENCODING='multilinehtml'", to no avail.  I underlined and highlighted the code lettering that was giving me trouble in red.
 
The line that I entered in the database was:   <@APPFILEPATH>index.taf?_function=propertyInfo&<@USERREFERENCEARGUMENT>
is represented as:                                       &lt;@APPFILEPATH&gt;index.taf?_function=propertyInfo&amp;&lt;@USERREFERENCEARGUMENT&gt;
 
    //-- Create sub-menu --
    <@ROWS START=1 STEP=1 ARRAY="@@Application$SubMenu">
     <@IF EXPR="@@Application$SubMenu[<@CURROW>,3] = 'y'">
      <@IF EXPR="@@Application$SubMenu[<@CURROW>,2] = '@@user$MainMenuItem'">
       appendSTMI("false","@@Application$SubMenu[<@CURROW>,4]","left","middle","","","-1","-1","0","normal","transparent","transparent","","1","-1","-1","<@APPFILEPATH>blank.gif","<@APPFILEPATH>blank.gif","-1","-1","0","","<@VAR SubMenu[<@CURROW>,6] SCOPE='Application' ENDODING='multilinehtml'>","_self","Arial","8pt","#000000","normal","normal","none","Arial","8pt","#000000","normal","normal","none","1","solid","#cccccc","#cccccc","#999999","#999999","#cccccc","#cccccc","#999999","#999999",
"<@VAR SubMenu[<@CURROW>,6] SCOPE='Application' ENDODING='multilinehtml'>","<@APPFILEPATH>xp3.gif","<@APPFILEPATH>xp4.gif","tiled","tiled");
      <
/@IF>
     <
/@IF>
    <
/@ROWS>
 
If anyone can help me it would be GREATLY appreciated.
 
Thanks,
Gerard
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to