It seems that the ArtifactInfo screen fails while scanning an artifact that
contains ${groovy: ...}
I got the error while scanning this:

    <form name="PartyAcctgPreference" type="single"
target="createPartyAcctgPreference"
default-map-name="aggregatedPartyAcctgPreference"
            header-row-style="header-row" default-table-style="basic-table">
        <actions>
..........
        <field name="fiscalYearStartMonth"
use-when="partyAcctgPreference==null"
            tooltip="${groovy: import org.ofbiz.base.util.UtilProperties;
if(aggregatedPartyAcctgPreference!=
null&amp;&amp;aggregatedPartyAcctgPreference.get('fiscalYearStartMonth')!=null)return
(UtilProperties.getMessage('AccountingUiLabels', 'AccountingInheritedValue',
locale))}">
            <drop-down>
                <option key="1"
description="${uiLabelMap.AccountingFiscalMonth01}"/>
                <option key="2"
description="${uiLabelMap.AccountingFiscalMonth02}"/>
..........


2010/9/10 BJ Freeman <[email protected]>

> trunk demo rev 993407
> screen error
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://webtools/widget/ArtifactInfoScreens.xml#ArtifactInfo]:
> org.ofbiz.base.util.GeneralException: Error running Groovy script at
> location
> [component://webtools/webapp/webtools/WEB-INF/actions/artifactinfo/ArtifactInfo.groovy]
> (org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed:
> script12840697077411507847535.groovy: 1: Expression list of the form (a; b;
> c) is not supported in this context. at line: 1 column: 272. File:
> script12840697077411507847535.groovy @ line 1, column 272.
>
> log error
> 2010-09-09 14:49:55,453 (TP-Processor8) [ ModelForm.java:214:ERROR] ----
> runtime exception report --------------------------------------------------
> Error parsing form [PartyAcctgPreference]:
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed: script12840689954471507847535.groovy: 1: Expression list of the form
> (a; b; c) is not supported in this context. at line: 1 column: 272. File:
> script12840689954471507847535.groovy @ line 1, column 272. ll)return
> (UtilPrope ^ 1 error Exception:
> org.codehaus.groovy.control.MultipleCompilationErrorsException Message:
> startup failed: script12840689954471507847535.groovy: 1: Expression list of
> the form (a; b; c) is not supported in this context. at line: 1 column: 272.
> File: script12840689954471507847535.groovy @ line 1, column 272. ll)return
> (UtilPrope ^ 1 error ---- stack trace
> ---------------------------------------------------------------
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed: script12840689954471507847535.groovy: 1: Expression list of the form
> (a; b; c) is not supported in this context. at line: 1 column: 272. File:
> script12840689954471507847535.groovy @ line 1, column 272. ll)return
> (UtilPrope ^ 1 error
> org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
> org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:829)
> org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
> org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
> g
>
> =========================
> BJ Freeman  <http://bjfreeman.elance.com>
> Strategic Power Office with Supplier Automation  <
> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
>
>

Reply via email to