Hi Louis,
Am 29.02.2008 um 05:35 schrieb Louis Demers:
>
> On 28-Feb-08, at 23:05 , Mike Schrag wrote:
>
>>>> <wo:str value = "$someBrokenBinding // VALID"/>
>>>
>>> that's the notation I'm using but it's not working for me. But
>>> i'll further investigate.
>> You said you're using 5.4, though ... Are you using 5.4 inline
>> bindings or Wonder's WOOgnl inline bindings parser?
>
> my binding is <wo:string value =
> "$aSpec.parts..um.partCount //VALID " />
You'll need a version of WOnder younger than December 22, that's when
this was committed.
HTH, Fabian
> well running crashes with
>
> Error:
> valueForKey(): lookup of unknown key: 'partCount //VALID '. This
> class does not have an instance variable of the name partCount //
> VALID or _partCount //VALID , nor a method of the name partCount //
> VALID , _partCount //VALID , getPartCount //VALID , or
> _getPartCount //VALID ' object '' key 'partCount //VALID '> (stack
> trace et the end)
>
> without //VALID it works. I do get a warning listed in eclipse about
> it being "unable to verify operator 'sum.partcount'
>
> I could have sworn it was WOOgnl. I remember when I switched to
> inline I followed http://wiki.objectstyle.org/confluence/display/WOL/Modern+Binding+Styles
> and I tried many things before I got it to work. I may have
> accidently gotten 5.4 to work before WOOgnl.
>
>
> when I set in my properties file
>
> ognl.active = false
> ognl.inlineBindings=false
>
> it stops working which convinced me it was Wonder's WOOgnl inline
> bindings parser/
>
>
>
>
> Louis Demers eng.
> www.obzerv.com
>
>
> WOMLTemplateParserErrorHandler
> .fatalError(org.xml.sax.SAXParseException: Open quote is expected
> for attribute "value" associated with an element type "wo:string".)
> Feb 28 23:27:50 Obzerv[56161] (ERXNSLogLog4jBridge.java:41) WARN
> NSLog -
> <com.webobjects.appserver._private.WOComponentRequestHandler>:
> Exception occurred while handling request:
> com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
> PageWrapper: 5:28: Open quote is expected for attribute "value"
> associated with an element type "wo:string".
> [2008-2-28 23:27:50 EST] <WorkerThread0>
> com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
> PageWrapper: 5:28: Open quote is expected for attribute "value"
> associated with an element type "wo:string".
> at
> com
> .webobjects
> .appserver
> .parser.woml.WOMLTemplateParser.process(WOMLTemplateParser.java:346)
> at
> com
> .webobjects
> .appserver
> .parser.woml.WOMLTemplateParser.parse(WOMLTemplateParser.java:505)
> at
> com
> .webobjects
> .appserver
> .parser.WOHTMLTemplateParser.parse(WOHTMLTemplateParser.java:40)
> at
> com
> .webobjects
> .appserver
> .parser
> .WOComponentTemplateParser
> .templateWithHTMLAndDeclaration(WOComponentTemplateParser.java:239)
> at
> com
> .webobjects
> .appserver
> ._private.WOComponentDefinition.template(WOComponentDefinition.java:
> 386)
> at com.webobjects.appserver.WOComponent.template(WOComponent.java:
> 501)
> at
> com
> .webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
> 1111)
> at er.extensions.ERXComponent.appendToResponse(ERXComponent.java:101)
> at
> com
> .webobjects
> .appserver
> ._private
> .WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at
> com
> .webobjects
> .appserver
> ._private
> .WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at
> com
> .webobjects
> .appserver
> ._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
> at
> com
> .webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
> 1121)
> at er.extensions.ERXComponent.appendToResponse(ERXComponent.java:101)
> at
> com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:
> 1385)
> at er.extensions.ERXSession.appendToResponse(ERXSession.java:527)
> at
> com
> .webobjects
> .appserver.WOApplication.appendToResponse(WOApplication.java:1785)
> at
> er.extensions.ERXApplication.appendToResponse(ERXApplication.java:
> 1372)
> at
> com
> .webobjects
> .appserver
> ._private
> .WOComponentRequestHandler
> ._dispatchWithPreparedPage(WOComponentRequestHandler.java:242)
> at
> com
> .webobjects
> .appserver
> ._private
> .WOComponentRequestHandler
> ._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
> at
> com
> .webobjects
> .appserver
> ._private
> .WOComponentRequestHandler
> ._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
> at
> com
> .webobjects
> .appserver
> ._private
> .WOComponentRequestHandler
> ._handleRequest(WOComponentRequestHandler.java:369)
> at
> com
> .webobjects
> .appserver
> ._private
> .WOComponentRequestHandler
> .handleRequest(WOComponentRequestHandler.java:442)
> at
> com
> .webobjects
> .appserver.WOApplication.dispatchRequest(WOApplication.java:1678)
> at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:
> 1439)
> at
> com
> .webobjects
> .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
> at
> com
> .webobjects
> .appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: org.xml.sax.SAXParseException: Open quote is expected for
> attribute "value" associated with an element type "wo:string".
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
> at
> com
> .webobjects
> .appserver
> .parser.woml.WOMLTemplateParser.process(WOMLTemplateParser.java:338)
> ... 26 more
>
This archive was generated by hypermail 2.0.0 : Fri Feb 29 2008 - 03:40:40 EST