Re: form woes
Ondřej Čada <[email protected]> Mon, 20 Feb 2012 11:40:26 +0100
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Chuck,
On Feb 20, 2012, at 6:21 AM, Chuck Hill wrote:
> Check the Properties file in ERXExtensions. There is a property that =
you set in your app that makes all the various places UTF-8. That is =
almost certainly your problem.
Could well be, but are all those propertied documented anywhere? I've =
checked both the properties file generated from the WONDER/WO project =
template and =
http://wiki.wocommunity.org/display/WONDER/Explanation+of+the+default+prop=
erties+in+a+Wonder+project, and found nothing of encodings.
> You are doing something wrong.
Matter of fact, I fear there's a grave bug somewhere in between =
Eclipse/WOLips/Groovy, which makes things a bit stochastic :(
At the very least, I've just the very now noticed the incremental =
compiler (or code injector or something) _does_ do weird things. I've =
got this trivial action:
WOComponent removePic() {
market.marketBannerData=3Dnull
market.marketBannerMIME=3Dnull
return sess().saveChangesAction()
}
and wanted to check details, so I've simply added
WOComponent removePic() {
println "Wutthe... (${market.marketBannerMIME})"
market.marketBannerData=3Dnull
market.marketBannerMIME=3Dnull
return sess().saveChangesAction()
}
saved, let the incremental compiler/code injector do its magic, and =
clicked the hyperlink which is bound to the action again. The result =
looks like this (where "model.DBMarket" is the class of the "market" =
thing whilst "this" is a components.MarketEditor_):
groovy.lang.MissingPropertyException: No such property: sess for class: =
model.DBMarket
Possible solutions: class
[2012-2-20 10:47:18 CET] <WorkerThread11> =
groovy.lang.MissingPropertyException: No such property: sess for class: =
model.DBMarket
Possible solutions: class
at =
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAda=
pter.java:50)
at =
org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getPrope=
rty(GetEffectivePogoPropertySite.java:86)
at =
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetP=
roperty(AbstractCallSite.java:231)
at components.MarketEditor_.removePic(MarketEditor_.groovy:56)
Something's right fishy there. Guess I'd rather wipe out all the stuff =
and re-install from scratch :(
Oh, sigh. Thanks a lot for all the advices!
---
Ondra =C4=8Cada
OCSoftware: [email protected] http://www.ocs.cz
private [email protected] http://www.ocs.cz/oc