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

Reply via email to