Hi, 

Short Story:
The problem (in my app) appears to be that put a WOstring in an html comment 
(with an WOGNL $ binding), it throws [ lookup of unknown key: ‘value’. ]  e.g.
<!-- <wo:WOString value="$now" /> —>


Long Story:
I am trying out ERJQMobile (instead of Ajax.framework) because it uses jQuery.
(Hoping that it won’t clash with other jQuery libraries as much as the Ajax 
ones does)

ERQMAjaxUpdateContainer.html contains this
-------
<wo:genericContainer elementName="$elementName" 
otherTagString="$otherTagString">
  <!-- _ju:<wo:WOString value = "$javaScriptElementID" /> -->
  <wo:content />
  <!-- _ju:<wo:WOString value = "$javaScriptElementID" /> -->
</wo:genericContainer>
-------

In the example (jQueryMobileExample), it works great and 
  <wo:ERQMAjaxUpdateContainer id = "AUCShowValues">
renders as:
  <div id="AUCShowValues">
  <!-- _ju:AUCShowValues —>
  ..
  .. etc


In my app it throw [ lookup of unknown key: ‘value’ ]

The problem (in my app) appears to be that put a WOstring in a comment (with an 
WOGNL $ binding), it fails to work.

I demonstrated this by trying:
<!-- <wo:WOString value="$now" /> —>
and the same issue occurs (lookup of unknown key: ‘value')

Notes that the following do work as expected:
<wo:WOString value="$now" />
<!-- <wo:WOString value="hello" /> —>

There must be some setting I have missed, but I cannot see any obvious 
differences between the ‘example’ and my code.
I have tried changing -WOIncludeCommentsInResponse, but that didn’t make any 
difference.

Any ideas?

Thanks, 

Mark Gowdy


 _______________________________________________
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