Re: How to store the query parameters in a Table component?
when you enter a new search parameter, try resetting the table Table table = (Table) this.getComponent(myTable); table.reset(); Jun Tsai wrote: hi all, I have a search form and a talbe in a page.When I enter some search text in form and click search button,results was shown in table component.ButWhen I click the second page link.I found the results is all records not by search parameters.How to store the search text in table pages? I had used a property name=searchStr persist=session/ ,but it still had a same problem . How to ? Thanks Jun Tsai --DISCLAIMER-- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Lisle Technology Partners Pvt. Ltd. and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new submitType parameter
Jesse Kuhnert wrote: It is required with a default value, so no one actually ever needs to specify it if they don't want to. I wonder how I couldn't have noticed this... it must be from tiredness... sorry about that. Bernard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: @Block, accessing the caller's properties
Robert, This does offer greater flexibility indeed. Thanks for the tip! /Firas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 4:18 PM To: Tapestry users Subject: Re: @Block, accessing the caller's properties Note that getInvoker is a 4.x idiom. If you're using tapestry 3.x, you want the getInserter() method (deprecated in favor of getInvoker in 4.0). You can also do interesting things like: div jwcid=@RenderBlock block=ognl:block informalParam1=ognl:foo/ and then your block can do something like: blockComponent.getInvoker() (or getInserter() for 3.x).getBinding(informalParam1).getObject(); Which let's you pass a variety of things around, in interesting manners. (Eg: passing components to pages, passing parameters to pages, etc.) Robert Check out Block's getInvoker() method. Try blockComponent.getInvoker().getPage().getSomePageProperty() Regards, Norbi Firas Adiler wrote: Hello, Can a Block-component access the page/component that's calling RenderBlock? Assume page C contains this call: jwcid=@RenderBlock block=ognl:someBlock Can someBlock access page C's properties? Thanks for your time! /Firas - --- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.8/414 - Release Date: 2006.08.09. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Open Source CRM
Is there anywhere a demo? I can't find it. Konstantin Ignatyev wrote: Friend of mine did something and hosts demo on my site: http://kgionline.com/crmt/app It is not complete but he has pretty darn good ideas about CRM systems (he buit few) and seeks somebody to teem up and finish the beast. --- Ernst Thielmann [EMAIL PROTECTED] wrote: I'm searching for an open source CRM. Is there an open source CRM written in Tapestry 4? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Konstantin Ignatyev PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000 Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools. New York: State University of New York Press, 1997: (4) (5) (p.206) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Checkbox inside contrib:table (again)
Thanks a lot Robert On 8/10/06, Murray Collingwood [EMAIL PROTECTED] wrote: I didn't realise you could code the @Block outside the table... My mistake. Cheers mc On 10 Aug 2006 at 16:14, [EMAIL PROTECTED] wrote: On Fri, Aug 11, 2006 at 08:26:51AM +1000, Murray Collingwood wrote: When you are using the contrib:Table you specify the columns parameter for each column to appear in your table. I think you understand this but you haven't mentioned much detail. So, in Robert's example there are 3 columns defined. By default each column will be populated with data from that property as each row is processed. Is this working for you. You haven't mentioned but I will again assume this is working. Next, you want to add or replace a column with a checkbox. You then code the span jwcid=[EMAIL PROTECTED]Something else/span to specify the replacement column value for this property (that is the property is no longer displayed and in it's place something else is inserted). Robert's example closed the table too early, however that it easily corrected and we can expand it to include some other parameters. Something like: 2 notes here: 1) I forgot to put the source attribute in my example, as you noticed. :) 2) The block's don't have to be enclosed within the table component. They can come before the table, or after it, or wherever. :) Robert table jwcid=[EMAIL PROTECTED]:Table columns=foo,bar,baz source=ognl:myCollectionOfValues row=ognl:currRow span jwcid=[EMAIL PROTECTED] labelinput type=checkbox jwcid=@Checkbox selected=ognl:currRow.baz / Baz/label /span /table Maybe this will work for you. Cheers mc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FOCUS Computing - web design Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 10/08/2006 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hivemodule.xml and classpaths and jetty6 and maven 2 snapshots..
This is how I inject spring into my engine service: service-point id=LandingService interface=org.apache.tapestry.engine.IEngineService invoke-factory construct class=engine.LandingService set-object property=responseRenderer value=infrastructure:responseRenderer/ set-object property=linkFactory value=infrastructure:linkFactory/ set-service property=request service-id=tapestry.globals.HttpServletRequest/ set-service property=response service-id=tapestry.globals.HttpServletResponse/ set-object property=pageService value=service:tapestry.services.Page/ set-object property=homePageName value=app-property:org.apache.tapestry.home-page/ set-object property=notFoundPageName value=app-property:org.apache.tapestry.notfound-page/ set-object property=market value=spring:personal.Market/ set-service property=identity service-id=Identity/ /construct /invoke-factory /service-point Josh Long [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] I was usuing tapestry 4.1.1-snapshot gleefully and one day it (maven and the snapshot with it) updated above and beyond 4.1.1-20060802.044417-5 (the particular snapshot iteration after which my build stop working around a week or two ago). I was receiving strange errors about classpath conflicts, etc. I pinned my snapshot iteration down and just now took another whack at resolving the issue. the errors were related to hivemodule.xml having a conflict with the class path of the tapestry framework jars hivemodule.xml. so, first question: where (if not webapp/WEB-INF/) does hivemodule.xml properly go? Right now i have hivemodule.xml named oldhivemodule.xmla nd everything works properly.. except all the things hivemodule.xml was responsible for (engine services, freindly-urls, a custom persistence mechanism...) And, while im on a hivemodule roll, would someone be kind enough to show me how i would inject a spring bean accessible through spring:foo into an engine service? Im not quite sure I get the factory/create-instance/lightweight initialization etc routine, and cant figure out for the live of me what i would need to get a tapestry service wired with a spring bean... Thanks again! Peace, Josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Namespaces Overriding Pages
I have a situation where I have a set of pages defined by a library. These flow from one to another -- Michael Prescott
Re: Strange HiveMind/T4 error message
Hivemind and Tapestry JARs need to be in the same place if you use Tomcat, not sure about Jetty. The problem arisises if they are not using the same classloader. Do you have HM JARs in a shared/lib directory? I just put everything in WEB-INF/lib. Other options are just too much bother with classloader issues. Henrik Michael Gentry (Yes, I'm a Contractor) [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] Environment: T4 4.0.2, HM 1.1.1, Jetty 5.1.8, Eclipse 3.2, JettyLauncher 1.4.1 In Eclipse, I have a Tapestry and HiveMind User Library defined which specifies all the JAR files in a directory path outside of the Eclipse workspace. I included these User Libraries in my project and all was fine. I could launch using JettyLauncher and run/debug. I then removed the User Libraries from the project and copied the JAR files directly into the project¹s context/WEB-INF/lib directory. All was no longer fine. I would get the following strange error. If you look closely, the path it specifies as containing the duplicate module is the same exact path. Any ideas why? I removed all the JAR files and went back to using the User Library defintions. Thanks! /dev/mrg PS. When I ran using the HiveMind User Library definition, but had the T4 JAR files copied into context/WEB-INF/lib, I¹d get a similar error message. In a nutshell, I couldn¹t have HiveMind or Tapestry JAR files in context/WEB-INF/lib. org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated! Definition in jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml has been ignored in favor of existing definition from jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml. org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39 ) org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescript or(RegistryInfrastructureConstructor.java:202) org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(Reg istryBuilder.java:168) org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j ava:143) org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet. java:253) org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194) org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383) org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243) org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j ava:446) org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic ationHandler.java:321) org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContex t.java:509) org.mortbay.util.Container.start(Container.java:72) org.mortbay.http.HttpServer.doStart(HttpServer.java:708) org.mortbay.util.Container.start(Container.java:72) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104) com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange HiveMind/T4 error message
There is a workaround for this. I don't remember it off the top of my head, but many have encountered this. Just search this list for the answer. It has something to do with the Jetty launcher in Eclipse setting up duplicate classpaths or something. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content Sent: Friday, August 11, 2006 11:02 AM To: users@tapestry.apache.org Subject: Re: Strange HiveMind/T4 error message Hivemind and Tapestry JARs need to be in the same place if you use Tomcat, not sure about Jetty. The problem arisises if they are not using the same classloader. Do you have HM JARs in a shared/lib directory? I just put everything in WEB-INF/lib. Other options are just too much bother with classloader issues. Henrik Michael Gentry (Yes, I'm a Contractor) [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] Environment: T4 4.0.2, HM 1.1.1, Jetty 5.1.8, Eclipse 3.2, JettyLauncher 1.4.1 In Eclipse, I have a Tapestry and HiveMind User Library defined which specifies all the JAR files in a directory path outside of the Eclipse workspace. I included these User Libraries in my project and all was fine. I could launch using JettyLauncher and run/debug. I then removed the User Libraries from the project and copied the JAR files directly into the project¹s context/WEB-INF/lib directory. All was no longer fine. I would get the following strange error. If you look closely, the path it specifies as containing the duplicate module is the same exact path. Any ideas why? I removed all the JAR files and went back to using the User Library defintions. Thanks! /dev/mrg PS. When I ran using the HiveMind User Library definition, but had the T4 JAR files copied into context/WEB-INF/lib, I¹d get a similar error message. In a nutshell, I couldn¹t have HiveMind or Tapestry JAR files in context/WEB-INF/lib. org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated! Definition in jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml has been ignored in favor of existing definition from jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml. org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39 ) org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescript or(RegistryInfrastructureConstructor.java:202) org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(Reg istryBuilder.java:168) org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j ava:143) org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet. java:253) org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194) org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383) org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243) org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j ava:446) org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic ationHandler.java:321) org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContex t.java:509) org.mortbay.util.Container.start(Container.java:72) org.mortbay.http.HttpServer.doStart(HttpServer.java:708) org.mortbay.util.Container.start(Container.java:72) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104) com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: Contrib:Table problems with layout
You should remove the hivemind libs from the eclipse start configuration for your container (at least that was the case with jetty) -Original Message- From: hv @ Fashion Content [mailto:[EMAIL PROTECTED] Sent: Freitag, 11. August 2006 17:08 To: users@tapestry.apache.org Subject: Re: Contrib:Table problems with layout mimetypes DOCTYPES influence wether the browser goes in quirks mode or compliant mode. When you serve a page using a web server it may get a diffrent mime type than the one you get if you show a file on your harddisk. Test like for like when comparing starting out with identical files and modify them until you get rid of/first see the problem. Use Firefox with extra developer plugins, then you can see what mode the browser is using. http://www.456bereastreet.com/ links to some really good books on CSS Henrik Murray Collingwood [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] This sounds like an HTML issue. Tapestry components are added into standard HTML, they do not generate any different HTML than you have already specified. For example, you say the contribTable appears at the right of the page, perhaps you are specifying widths on your static tables - maybe you need to add the width parameter to your contribTable. Cheers mc On 10 Aug 2006 at 18:48, Vinicius Carvalho wrote: Hello there! *I've seen some discussions regarding this topic but didn't find one that could help* I was having problems with the layout of my table, but I was ignoring, thinking that might have been a tag opened that I left open. Today I look it closer and found out that seems to be a bug. My page uses a template with renderbody/renderblock, it's something like this., really simple: html @shell body @body table tr td//header goes here/td /tr tr tdspan [EMAIL PROTECTED]//td /tr /table That's it for the template. The page I insert the table has a table and a form: span jwcid=@MyLayout span @Form table .../table br table jwcid=contribTable/table /span /span What's happening is that the contrib table is being displayed totally out of place, on the right side of the page. I've replaced the dynamic generated table by a static one, and It is laid on the correct place. Any ideas? PS:Hope get some answers on this post (after so many empty :( ) :P - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FOCUS Computing - web design Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date: 9/08/2006 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange HiveMind/T4 error message
You should remove the hivemind libs from the eclipse start configuration for your container (at least that was the case with jetty) -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Freitag, 11. August 2006 17:05 To: 'Tapestry users' Subject: RE: Strange HiveMind/T4 error message There is a workaround for this. I don't remember it off the top of my head, but many have encountered this. Just search this list for the answer. It has something to do with the Jetty launcher in Eclipse setting up duplicate classpaths or something. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content Sent: Friday, August 11, 2006 11:02 AM To: users@tapestry.apache.org Subject: Re: Strange HiveMind/T4 error message Hivemind and Tapestry JARs need to be in the same place if you use Tomcat, not sure about Jetty. The problem arisises if they are not using the same classloader. Do you have HM JARs in a shared/lib directory? I just put everything in WEB-INF/lib. Other options are just too much bother with classloader issues. Henrik Michael Gentry (Yes, I'm a Contractor) [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] Environment: T4 4.0.2, HM 1.1.1, Jetty 5.1.8, Eclipse 3.2, JettyLauncher 1.4.1 In Eclipse, I have a Tapestry and HiveMind User Library defined which specifies all the JAR files in a directory path outside of the Eclipse workspace. I included these User Libraries in my project and all was fine. I could launch using JettyLauncher and run/debug. I then removed the User Libraries from the project and copied the JAR files directly into the project¹s context/WEB-INF/lib directory. All was no longer fine. I would get the following strange error. If you look closely, the path it specifies as containing the duplicate module is the same exact path. Any ideas why? I removed all the JAR files and went back to using the User Library defintions. Thanks! /dev/mrg PS. When I ran using the HiveMind User Library definition, but had the T4 JAR files copied into context/WEB-INF/lib, I¹d get a similar error message. In a nutshell, I couldn¹t have HiveMind or Tapestry JAR files in context/WEB-INF/lib. org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated! Definition in jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml has been ignored in favor of existing definition from jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml. org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39 ) org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescript or(RegistryInfrastructureConstructor.java:202) org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(Reg istryBuilder.java:168) org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j ava:143) org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet. java:253) org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194) org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383) org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243) org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j ava:446) org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic ationHandler.java:321) org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContex t.java:509) org.mortbay.util.Container.start(Container.java:72) org.mortbay.http.HttpServer.doStart(HttpServer.java:708) org.mortbay.util.Container.start(Container.java:72) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104) com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: Contrib:Table problems with layout
Ups. Sorry, wrong thread. -Original Message- From: Detlef Schulze Sent: Freitag, 11. August 2006 17:13 To: Tapestry users Subject: RE: Re: Contrib:Table problems with layout You should remove the hivemind libs from the eclipse start configuration for your container (at least that was the case with jetty) -Original Message- From: hv @ Fashion Content [mailto:[EMAIL PROTECTED] Sent: Freitag, 11. August 2006 17:08 To: users@tapestry.apache.org Subject: Re: Contrib:Table problems with layout [...] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tapestry [Hivemind] and OC4J another issue.
Hello there! I was reading the Hivemind list (I have event post there) and it's a known bug in OC4J 10.1.2 (Issue 166 I believe), that hivemind needs a hack to work with 10.1.2, but folks said that it works with 10.1.3. Well I've upgraded to 10.1.3 and I'm getting an error: org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.init.ApplicationSpecificationInitializer: Error building service tapestry.init.ApplicationSpecificationInitializer: Error at code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.jar!META-INF/tapestry.init.xml, line 46, column 89: Service interceptor factory hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.ISpecificationParser interceptor for service tapestry.parse.SpecificationParser as class $ISpecificationParser_10cfdcf2043: argument type mismatch [code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.jar!META-INF/tapestry.init.xml, line 42, column 21] at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:165) at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:139) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:68) at $ApplicationInitializer_10cfdcf2036._service($ApplicationInitializer_10cfdcf2036.java) at $ApplicationInitializer_10cfdcf2036.initialize($ApplicationInitializer_10cfdcf2036.java) at $ApplicationInitializer_10cfdcf2035.initialize($ApplicationInitializer_10cfdcf2035.java) at $ApplicationInitializer_10cfdcf2039.initialize($ApplicationInitializer_10cfdcf2039.java) at $ApplicationInitializer_10cfdcf202c.initialize($ApplicationInitializer_10cfdcf202c.java) at $ApplicationInitializer_10cfdcf202b.initialize($ApplicationInitializer_10cfdcf202b.java) at org.apache.tapestry.ApplicationServlet.initializeApplication(ApplicationServlet.java:299) at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:198) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3232) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230) at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.hivemind.ApplicationRuntimeException: Error building service tapestry.init.ApplicationSpecificationInitializer: Error at code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.jar!META-INF/tapestry.init.xml, line 46, column 89: Service interceptor factory hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.ISpecificationParser interceptor for service tapestry.parse.SpecificationParser as class $ISpecificationParser_10cfdcf2043: argument type mismatch [code-source:/java/servers/oc4j-10.1.3/j2ee/home/applications/chat/chat/WEB-INF/lib/tapestry-4.0.jar!META-INF/tapestry.init.xml, line 42, column 21] at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:88)
FW: Namespaces Overriding Pages
One more time, without the pre-emptive send. :-) I have an application made up of a bunch of pages, that will occasionally need to be customized. The customizations could involve changing pages, or changing the flow between pages - adding additional steps or removing some, for example. The idiom that seemed to make sense was putting the pages in a library and then externalizing the flow. Instead of having page A activate page B directly, it would delegate to a flow definition to see what page to activate. The flow definition could be provided by each customization project. This is more work than I'd like to do if I can accomplish it through judicious organization. After reading: http://tapestry.apache.org/tapestry4/UsersGuide/components.html#componen ts.libraries.namespace .. I wondered whether I could simply override the components in the library. In Libaries and Namespaces, it's stated that I can override pages or components in the framework namespace. Can I override library components in the same way, too? It looks like no; the overriding of framework components comes from the search order that Tapestry uses for pages requested with an unspecified namespace. Any guidance you can provide would be most helpful! Michael _ From: Michael Prescott Sent: August 11, 2006 10:40 AM To: 'users@tapestry.apache.org' Subject: Namespaces Overriding Pages I have a situation where I have a set of pages defined by a library. These flow from one to another -- Michael Prescott
Re: tapernate anonymous svn access?
Yes, that's the same problem I'm having. Is it supposed to be open for checkout? The project page said The source can be checked out anonymously from SVN with this command: svn checkout http://svn.javaforge.com/svn/tapestry/tapernate/trunk tapernate so I assumed I would be able to get it. Thanks, Danny James Carman wrote: I tried accessing the JavaForge svn repo today with anonymous/anon and it denied me. Is that what you mean? That's where tapernate is supposed to be living. -Original Message- From: Danny Mandel [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 2:33 PM To: Tapestry users Subject: tapernate anonymous svn access? I'm having problems getting to Tapernate's SVN repository without a username and password (the url from the webpage is: http://svn.javaforge.com/svn/tapestry/tapernate/trunk). Is anyone else having problems or have I done something silly? Thanks, Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hivemodule.xml and classpaths and jetty6 and maven 2 snapshots..
Thank you, hv! It's very, very appreciated. (Im sending myself that information in an email) Josh On 8/11/06, hv @ Fashion Content [EMAIL PROTECTED] wrote: This is how I inject spring into my engine service: service-point id=LandingService interface=org.apache.tapestry.engine.IEngineService invoke-factory construct class=engine.LandingService set-object property=responseRenderer value=infrastructure:responseRenderer/ set-object property=linkFactory value=infrastructure:linkFactory/ set-service property=request service-id=tapestry.globals.HttpServletRequest/ set-service property=response service-id=tapestry.globals.HttpServletResponse/ set-object property=pageService value=service:tapestry.services.Page/ set-object property=homePageName value=app-property:org.apache.tapestry.home-page/ set-object property=notFoundPageName value=app-property:org.apache.tapestry.notfound-page/ set-object property=market value=spring:personal.Market/ set-service property=identity service-id=Identity/ /construct /invoke-factory /service-point Josh Long [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] I was usuing tapestry 4.1.1-snapshot gleefully and one day it (maven and the snapshot with it) updated above and beyond 4.1.1-20060802.044417-5 (the particular snapshot iteration after which my build stop working around a week or two ago). I was receiving strange errors about classpath conflicts, etc. I pinned my snapshot iteration down and just now took another whack at resolving the issue. the errors were related to hivemodule.xml having a conflict with the class path of the tapestry framework jars hivemodule.xml. so, first question: where (if not webapp/WEB-INF/) does hivemodule.xml properly go? Right now i have hivemodule.xml named oldhivemodule.xmla nd everything works properly.. except all the things hivemodule.xml was responsible for (engine services, freindly-urls, a custom persistence mechanism...) And, while im on a hivemodule roll, would someone be kind enough to show me how i would inject a spring bean accessible through spring:foo into an engine service? Im not quite sure I get the factory/create-instance/lightweight initialization etc routine, and cant figure out for the live of me what i would need to get a tapestry service wired with a spring bean... Thanks again! Peace, Josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange HiveMind/T4 error message
Hmm, sounds like it might be Jetty-related then. My best guess so far was that HiveMind (or Java?) had a problem with symbolic links on a Unix system. My Eclipse workspace is ~/Projects/eclipse/workspace, but Projects is a symbolic link to /usr/local/mrg/Projects, so all of the JAR paths went through a symbolic link. I might try to test the Jetty settings in a bit. Thanks for the replies, /dev/mrg -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 11:05 AM To: 'Tapestry users' Subject: RE: Strange HiveMind/T4 error message There is a workaround for this. I don't remember it off the top of my head, but many have encountered this. Just search this list for the answer. It has something to do with the Jetty launcher in Eclipse setting up duplicate classpaths or something. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content Sent: Friday, August 11, 2006 11:02 AM To: users@tapestry.apache.org Subject: Re: Strange HiveMind/T4 error message Hivemind and Tapestry JARs need to be in the same place if you use Tomcat, not sure about Jetty. The problem arisises if they are not using the same classloader. Do you have HM JARs in a shared/lib directory? I just put everything in WEB-INF/lib. Other options are just too much bother with classloader issues. Henrik Michael Gentry (Yes, I'm a Contractor) [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] Environment: T4 4.0.2, HM 1.1.1, Jetty 5.1.8, Eclipse 3.2, JettyLauncher 1.4.1 In Eclipse, I have a Tapestry and HiveMind User Library defined which specifies all the JAR files in a directory path outside of the Eclipse workspace. I included these User Libraries in my project and all was fine. I could launch using JettyLauncher and run/debug. I then removed the User Libraries from the project and copied the JAR files directly into the project¹s context/WEB-INF/lib directory. All was no longer fine. I would get the following strange error. If you look closely, the path it specifies as containing the duplicate module is the same exact path. Any ideas why? I removed all the JAR files and went back to using the User Library defintions. Thanks! /dev/mrg PS. When I ran using the HiveMind User Library definition, but had the T4 JAR files copied into context/WEB-INF/lib, I¹d get a similar error message. In a nutshell, I couldn¹t have HiveMind or Tapestry JAR files in context/WEB-INF/lib. org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated! Definition in jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml has been ignored in favor of existing definition from jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml. org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39 ) org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescript or(RegistryInfrastructureConstructor.java:202) org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(Reg istryBuilder.java:168) org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j ava:143) org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet. java:253) org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194) org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383) org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243) org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j ava:446) org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic ationHandler.java:321) org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContex t.java:509) org.mortbay.util.Container.start(Container.java:72) org.mortbay.http.HttpServer.doStart(HttpServer.java:708) org.mortbay.util.Container.start(Container.java:72) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282) com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104) com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Overriding library pages components
I'll rephrase my question much more simply! Can I override pages or components in libraries the same way that I can override framework components? Michael Prescott
canonical way to add behavior?
Hi there - I think this is one of those questions that everyone-knows-the-answer so no one documents the answer for those who don't! The problem: I want to create a BroadcastMessage to hold entered information. Until the user successfully submits the page, the page needs to work on the same object. However, as per the documentation, using @InitialValue will result in 1 extra call to 'getNewEnvelope'. It also leaves a BroadcastMessage attached to the page which will cause a memory leak. The suggestion of doing this initialization in finishLoad() does not work for my case because the BroadcastMessageEntry component is passed a reference to the created BroadcastMessage and finishLoad() runs too late. I looked at using pageBeginRender but that has the opposite problem of seeming to run too early, before the values in the page are set. Also this solution has issues when the page is reloaded, or the back button is used. Thanks -Pat code snippet: public abstract class BroadcastMessageEntryPage extends BasePage { @InjectState(userInformation) public abstract Session getSession(); @Component(type=BroadcastMessageEntry, bindings = {broadcastEnvelope=broadcastEnvelope}) public abstract BroadcastMessageEntry getBroadcastMessageEntry(); @Persist @InitialValue(newEnvelope) public abstract BroadcastEnvelope getBroadcastEnvelope(); public abstract void setBroadcastEnvelope(BroadcastEnvelope broadcastEnvelope); public synchronized BroadcastEnvelope getNewEnvelope() { BroadcastEnvelope broadcastEnvelope = ... make new message ... return broadcastEnvelope; } public void createNewBroadcastMessage() { // process message // once submitted make sure that if the user uses the back button on the // browser that the same BroadcastEnvelope is not reused. setBroadcastEnvelope(getNewEnvelope()); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Easy insert and tapestry 4.1
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
Re: [OT] Why jwcid?
You can configure what attribute Tapestry uses to recognize components. The default is jwcid, you can change this to anything you like, even id. http://tapestry.apache.org/tapestry4/UsersGuide/configuration.html org.apache.tapestry.jwcid-attribute-name On 8/10/06, Karthik N [EMAIL PROTECTED] wrote: i largely agree, although for some cases tapestry chooses to override your assigned id, with an id that tapestry chooses. On 8/10/06, Nick Westgate [EMAIL PROTECTED] wrote: In addition, id (and maybe name) are useful attributes for javascript programming, so tapestry leaves them alone when it doesn't need them. That way you can still use them in your own javascript. Cheers, Nick. Karthik N wrote: every element that does not have the jwcid attribute is treated as normal html - tapestry does not care too much about it. every element that has jwcid is an indicator to tapestry that we're creating a tapestry component - so such html takes a very different lease of life as a tapestry component. On 8/9/06, Rui Pacheco [EMAIL PROTECTED] wrote: Hi all Its slightly off-topic, but I've been wondering about this for a while: why do we need to use jwcid to identify which elements in a form are to be treated as Tapestry components? Why not use the normal name and id identifiers used in HTML? Once again, I'm just curious, and sorry for disrupting the mailing list. We didn't have much traffic today either :) -- Cumprimentos, Rui Pacheco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Karthik -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com
Re: Easy insert and tapestry 4.1
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]
Re: Easy insert and tapestry 4.1
Hey josh, since i'm not yer ready for a release of easyinsert, here's an untested jar to try... 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 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 -- easy-insert.jar Description: application/jar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]