You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nicholoz Koka Kiknadze <22...@gmail.com> on 2006/01/03 18:22:53 UTC

MaskEdit problems (Tap4 rc3)

Hi,

Does anyone have contrib:MaskEdit working? I get
org.apache.tapestry.BindingException which states:

 binding: ExpressionBinding[Entrant/MaskEdit MaskEdit.script] 
location: classpath:/org/apache/tapestry/contrib/form/MaskEdit.jwc,
line 43, column 53
38 </component> 39
 40 <component id="maskEditScript" type="Script"> 41 <binding
name="maskEdit" value="ognl:components.maskEdit"/> 42 <binding
name="maskValue" value="ognl:components.maskValue"/> 43 <binding
name="script" value="MaskEdit.script"/> 44 </component> 45
 46</component-specification> and stack trace after
ognl.NoSuchPropertyException starts with

   - ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123)

   - ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
   - ognl.ASTProperty.getValueBody(ASTProperty.java:96)
   - ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
   - ognl.SimpleNode.getValue(SimpleNode.java:210)
   - ognl.ASTChain.getValueBody(ASTChain.java:109)
   - ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
   - ognl.SimpleNode.getValue(SimpleNode.java:210)
   - ognl.Ognl.getValue(Ognl.java:333)
   - ognl.Ognl.getValue(Ognl.java:310)
   -
   org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
   (ExpressionEvaluatorImpl.java:91)
   - $ExpressionEvaluator_10889f4a456.readCompiled($ExpressionEvaluator_10889f4a456.java)

   - org.apache.tapestry.binding.ExpressionBinding.resolveExpression(
   ExpressionBinding.java:110)
   - org.apache.tapestry.binding.ExpressionBinding.getObject(
   ExpressionBinding.java:103)
   - org.apache.tapestry.binding.AbstractBinding.getObject(
   AbstractBinding.java:87)
   - $Script_25.getScriptPath($Script_25.java)
   - org.apache.tapestry.html.Script.getParsedScript(Script.java:106)
   - org.apache.tapestry.html.Script.renderComponent(Script.java:139)
   - org.apache.tapestry.AbstractComponent.render(AbstractComponent.java
   :617)


Seems the component can not find the JS file. Maybe some configuration
problems - do I need to configure anything besides putting <library
id="contrib"
specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library"/>
into application file?
TYA
Koka