• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Private coding comments in WO .html files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Private coding comments in WO .html files


  • Subject: Re: Private coding comments in WO .html files
  • From: ISHIMOTO Ken <email@hidden>
  • Date: Fri, 15 Mar 2013 21:29:23 +0100

<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

  • Follow-Ups:
    • Re: Private coding comments in WO .html files
      • From: John Pollard <email@hidden>
References: 
 >Private coding comments in WO .html files (From: John Pollard <email@hidden>)
 >Re: Private coding comments in WO .html files (From: Ramsey Gurley <email@hidden>)
 >Re: Private coding comments in WO .html files (From: John Pollard <email@hidden>)
 >Re: Private coding comments in WO .html files (From: Ramsey Gurley <email@hidden>)
 >Re: Private coding comments in WO .html files (From: John Pollard <email@hidden>)

  • Prev by Date: Editing Context getting stripped off new EO in ERXD2WInspectPage
  • Next by Date: Re: Editing Context getting stripped off new EO in ERXD2WInspectPage
  • Previous by thread: Re: Private coding comments in WO .html files
  • Next by thread: Re: Private coding comments in WO .html files
  • Index(es):
    • Date
    • Thread