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 protected]> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to