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 22:44:43 +0000
Thanks Ken, that covers it.
Do you also monitor wonder-disc? Have been puzzling over a ERQMListViewElement query on that list today - not sure if people tend to visit both lists. Sorry to contaminate this thread which is now complete.
John
On 15 Mar 2013, at 20:29, ISHIMOTO Ken <email@hidden> wrote:
> <wo:if condition="false">
>
> ...
>
> </wo:if>
>
>
>
> On 2013/03/15, at 19:38, John Pollard <email@hidden> wrote:
>
>> Yup, I think that must be it, so no commenting out code blocks in HTML then and I can comment away freely
>>
>> On 15 Mar 2013, at 18:14, Ramsey Gurley <email@hidden> wrote:
>>
>>> 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
>
>
_______________________________________________
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