I've yet to try it on 4.1 - i'll take a look at the problem and post an update soon.
BTW, i'll probably allow customization of those characters and default them to #{...} instead of ${...} The reason is that tacos (and perhaps tapestry later on) provides a binding that also makes use of these characters, i.e. <span jwcid="@Insert" value="template:User ${user.name} is ${user.age} years old!"/> which may not be that useful in this exact case, but is quite handy for defining javascript effects, e.t.c. >From Josh Long <[EMAIL PROTECTED]>: > Hello all, > > Anyone had any success getting the tapfx easy-insert component working in > tapestry 4.1? I tried (err.. dropped it in my classpath under WEB-INF/lib/ > and replaced a working <span jwcid="@Insert" value ="ognl: company.name"> > company</span> with ${company.name} on Home.html ) it in mine and was > rewarded with : > > vemodule.xml, line 23, column 21] > at > org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation > (AbstractServiceModelImpl.java:166) > at > org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation > (AbstractServiceModelImpl.java:140) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation > (SingletonServiceModel.java:69) > at > $TemplateSource_10cfef59b2c._service($TemplateSource_10cfef59b2c.java) > at > $TemplateSource_10cfef59b2c.getTemplate($TemplateSource_10cfef59b2c.java) > at > $TemplateSource_10cfef59b2b.getTemplate($TemplateSource_10cfef59b2b.java) > at > org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate( > ComponentTemplateLoaderImpl.java:55) > at > $ComponentTemplateLoader_10cfef59bda.loadTemplate($ComponentTemplateLoader_10cfef59bda.java) > at org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent( > PageLoader.java:639) > at org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java > :77) > at org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java > :107) > at $Exception_4.finishLoad($Exception_4.java) > at org.apache.tapestry.pageload.PageLoader.constructComponent( > PageLoader.java:428) > at org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java > :603) > at $IPageLoader_10cfef59bd0.loadPage($IPageLoader_10cfef59bd0.java) > at $IPageLoader_10cfef59bd1.loadPage($IPageLoader_10cfef59bd1.java) > at org.apache.tapestry.pageload.PageSource.getPage(PageSource.java > :117) > at $IPageSource_10cfef59b37.getPage($IPageSource_10cfef59b37.java) > at org.apache.tapestry.engine.RequestCycle.loadPage( > RequestCycle.java:241) > at org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java > :228) > at org.apache.tapestry.error.ExceptionPresenterImpl.presentException > (ExceptionPresenterImpl.java:42) > ... 40 more > Caused by: org.apache.hivemind.ApplicationRuntimeException: Parameter > parameters must not be null. > [jar:file:/home/jlong/.m2/repository/tapfx/easy-insert/0.15/easy- > insert-0.15.jar!/META-INF/hivemodule.xml, line 23, column 21] > at > org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation > (InvokeFactoryServiceConstructor.java:66) > at > org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation > (AbstractServiceModelImpl.java:108) > at > org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation > (AbstractServiceModelImpl.java:158) > ... 60 more > Caused by: java.lang.NullPointerException: Parameter parameters must not be > null. > at org.apache.hivemind.util.Defense.notNull(Defense.java:41) > at > org.apache.hivemind.impl.ServiceImplementationFactoryParametersImpl.<init>( > ServiceImplementationFactoryParametersImpl.java:47) > at > org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation > (InvokeFactoryServiceConstructor.java:59) > ... 62 more > :WARN: Nested in org.apache.hivemind.ApplicationRuntimeException: Unable to > construct service EastInsert.EasyTemplateSource: Parameter parameters must > not be null. > [jar:file:/home/jlong/.m2/repository/tapfx/easy-insert/0.15/easy- > insert-0.15.jar!/META-INF/hivemodule.xml, line 23, column 21]: > org.apache.hivemind.ApplicationRuntimeException: Unable to construct service > EastInsert.EasyTemplateSource: Parameter parameters must not be null. > [jar:file:/home/jlong/.m2/repository/tapfx/easy-insert/0.15/easy- > insert-0.15.jar!/META-INF/hivemodule.xml, line 23, column 21] > > > Thanks again for any help, > > Josh > -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]