Re: Private coding comments in WO .html files
Re: Private coding comments in WO .html files
- Subject: Re: Private coding comments in WO .html files
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 15 Mar 2013 11:14:23 -0700
I may be wrong, but I think that one stays because it has wo tags in it. Try
<!--
my multi line comment
-->
On Mar 15, 2013, at 10:54 AM, John Pollard wrote:
> Now I see that there is a WOIncludeCommentsInResponse which I have as false
> Some comments are stripped out, others not.
> For example a code block:
>
> <!--
> <wo:ERQMListView inset = "true" theme = "b">
> <wo:foreach list="$childWebPages" item="$nextChildWebPage">
> <wo:ERQMListViewElement linkResource="da://DirectAction:viewPage" queryDictionary = "$viewSubPageDict">
> <wo:WOString value="$nextChildWebPage.name"/>
> </wo:ERQMListViewElement>
> </wo:foreach>
> </wo:ERQMListView>
> -->
>
> has been fully expanded in the return page, still enclosed in the comments
>
> Is this kind of block-commenting out of code not supported?
>
> On 15 Mar 2013, at 17:39, Ramsey Gurley <email@hidden> wrote:
>
>> Unless I'm badly mistaken <!-- --> will actually be stripped before it is sent down. At least, that was the case back when I wrote the IE conditional comment component. I think there's a setting on the app to turn this on/off but I'm too lazy to look right now :)
>>
>> Ramsey
>>
>> On Mar 15, 2013, at 10:36 AM, John Pollard wrote:
>>
>>> Hi List,
>>>
>>> What is the best way to add comments to a WO html file that are kept private; i.e. please strip out server side when dynamically building the page.
>>> If I use <!-- ... --> then my notes get faithfully replicated to the world of course which I don't want.
>>> I have this ridiculous situation of not wanting to comment my html because it will pollute the final page content.
>>>
>>> John
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden