Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you deal with double quote?
Message
 
To
05/12/2001 09:22:56
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00586726
Message ID:
00589781
Views:
47
>>>>
>>>>What I'm saying is if you have templates and they have ASP style tags in there, then you have an easy spot to apply the FixHTMLForDisplay() function call on your ASP tags.
>>>>
>>>>I don't understand what you mean when you say you don't have a hook to put the call to that function (and/or DisplayMemo() for that matter)... your template pages are the place to put it... If there are no expansion tags, then use FILETOSTR() and Response.Write().
>>>
>>>FILETOSTR() and Response.Write() will only put the text as is without replacing my HTML form values. So, this is why I have to call Response.ExpandTemplate() in order to get them. I don't understand how I can obtain those values without calling Response.ExpandTemplate().
>>
>>Michel,
>>
>>You can place the FixHTMLForDisplay() in the template where you use the substitution of text from your database.
>>
>>% = FixHTMLForDisplay(MyValue) %
>
>Yes, this is what I did. However, the topic of this thread seems to have shifted a little bit as I seem to understand that I could avoid calling Response.ExpandTemplate() to obtain the same result. Is that it?

I dont know for the shifting of the thread...

But continue to use Expandtemplate in the code
and include FixHTMLForDisplay in the HTML template
to obtain the result you want without having to
create your own routine to substitute characters in strings.

:-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform