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: John Pollard <email@hidden>
- Date: Fri, 15 Mar 2013 17:54:26 +0000
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