RE: T5 component parameter binding not updated
hi martin, try to set the cache attribute of your @Parameter annotation of your currentPage component parameter to false @Parameter(cache=false,...) g, kris Martin Grotzke [EMAIL PROTECTED] 11.07.2007 22:20 Bitte antworten an Tapestry users users@tapestry.apache.org An Tapestry users users@tapestry.apache.org Kopie Thema T5 component parameter binding not updated Hi, I wrote a simple pager component but one parameter (currentPage) is not updated in a second request. In the template I have the following: t:pager t:numberOfPages=${numberOfPages} t:currentPage=${currentPage} ... some other attributes ... / In the page class this currentPage accessor: public int getCurrentPage() { return _currentPage; } which is an int and has the correct values in all requests. The pager component contains this currentPage property @Parameter(required = true, defaultPrefix=prop) private Integer _currentPage; which is used in @BeginRender boolean beginRender( MarkupWriter writer ) which returns false (no other render methods, no template). When I debug the code I see, that the first time, the _currentPage is accessed, the pages getCurrentPage method is invoked. In all subsequent page requests, the value of the first request is still stored and not updated. What am I doing wrong, or should T5 behave differently? Do I have to take any action to unbind/uncache/reset the currentPage property in the pager component? Thanx cheers, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [T5] Mixing usage
hi david, i don't think this is possible. although you can access the ActionLink instance by injecting it with: @Inject ComponenResources compRes; comRes.getComponent() you cannot access the context parameter as it is a private field. you could provide a own actionlink component with a getter method or you could try to add a JIRA and hope someone is adding getter methods to the actionlink component itself :) g kris David Avenante [EMAIL PROTECTED] 11.07.2007 23:59 Bitte antworten an Tapestry users users@tapestry.apache.org An Tapestry users users@tapestry.apache.org Kopie Thema [T5] Mixing usage Hi, I try to add a mixin on an ActionLink like this : @Component @Mixins(MyMixin) private ActionLink link1; Is it possible to access in MyMixin the property private List? _context; available in the ActionLink ? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
use dynamic stylesheet
hi all i'm trying to make a web application use different stylesheets based on the url, eg. we will have different versions of the site based on the subdomain, so the site will essentially be the same, but the layout/gui will be different this is what i have in my Border.java public IAsset getStylesheet() { Resource cpr = new ContextResource(new ApplicationGlobalsImpl().getServletContext(), /path/to/components/style1.css); return new ContextAsset(getBasePage() .getHttpServletRequest() .getContextPath(), cpr, new LocationImpl(cpr), getBasePage().getRequestCycle()); } in my Border.jwc Shell component spec, i have binding name=stylesheet value=stylesheet/ the link tag that shows up in the html looks like (which is not working) link rel=stylesheet type=text/css href=/app/path/to/components/style1.css/ but what i need is link rel=stylesheet type=text/css href=/app/assets/557f2081d45a7528f898e7e384717596/path/to/components/style1.css/ which is how it works with the static assets can anyone help me out? thanks dave -- View this message in context: http://www.nabble.com/use-dynamic-stylesheet-tf4066464.html#a11554775 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5]Global object?
Hi, So I created a singleton class with static field, created at the first session since the last server restart, but I didn't understand why I should use the ASO notation also. I don't need, I think, to store the object in the session, would be redundant, wouldn't be? The object is already available at the page level since I created services to get and update info from this object. Mainly, my UserList store a list of User objects with live fields online/offline, lastIP, lastTimeConnected I don't want to store in my DB (maybe only one of them, if really needed). When the server will restart, new sessions will be created and this creation will update the user status - something like a shared contact list. M. 2007/7/11, Howard Lewis Ship [EMAIL PROTECTED]: You can use the @ApplicationState annotation on a field to mark it as an application-wide state object. It will be stored in the HttpSession. Most of the infrastructure for storing such an object in the ServletContext is available; see the ApplicationStatePersistenceStrategySource service. What's missing is to define a context application state persistence strategy, contribute it to the service, and contribute a ApplicationStateContribution to the ApplicationStateManager service to defne that your ASO belongs in the context, not the (default) session. Again, these are things that will eventually be cooked right into Tapestry (hint: add a JIRA issue) but in the meantime, can be added on an ad-hoc basis. Now that's what I call Dependency Injection! Side note: and that's why we need T5 IoC and not Guice or Spring. Those don't have a concept similar to Tapestry's service configuration / contribution system. On 7/11/07, Michael Bernagou [EMAIL PROTECTED] wrote: Hi, I search into the mailing list and didn't find how to declare an object such as an ArrayList at the context level. ASO is for session and @Persist for requests, but what about the Application/Context level? My site needs to maintains a list of users with their status without having to reload it from the database at each new session created. Thanks M. -- 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Bernagou Java Developper
T4 - T5 Guide?
Hi, Is there a rough outline to help with migration of T4 - T5? I realize T5 may still be alpha, though I would like to begin migration as well as have a general idea of what to expect... Thanks, Josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T5 component parameter binding not updated
On Thu, 2007-07-12 at 08:45 +0200, Kristian Marinkovic wrote: hi martin, try to set the cache attribute of your @Parameter annotation of your currentPage component parameter to false I tried that, but it didn't solve the issue - same behavior. Debugging showed that _$currentPage_cached is still true... Then I tried to reset the currentPage property manually and added _currentPage = 0; to the start of the beginRender method, which produced the following error: Failure writing parameter currentPage of component Search:pager: Binding [EMAIL PROTECTED] is read-only. Is there another way of resetting a parameter binding? How is it intended to work, when is a cached parameter reset? Thanx cheers, Martin @Parameter(cache=false,...) g, kris Martin Grotzke [EMAIL PROTECTED] 11.07.2007 22:20 Bitte antworten an Tapestry users users@tapestry.apache.org An Tapestry users users@tapestry.apache.org Kopie Thema T5 component parameter binding not updated Hi, I wrote a simple pager component but one parameter (currentPage) is not updated in a second request. In the template I have the following: t:pager t:numberOfPages=${numberOfPages} t:currentPage=${currentPage} ... some other attributes ... / In the page class this currentPage accessor: public int getCurrentPage() { return _currentPage; } which is an int and has the correct values in all requests. The pager component contains this currentPage property @Parameter(required = true, defaultPrefix=prop) private Integer _currentPage; which is used in @BeginRender boolean beginRender( MarkupWriter writer ) which returns false (no other render methods, no template). When I debug the code I see, that the first time, the _currentPage is accessed, the pages getCurrentPage method is invoked. In all subsequent page requests, the value of the first request is still stored and not updated. What am I doing wrong, or should T5 behave differently? Do I have to take any action to unbind/uncache/reset the currentPage property in the pager component? Thanx cheers, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part
AW: T4.1.2 error loading hivemind-service
hi renat, i am using maven for my dependency management. it automatically includes javassist-3.4.ga.jar into my project. this is the same version that is stated here: http://tapestry.apache.org/tapestry4.1/dependency-convergence.html i thought that hivemind services are compatible within T4 and T4.1.2. (at least, i did not read the opposite somewhere), cause both use hivemind-1.1.1?! kind regards, peter -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juli 2007 19:21 An: Tapestry users Betreff: Re: T4.1.2 error loading hivemind-service Hi This exception javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Means that you have a Javassist version mismatch, check your classpath for the older versions of Javassist. Renat On 11/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am doing a simple test with the new version of tapestry (runs fine with 4.0.2): public class LoginTest extends TestCase { public void testService() { Registry registry = RegistryBuilder.constructDefaultRegistry(); AGLoginService service = (AGLoginService) registry.getService(AGLoginService.class); boolean isAdmin = false; ArrayListString ldapRoles = new ArrayListString(); ldapRoles.add(admin); String userName = dummyuser; String userPassword = xyz; service.authUser(userName, userPassword, ldapRoles, isAdmin); } } resulting in the following stacktrace using javassist-3.4.ga. i also tried to use an old version of javassist (3.0) wich doesnt work either... 09:00:59,239 DEBUG [ConfigurationPointImpl] Constructing extension point hivemind.ServiceModels org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_113b414a9d1: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:130) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:57) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:210) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:223) at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207) at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:434) at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154) at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBuilder.java:196) at de.freenet.pos.posDB.test.LoginTest.testService(LoginTest.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_113b414a9d1: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; at org.apache.tapestry.enhance.CtClassSource.createClass(CtClassSource.java:89) at org.apache.tapestry.enhance.CtClassSource.createClass(CtClassSource.java:78) at org.apache.tapestry.enhance.AbstractFab.createClass(AbstractFab.java:91) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass(SingletonServiceModel.java:185) at
AW: T4.1.2 error loading hivemind-service
it seems that this is a maven-issue. i have to update all dependencies that are still using javassist-3.0 to use javassist-3.4.ga. locally overriding javassist-version in the application pom has no effect... even though eclipse sais, that javassist-3.4.ga is included as a dependency?!!?!?!?!? -Ursprüngliche Nachricht- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juli 2007 10:01 An: Tapestry users Betreff: AW: T4.1.2 error loading hivemind-service hi renat, i am using maven for my dependency management. it automatically includes javassist-3.4.ga.jar into my project. this is the same version that is stated here: http://tapestry.apache.org/tapestry4.1/dependency-convergence.html i thought that hivemind services are compatible within T4 and T4.1.2. (at least, i did not read the opposite somewhere), cause both use hivemind-1.1.1?! kind regards, peter -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juli 2007 19:21 An: Tapestry users Betreff: Re: T4.1.2 error loading hivemind-service Hi This exception javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Means that you have a Javassist version mismatch, check your classpath for the older versions of Javassist. Renat On 11/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am doing a simple test with the new version of tapestry (runs fine with 4.0.2): public class LoginTest extends TestCase { public void testService() { Registry registry = RegistryBuilder.constructDefaultRegistry(); AGLoginService service = (AGLoginService) registry.getService(AGLoginService.class); boolean isAdmin = false; ArrayListString ldapRoles = new ArrayListString(); ldapRoles.add(admin); String userName = dummyuser; String userPassword = xyz; service.authUser(userName, userPassword, ldapRoles, isAdmin); } } resulting in the following stacktrace using javassist-3.4.ga. i also tried to use an old version of javassist (3.0) wich doesnt work either... 09:00:59,239 DEBUG [ConfigurationPointImpl] Constructing extension point hivemind.ServiceModels org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_113b414a9d1: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:130) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:57) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:210) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:223) at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207) at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:434) at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154) at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBuilder.java:196) at de.freenet.pos.posDB.test.LoginTest.testService(LoginTest.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_113b414a9d1:
Re: T4.1.2 error loading hivemind-service
Hi You can check mvn dependency:analyze It might happened that there is something else that is using wrong Javassist version. Renat On 12/07/07, Peter Schröder [EMAIL PROTECTED] wrote: it seems that this is a maven-issue. i have to update all dependencies that are still using javassist-3.0 to use javassist-3.4.ga. locally overriding javassist-version in the application pom has no effect... even though eclipse sais, that javassist-3.4.ga is included as a dependency?!!?!?!?!? -Ursprüngliche Nachricht- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juli 2007 10:01 An: Tapestry users Betreff: AW: T4.1.2 error loading hivemind-service hi renat, i am using maven for my dependency management. it automatically includes javassist-3.4.ga.jar into my project. this is the same version that is stated here: http://tapestry.apache.org/tapestry4.1/dependency-convergence.html i thought that hivemind services are compatible within T4 and T4.1.2. (at least, i did not read the opposite somewhere), cause both use hivemind-1.1.1?! kind regards, peter -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juli 2007 19:21 An: Tapestry users Betreff: Re: T4.1.2 error loading hivemind-service Hi This exception javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Means that you have a Javassist version mismatch, check your classpath for the older versions of Javassist. Renat On 11/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am doing a simple test with the new version of tapestry (runs fine with 4.0.2): public class LoginTest extends TestCase { public void testService() { Registry registry = RegistryBuilder.constructDefaultRegistry(); AGLoginService service = (AGLoginService) registry.getService(AGLoginService.class); boolean isAdmin = false; ArrayListString ldapRoles = new ArrayListString(); ldapRoles.add(admin); String userName = dummyuser; String userPassword = xyz; service.authUser(userName, userPassword, ldapRoles, isAdmin); } } resulting in the following stacktrace using javassist-3.4.ga. i also tried to use an old version of javassist (3.0) wich doesnt work either... 09:00:59,239 DEBUG [ConfigurationPointImpl] Constructing extension point hivemind.ServiceModels org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_113b414a9d1: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:130) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:57) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:210) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:223) at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207) at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:434) at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154) at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBuilder.java:196) at de.freenet.pos.posDB.test.LoginTest.testService(LoginTest.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by:
RE: T4.1.2 error loading hivemind-service
javassist changed its group / artifact id from javassist.javassist to jboss.javassist. Release 3.0 was the last one available under the javassist toplevel-group. If you somehow, transitively, reference both, maven has no way to know that both are the same artifact. -Original Message- From: Peter Schröder [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 10:37 AM To: Tapestry users Subject: AW: T4.1.2 error loading hivemind-service it seems that this is a maven-issue. i have to update all dependencies that are still using javassist-3.0 to use javassist-3.4.ga. locally overriding javassist-version in the application pom has no effect... even though eclipse sais, that javassist-3.4.ga is included as a dependency?!!?!?!?!? -Ursprüngliche Nachricht- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juli 2007 10:01 An: Tapestry users Betreff: AW: T4.1.2 error loading hivemind-service hi renat, i am using maven for my dependency management. it automatically includes javassist-3.4.ga.jar into my project. this is the same version that is stated here: http://tapestry.apache.org/tapestry4.1/dependency-convergence.html i thought that hivemind services are compatible within T4 and T4.1.2. (at least, i did not read the opposite somewhere), cause both use hivemind-1.1.1?! kind regards, peter -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juli 2007 19:21 An: Tapestry users Betreff: Re: T4.1.2 error loading hivemind-service Hi This exception javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/securi ty/ProtectionDomain;)Ljava/lang/Class; Means that you have a Javassist version mismatch, check your classpath for the older versions of Javassist. Renat On 11/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am doing a simple test with the new version of tapestry (runs fine with 4.0.2): public class LoginTest extends TestCase { public void testService() { Registry registry = RegistryBuilder.constructDefaultRegistry(); AGLoginService service = (AGLoginService) registry.getService(AGLoginService.class); boolean isAdmin = false; ArrayListString ldapRoles = new ArrayListString(); ldapRoles.add(admin); String userName = dummyuser; String userPassword = xyz; service.authUser(userName, userPassword, ldapRoles, isAdmin); } } resulting in the following stacktrace using javassist-3.4.ga. i also tried to use an old version of javassist (3.0) wich doesnt work either... 09:00:59,239 DEBUG [ConfigurationPointImpl] Constructing extension point hivemind.ServiceModels org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_113b414a9d1: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/securit y/ProtectionDomain;)Ljava/lang/Class; at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.cr eateSingletonProxy(SingletonServiceModel.java:130) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.ge tService(SingletonServiceModel.java:57) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePo intImpl.java:210) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePo intImpl.java:223) at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService (RegistryInfrastructureImpl.java:207) at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(Re gistryInfrastructureImpl.java:434) at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(Reg istryBuilder.java:154) at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegis try(RegistryBuilder.java:196) at de.freenet.pos.posDB.test.LoginTest.testService(LoginTest.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReferen ce.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestEx ecution.java:38) at
Re: T4 - T5 Guide?
AFAIK, there is no way you can upgrade from T4, T5 is design from scratch. Cheers John - Original Message - From: Josh Joy [EMAIL PROTECTED] To: users@tapestry.apache.org Sent: Thursday, July 12, 2007 3:38 PM Subject: T4 - T5 Guide? Hi, Is there a rough outline to help with migration of T4 - T5? I realize T5 may still be alpha, though I would like to begin migration as well as have a general idea of what to expect... Thanks, 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: T4 - T5 Guide?
Indeed there is no automated way to upgrade to T5 but you also don't have to abolish everything. For example your T4 listener methods will become event handler methods, access to page properties via ognl will be done using a new syntax. Other things have similar counterparts in T5. You still have to do a lot of things by hand, but you don't have to redo everything from scratch. Uli John Lee schrieb: AFAIK, there is no way you can upgrade from T4, T5 is design from scratch. Cheers John - Original Message - From: Josh Joy [EMAIL PROTECTED] To: users@tapestry.apache.org Sent: Thursday, July 12, 2007 3:38 PM Subject: T4 - T5 Guide? Hi, Is there a rough outline to help with migration of T4 - T5? I realize T5 may still be alpha, though I would like to begin migration as well as have a general idea of what to expect... Thanks, 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 - T5 Guide?
Hi Josh, I agree with Ulrich, we're doing this right now. The Forum already have a lot of T5 code examples. http://tapestry.apache.org/tapestry5 (What's changed since Tapestry 4?) Marcus
T4.1.2 contrib:Tree
hi, i am wondering why there is no documentation for the tree-component on: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/index.html even though these components are still included into tapestry-contrib-4.1.2.jar. is this legacy-support, or are they just missing? kind regards, peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Mixing usage
Thank you Kristian, Yes I've try your solution and I've also explore the injection of ComponentDefaultProvider @Inject private ComponentDefaultProvider _defaultProvider; but the value are stored in a Binding class that is not accessible (I've not found for the moment). BTW I'm agree with you, it will be cool if ActionLink have a getter on the Link. I'll poste an issue in JIRA. Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 - T5 Guide?
Thanks Marcus. Something similar to What's changed since Tapestry 4? is helpful, though even more helpful would perhaps be a side by side comparison of what's changed between T4 and T5 with code examples. Maybe this sort of documentation is something that can start to grow in the wiki as users start migrating... Thanks, Josh Marcus wrote: Hi Josh, I agree with Ulrich, we're doing this right now. The Forum already have a lot of T5 code examples. http://tapestry.apache.org/tapestry5 (What's changed since Tapestry 4?) Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: Grid component - available properties
Hi, I followed the discussion about Grid component and Date. I had the same problem and tryed to solve it by using t:parameter and t:output but it didn't work since my date column was not available. Only columns with supported types are available. Wouldn't it be better to just not render those types that are not supported or even throw an exception so the user has to exclude them explicitly? Because even if date will be supported in the future, the problem remains for other types. I can not provide a custom component as described in screencast 5 if the type of the row is not supported. Thanks Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4.1.2 contrib:Tree
AFIK tree is deprecated and now tree from Tacos is recommended for use. Old Tap-Contrib 4.0 tree was anyway crappy. I required almost completely to rewrite it to make it somehow usable in my environment. On 12/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am wondering why there is no documentation for the tree-component on: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/index.html even though these components are still included into tapestry-contrib-4.1.2.jar. is this legacy-support, or are they just missing? kind regards, peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov
How to add a List support for BeanEditor?
Dear list, It would be great if BeanEditor support collection and map properties, or at least List. Functionally, for this kink of properties, one wants to be able to add/remove elements from the collection and edit them. Programatically, it seems to be an hard problem... I would like to explore with you how to bring this support to bean editor, because I think that the need is real. For my personal example, I had to do that for a CRUD application on LDAP entries. LDAP entries are lists of attributes, and attributes are lists of values... To achieve my goal, I had to develop a complete specific component (base on the model of BeanEditor) which handle a specific entryBean. But the result seems to be quite specific and tricky (the code is available at http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/interldap/interldap-wui-t5/trunk/src/main/java/org/interldap/wui/tapestry/components/ldapentry/EditForm.java?view=logrev=120 for the edit component, and http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/interldap/interldap-wui-t5/trunk/src/main/java/org/interldap/wui/model/EntryBean.java?view=logrev=120 for the special bean, but this code is completely out of date in the _viewSVN_, the forge (ObjectWeb) is in migration and it seems to no go too smoothly... Thought, the svn is up to date.) Ok, so if you are interested, we may see what we want to do, and how we can help implement it. - Functionnaly, I wish to have that : I have a bean with a list of SomeType (say String) : ListString fruits; (for instance [apple, lemon]) I want that the beaneditor construct this interface ( where [...] is the editor matching String type) : 8--- [ apple ] _remove_this_fruit_ [ lemon ] _remove_this_fruit_ _Add_a_fruit_ 8--- so, the question are What are the major difficulties, and how can we implement that ? Perhaps it just a special editor, which handle list type, but I don't see how to coerce objects in the list, and how to get/set/add/delete them... any ideas would be appreciated :) Francois - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 Tutorial
Add version parameter as here: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=tapestry-simple -DarchetypeVersion=5.0.2 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -Dversion=1.0-SNAPSHOT this will use version 1.0-snapshot of archetype plugin. Nazmul Bhuiyan wrote: Hello, I'm following the T5 tutorial and getting the following error. I've ran this at my work pc. Is there any proxy issue here or some thing else? C:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5 -DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1 -DpackageName=org.apache.tapestry.tutorial [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Jul 10 11:38:50 NZST 2007 [INFO] Final Memory: 1M/2M [INFO] -- View this message in context: http://www.nabble.com/T5-Tutorial-tf4053179.html#a11560713 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: T4.1.2 contrib:Tree
the tacos website states: The latest release of the current branch of work has produced Tacos 4.0.0 - a version fully compatible with Tapestry 4.0.x. Most development efforts will now be shifted to converting the Ant-based build system to Maven2. A version compatible with Tapestry 4.1.x will then follow. does anyone know the current progress? -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juli 2007 15:57 An: Tapestry users Betreff: Re: T4.1.2 contrib:Tree AFIK tree is deprecated and now tree from Tacos is recommended for use. Old Tap-Contrib 4.0 tree was anyway crappy. I required almost completely to rewrite it to make it somehow usable in my environment. On 12/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am wondering why there is no documentation for the tree-component on: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/index.html even though these components are still included into tapestry-contrib-4.1.2.jar. is this legacy-support, or are they just missing? kind regards, peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: Architecture Overview
Is there any documentation in general on how T5 is architected that would help somebody begin studying T5 source code? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4.1.2 contrib:Tree
http://tacos.sourceforge.net/tacos4.1/ Igor Drobiazko and myself have been putting a fair amount of work on the project. Additionally, Daniel Gredler has donated the beanform code ( http://beanform.sf.net/) which has been updated and tested with Tapestry 4.1.2 and Norbert Sandor the tapdoc code ( http://www.erinors.com/developer/project/tapdoc/) so tacos is currently a merge of all the above :) There's an internal schedule for a release for 10-15 Aug, but one can safely use the snapshot jars. On 7/12/07, Peter Schröder [EMAIL PROTECTED] wrote: the tacos website states: The latest release of the current branch of work has produced Tacos 4.0.0 - a version fully compatible with Tapestry 4.0.x. Most development efforts will now be shifted to converting the Ant-based build system to Maven2. A version compatible with Tapestry 4.1.x will then follow. does anyone know the current progress? -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juli 2007 15:57 An: Tapestry users Betreff: Re: T4.1.2 contrib:Tree AFIK tree is deprecated and now tree from Tacos is recommended for use. Old Tap-Contrib 4.0 tree was anyway crappy. I required almost completely to rewrite it to make it somehow usable in my environment. On 12/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am wondering why there is no documentation for the tree-component on: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/index.html even though these components are still included into tapestry-contrib-4.1.2.jar. is this legacy-support, or are they just missing? kind regards, peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
AW: T4.1.2 contrib:Tree
hi andreas, thank you for providing the information, i will try the snapshot-builds. kind regards, peter -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Andreas Andreou Gesendet: Donnerstag, 12. Juli 2007 16:26 An: Tapestry users Betreff: Re: T4.1.2 contrib:Tree http://tacos.sourceforge.net/tacos4.1/ Igor Drobiazko and myself have been putting a fair amount of work on the project. Additionally, Daniel Gredler has donated the beanform code ( http://beanform.sf.net/) which has been updated and tested with Tapestry 4.1.2 and Norbert Sandor the tapdoc code ( http://www.erinors.com/developer/project/tapdoc/) so tacos is currently a merge of all the above :) There's an internal schedule for a release for 10-15 Aug, but one can safely use the snapshot jars. On 7/12/07, Peter Schröder [EMAIL PROTECTED] wrote: the tacos website states: The latest release of the current branch of work has produced Tacos 4.0.0 - a version fully compatible with Tapestry 4.0.x. Most development efforts will now be shifted to converting the Ant-based build system to Maven2. A version compatible with Tapestry 4.1.x will then follow. does anyone know the current progress? -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juli 2007 15:57 An: Tapestry users Betreff: Re: T4.1.2 contrib:Tree AFIK tree is deprecated and now tree from Tacos is recommended for use. Old Tap-Contrib 4.0 tree was anyway crappy. I required almost completely to rewrite it to make it somehow usable in my environment. On 12/07/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am wondering why there is no documentation for the tree-component on: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/index.html even though these components are still included into tapestry-contrib-4.1.2.jar. is this legacy-support, or are they just missing? kind regards, peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T5] Getting the current row from a Grid through the environment
I have a component that is explicitly meant for being used within a grid cell and I'd like to default it's parameter to the current grid row. The problem is that there is nothing set in the environment to give you access to the row so you have to inject the grid component and then provide a getter which casts grid.getRow() to your type. Is there a way to get the current row value another way so that I can have my parameter default? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5 / DatePicker: Error obtaining injected value for field
Hi, I am trying to get the DatePicker class from the tapestry5-jscalendar package [1] to work with the latest 5.0.5 snapshot. The code did not compile initially since there were @Inject annotations like this one: | @Inject(${net.keso.ted.jscalendarscript}/button-image.png) | private Asset defaultButtonImage; I modified these like this: | @Inject | @Value(${net.keso.ted.jscalendarscript}/button-image.png) | private Asset defaultButtonImage; Now the code compiled. However when trying to use the DatePicker in a page I now get this error: # java.lang.ClassNotFoundException caught an exception while obtaining a class file for net.keso.ted.jscalendar.components.DatePicker exception org.apache.tapestry.internal.services.TransformationException: Error obtaining injected value for field net.keso.ted.jscalendar.components.DatePicker.defaultButtonImage: Could not find a coercion from type java.lang.String to type org.apache.tapestry.Asset. Available coercions: Double -- Float, Float -- Double, Long -- Boolean, Long -- Byte, Long -- Double, Long -- Integer, Long -- Short, Number -- Long, Object -- String, Object -- java.util.List, Object[] -- java.util.List, String -- Boolean, String -- Double, String -- Long, String -- java.math.BigDecimal, String -- java.math.BigInteger, String -- org.apache.tapestry.SelectModel, String -- org.apache.tapestry.corelib.data.GridPagerPosition, java.math.BigDecimal -- Double, java.util.Collection -- Boolean, java.util.List -- java.util.Set, java.util.List -- org.apache.tapestry.SelectModel, java.util.List -- org.apache.tapestry.grid.GridDataSource, java.util.Map -- org.apache.tapestry.SelectModel, java.util.Set -- java.util.List, null -- Boolean, null -- String, null -- java.util.List, null -- org.apache.tapestry.grid.GridDataSource. Are there any API changes from 5.0.3 to 5.0.5 that could have caused this problem, or does anyone know what to do here? Cheers, Martin [1] http://tapestry5-jscalendar.googlecode.com/svn/trunk/ -- --- / http://herbert.the-little-red-haired-girl.org / - =+= Aber zur rechten Zeit noch ergriff mich beim Fuss der Kapitaen. Er zog mich vom Schiffsrand und rief, aergerlich lachend: Doktor, sind Sie des Teufels? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 - T5 Guide?
documentation is something that can start to grow in the wiki as users start migrating... Sounds good, I will be doing a hefty migration from 4 to 5 soon ... so I will try to contribute to this. Please send the link thanks Peter Josh Joy wrote: Thanks Marcus. Something similar to What's changed since Tapestry 4? is helpful, though even more helpful would perhaps be a side by side comparison of what's changed between T4 and T5 with code examples. Maybe this sort of documentation is something that can start to grow in the wiki as users start migrating... Thanks, Josh Marcus wrote: Hi Josh, I agree with Ulrich, we're doing this right now. The Forum already have a lot of T5 code examples. http://tapestry.apache.org/tapestry5 (What's changed since Tapestry 4?) Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Stavrinides Albourne Partners (Cyprus) Ltd Tel: +357 22 750652 If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T5] Mixin parameters when applying them to yourself?
When you apply a mixin with @Mixin how do you specify parameters? Is there an open ticket for this? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 / DatePicker: Error obtaining injected value for field
Replying to myself... On Thu, July 12, 2007, Martin Dietze wrote: I modified these like this: | @Inject | @Value(${net.keso.ted.jscalendarscript}/button-image.png) | private Asset defaultButtonImage; As I now understand it, the code above should read: | @Inject | @Path(${net.keso.ted.jscalendarscript}/button-image.png) | private Asset defaultButtonImage; This change made the original error disappear. However I am now struggleing with this problem here: Exception constructing service 'ClasspathAssetAliasManager': Error invoking constructor org.apache.tapestry.internal.services.ClasspathAssetAliasManagerImpl(Request, Map) (at ClasspathAssetAliasManagerImpl.java:50) (for service 'ClasspathAssetAliasManager'): Error invoking service contribution method net.keso.ted.jscalendar.JsCalendarModule.contributeClasspathAssetAliasManager(MappedConfiguration, String): Exception constructing service 'ClasspathAssetAliasManager': Construction of service 'ClasspathAssetAliasManager' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry.internal.services.ClasspathAssetAliasManagerImpl(Request, Map) (at ClasspathAssetAliasManagerImpl.java:50) for references to another service that is itself dependent on service 'ClasspathAssetAliasManager'. Still happy to get any hint... Cheers, Martin -- --- / http://herbert.the-little-red-haired-girl.org / - =+= Perl ist der gegl�ckte Versuch, einen braindump direkt ausf�hrbar zu machen. -- Lutz Donnerhacke in dasr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T4 Pre-Initialization?
I've been integrating Tapestry 4.0.x into my existing web application based on JSP and servlets. It's all been going quite well so far. I've been using Hibernate for database access in Tapestry, but was using JDBC in the old servlet code. (Since it was developed pre- hibernate.) Anyway, I want to start using Hibernate (via HiveMind) in my servlet code. The question is, how do I get a reference to it? I can do this via: RegistryInfrastructure reg = (RegistryInfrastructure) ServiceSerializationHelper.getServiceSerializationSupport(); And then call getService(MyDesiredDAO.class, null). That seems to work. When Tomcat starts up, Tapestry doesn't initialize and getService throws exception stating that HiveMind has not been configured. The question is, how can I force HiveMind to initialize or initialize it myself and not mess up Tapestry? Norman Franke
Re: T4 Pre-Initialization?
Hi In hivemind you don't need (shouldnt) use singletons anymore since they are hindering the unit testing. Since you are using plain configuration (hivemind + tapestry) you actually don't need to do anything at all :) (almost) you just need to use hivemind + Tapestry + one of the hibernate integration module such as honeycomb or tapernate. I can't say anything about tapernate because we are using honeycomb. If you need a session in your page you simply create an abstract getter public abstract Session getSession() and declare that it should be populated with the hibernate session from honeycomb (you can check exmaples in the sample application you can easily generate with honeycomb archetype and maven). If you need more examples i can post some code fragments here. Renat P.S. Honeycomb author is actively participating in this mail list so I think he would be glad to answer your questions On 12/07/07, Norman Franke [EMAIL PROTECTED] wrote: I've been integrating Tapestry 4.0.x into my existing web application based on JSP and servlets. It's all been going quite well so far. I've been using Hibernate for database access in Tapestry, but was using JDBC in the old servlet code. (Since it was developed pre- hibernate.) Anyway, I want to start using Hibernate (via HiveMind) in my servlet code. The question is, how do I get a reference to it? I can do this via: RegistryInfrastructure reg = (RegistryInfrastructure) ServiceSerializationHelper.getServiceSerializationSupport(); And then call getService(MyDesiredDAO.class, null). That seems to work. When Tomcat starts up, Tapestry doesn't initialize and getService throws exception stating that HiveMind has not been configured. The question is, how can I force HiveMind to initialize or initialize it myself and not mess up Tapestry? Norman Franke -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 Pre-Initialization?
My question was how to get a reference to a HiveMind service (Hibernate based here) from a non-Tapestry servlet prior to Tapestry initializing HiveMind. -Norman On Jul 12, 2007, at 12:14 PM, Renat Zubairov wrote: Hi In hivemind you don't need (shouldnt) use singletons anymore since they are hindering the unit testing. Since you are using plain configuration (hivemind + tapestry) you actually don't need to do anything at all :) (almost) you just need to use hivemind + Tapestry + one of the hibernate integration module such as honeycomb or tapernate. I can't say anything about tapernate because we are using honeycomb. If you need a session in your page you simply create an abstract getter public abstract Session getSession() and declare that it should be populated with the hibernate session from honeycomb (you can check exmaples in the sample application you can easily generate with honeycomb archetype and maven). If you need more examples i can post some code fragments here. Renat P.S. Honeycomb author is actively participating in this mail list so I think he would be glad to answer your questions On 12/07/07, Norman Franke [EMAIL PROTECTED] wrote: I've been integrating Tapestry 4.0.x into my existing web application based on JSP and servlets. It's all been going quite well so far. I've been using Hibernate for database access in Tapestry, but was using JDBC in the old servlet code. (Since it was developed pre- hibernate.) Anyway, I want to start using Hibernate (via HiveMind) in my servlet code. The question is, how do I get a reference to it? I can do this via: RegistryInfrastructure reg = (RegistryInfrastructure) ServiceSerializationHelper.getServiceSerializationSupport(); And then call getService(MyDesiredDAO.class, null). That seems to work. When Tomcat starts up, Tapestry doesn't initialize and getService throws exception stating that HiveMind has not been configured. The question is, how can I force HiveMind to initialize or initialize it myself and not mess up Tapestry? Norman Franke -- Best regards, Renat Zubairov - 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: T4 Pre-Initialization?
Hi, please look here to construct the Registry: http://hivemind.apache.org/hivemind1/filter.html Then create your DAO like this: Registry registry = HiveMindFilter.getRegistry( request ); registry.getService(MyDesiredDAO.class); On 7/12/07, Norman Franke [EMAIL PROTECTED] wrote: My question was how to get a reference to a HiveMind service (Hibernate based here) from a non-Tapestry servlet prior to Tapestry initializing HiveMind. -Norman On Jul 12, 2007, at 12:14 PM, Renat Zubairov wrote: Hi In hivemind you don't need (shouldnt) use singletons anymore since they are hindering the unit testing. Since you are using plain configuration (hivemind + tapestry) you actually don't need to do anything at all :) (almost) you just need to use hivemind + Tapestry + one of the hibernate integration module such as honeycomb or tapernate. I can't say anything about tapernate because we are using honeycomb. If you need a session in your page you simply create an abstract getter public abstract Session getSession() and declare that it should be populated with the hibernate session from honeycomb (you can check exmaples in the sample application you can easily generate with honeycomb archetype and maven). If you need more examples i can post some code fragments here. Renat P.S. Honeycomb author is actively participating in this mail list so I think he would be glad to answer your questions On 12/07/07, Norman Franke [EMAIL PROTECTED] wrote: I've been integrating Tapestry 4.0.x into my existing web application based on JSP and servlets. It's all been going quite well so far. I've been using Hibernate for database access in Tapestry, but was using JDBC in the old servlet code. (Since it was developed pre- hibernate.) Anyway, I want to start using Hibernate (via HiveMind) in my servlet code. The question is, how do I get a reference to it? I can do this via: RegistryInfrastructure reg = (RegistryInfrastructure) ServiceSerializationHelper.getServiceSerializationSupport(); And then call getService(MyDesiredDAO.class, null). That seems to work. When Tomcat starts up, Tapestry doesn't initialize and getService throws exception stating that HiveMind has not been configured. The question is, how can I force HiveMind to initialize or initialize it myself and not mess up Tapestry? Norman Franke -- Best regards, Renat Zubairov - 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: T5 / DatePicker: Error obtaining injected value for field
Again answering myself... On Thu, July 12, 2007, Martin Dietze wrote: Exception constructing service 'ClasspathAssetAliasManager': Error invoking constructor org.apache.tapestry.internal.services.ClasspathAssetAliasManagerImpl(Request, Map) (at ClasspathAssetAliasManagerImpl.java:50) (for service 'ClasspathAssetAliasManager'): Error invoking service contribution method net.keso.ted.jscalendar.JsCalendarModule.contributeClasspathAssetAliasManager(MappedConfiguration, String): Exception constructing service 'ClasspathAssetAliasManager': Construction of service 'ClasspathAssetAliasManager' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry.internal.services.ClasspathAssetAliasManagerImpl(Request, Map) (at ClasspathAssetAliasManagerImpl.java:50) for references to another service that is itself dependent on service 'ClasspathAssetAliasManager'. Having browsed the T5 sources a bit I found this solution: [file JsCalendarModule.java] |public static void contributeClasspathAssetAliasManager( |MappedConfigurationString, String configuration, |@Symbol(net.keso.ted.jscalendarscript.path) |String jsCalendarScriptPath) |{ |configuration.add(jscalendar/, jsCalendarScriptPath + /); |} Cheers, Martin -- --- / http://herbert.the-little-red-haired-girl.org / - =+= Katz' Law: Man and nations will act rationally when all other possibilities have been exhausted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to adjust template caching strategy?
Is it possible to adjust Tapestry's template caching strategy? In other words, is it possible to make it like JSP where there's a timestamp check to see if a page has been updated? I realize I can turn off page caching, but does that make Tapestry slower than a JSP-based solution? Can I provide my own implementation (or configure the existing one) to check every 2 minutes? Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-adjust-template-caching-strategy--tf4069330.html#a11563993 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 Pre-Initialization?
The registry is initialized in tapestry's ApplicationServlet.init(). In web.xml, you need to specify load-on-startup1/load-on-startup for the servlet configuration. This will force ApplicationServlet.init() to run when the application is deployed instead of the first time a tapestry page is hit. -Steve Norman Franke wrote: I've been integrating Tapestry 4.0.x into my existing web application based on JSP and servlets. It's all been going quite well so far. I've been using Hibernate for database access in Tapestry, but was using JDBC in the old servlet code. (Since it was developed pre-hibernate.) Anyway, I want to start using Hibernate (via HiveMind) in my servlet code. The question is, how do I get a reference to it? I can do this via: RegistryInfrastructure reg = (RegistryInfrastructure) ServiceSerializationHelper.getServiceSerializationSupport(); And then call getService(MyDesiredDAO.class, null). That seems to work. When Tomcat starts up, Tapestry doesn't initialize and getService throws exception stating that HiveMind has not been configured. The question is, how can I force HiveMind to initialize or initialize it myself and not mess up Tapestry? Norman Franke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: Premature validation errors in beaneditform
I have a very simple bean object with two simple string properties. When I do form t:type=beaneditform object=foo / I see the validation error red Xs after the property input fields and a notice You must correct the following errors before you may continue. above the set of fields. The error text is not in the characteristic red. I have specified no validation on the bean's fields. Any ideas why errors are being thrown here? I'm using the central repository's recently-released 5.0.5 library for tap-core. Bill
Re: T5: Architecture Overview
Hi What kind of document you would like to see? What should be the content of such document? Renat On 12/07/07, Adam Zimowski [EMAIL PROTECTED] wrote: Is there any documentation in general on how T5 is architected that would help somebody begin studying T5 source code? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: Architecture Overview
Well, for instance sample request flow diagram demonstrating core components involved when Tap 5 is at work. Something similar to component render states diagram. Perhaps discussion about Tapestry page cache and point out classes and interfaces that implement it. On that note, maybe a list of most important classes/interfaces and what they're responsible for would be a good start about such Tap 5 architecture overview document. Discussion about dependencies, which are the most important and how they're used. Setting up T5 developement environment. Those are just few topics, but I think they'd be a good start. Thanks On 7/12/07, Renat Zubairov [EMAIL PROTECTED] wrote: Hi What kind of document you would like to see? What should be the content of such document? Renat On 12/07/07, Adam Zimowski [EMAIL PROTECTED] wrote: Is there any documentation in general on how T5 is architected that would help somebody begin studying T5 source code? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - 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: T4.1.2 and beanform
Hi Andy, I have the same problem and tried to find a new release of beanform. It looks like 0.8 is on the way but I cannnot find where to download. What do you suggest? Thank you. andyhot wrote: There's a new version coming in that address exactly this problem. I'll make a related announcement in the following hours, so stay tuned ;) On 7/10/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am trying to use beanform and T4.1.2 for the first time, but i only get the following exception. did i miss a dependy or something? There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=de_DE ] from the page pool. org.apache.hivemind.ApplicationRuntimeException There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=de_DE ] from the page pool. [ +/- ] Exception: Unable to lookup $BeanFormButtons_9: $BeanFormButtons_9 org.apache.hivemind.ApplicationRuntimeException Unable to lookup $BeanFormButtons_9: $BeanFormButtons_9 [ +/- ] Exception: $BeanFormButtons_9 javassist.NotFoundException $BeanFormButtons_9 Stack Trace: * javassist.ClassPool.get(ClassPool.java:417) * org.apache.tapestry.enhance.CtClassSource.getCtClass( CtClassSource.java:50) * org.apache.tapestry.enhance.AbstractFab.convertClass( AbstractFab.java:82) * org.apache.tapestry.enhance.ClassFabImpl.addField(ClassFabImpl.java :238) * com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.constructClass (PropertyAccessorClassFactoryImpl.java:74) * $PropertyAccessorClassFactory_113b0adbc52.constructClass($PropertyAccessorClassFactory_113b0adbc52.java) * $PropertyAccessorClassFactory_113b0adbc51.constructClass($PropertyAccessorClassFactory_113b0adbc51.java) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.createNewAccessorClass (PropertyAccessorSourceImpl.java:139) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getCachedPropertyAccessorClass (PropertyAccessorSourceImpl.java:87) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getAccessor( PropertyAccessorSourceImpl.java:55) * $PropertyAccessorSource_113b0adbc50.getAccessor($PropertyAccessorSource_113b0adbc50.java) * $PropertyAccessorSource_113b0adbc4f.getAccessor($PropertyAccessorSource_113b0adbc4f.java) * com.javaforge.tapestry.prop.PropertyAccessorBindingFactory.createBinding( PropertyAccessorBindingFactory.java:36) * $BindingFactory_113b0adbc44.createBinding($BindingFactory_113b0adbc44.java) * $BindingFactory_113b0adbc43.createBinding($BindingFactory_113b0adbc43.java) * org.apache.tapestry.services.impl.BindingSourceImpl.createBinding( BindingSourceImpl.java:99) * $BindingSource_113b0adbaf8.createBinding($BindingSource_113b0adbaf8.java) * org.apache.tapestry.pageload.PageLoader.convert(PageLoader.java:318) * org.apache.tapestry.pageload.PageLoader.bind(PageLoader.java:278) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:391) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:396) * org.apache.tapestry.pageload.PageLoader.createImplicitComponent( PageLoader.java:504) * $IPageLoader_113b0adbbac.createImplicitComponent($IPageLoader_113b0adbbac.java) * $IPageLoader_113b0adbbad.createImplicitComponent($IPageLoader_113b0adbbad.java) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent (ComponentTemplateLoaderLogic.java:203) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process( ComponentTemplateLoaderLogic.java:158) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process( ComponentTemplateLoaderLogic.java:98) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate (ComponentTemplateLoaderLogic.java:75) * org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate (ComponentTemplateLoaderImpl.java:60) * $ComponentTemplateLoader_113b0adbbc0.loadTemplate($ComponentTemplateLoader_113b0adbbc0.java) * $ComponentTemplateLoader_113b0adbbbf.loadTemplate($ComponentTemplateLoader_113b0adbbbf.java) * org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent( PageLoader.java:673) * org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java :92) * org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:122) * $Home_0.finishLoad($Home_0.java) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:408) * org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java :639) * $IPageLoader_113b0adbbac.loadPage($IPageLoader_113b0adbbac.java) * $IPageLoader_113b0adbbad.loadPage($IPageLoader_113b0adbbad.java) * org.apache.tapestry.pageload.PageSource.makeObject(PageSource.java :153) * org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(
Re: T4.1.2 and beanform
http://tacos.sourceforge.net/nightly/ is a maven snapshot repo... http://tacos.sourceforge.net/nightly/net/sf/tacos/ has the subprojects http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-start/downloading.htmla quick note on including any subproject in a pom On 7/12/07, Henry Chen [EMAIL PROTECTED] wrote: Hi Andy, I have the same problem and tried to find a new release of beanform. It looks like 0.8 is on the way but I cannnot find where to download. What do you suggest? Thank you. andyhot wrote: There's a new version coming in that address exactly this problem. I'll make a related announcement in the following hours, so stay tuned ;) On 7/10/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am trying to use beanform and T4.1.2 for the first time, but i only get the following exception. did i miss a dependy or something? There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=de_DE ] from the page pool. org.apache.hivemind.ApplicationRuntimeException There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=de_DE ] from the page pool. [ +/- ] Exception: Unable to lookup $BeanFormButtons_9: $BeanFormButtons_9 org.apache.hivemind.ApplicationRuntimeException Unable to lookup $BeanFormButtons_9: $BeanFormButtons_9 [ +/- ] Exception: $BeanFormButtons_9 javassist.NotFoundException $BeanFormButtons_9 Stack Trace: * javassist.ClassPool.get(ClassPool.java:417) * org.apache.tapestry.enhance.CtClassSource.getCtClass( CtClassSource.java:50) * org.apache.tapestry.enhance.AbstractFab.convertClass( AbstractFab.java:82) * org.apache.tapestry.enhance.ClassFabImpl.addField( ClassFabImpl.java :238) * com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.constructClass (PropertyAccessorClassFactoryImpl.java:74) * $PropertyAccessorClassFactory_113b0adbc52.constructClass($PropertyAccessorClassFactory_113b0adbc52.java) * $PropertyAccessorClassFactory_113b0adbc51.constructClass($PropertyAccessorClassFactory_113b0adbc51.java) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.createNewAccessorClass (PropertyAccessorSourceImpl.java:139) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getCachedPropertyAccessorClass (PropertyAccessorSourceImpl.java:87) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getAccessor( PropertyAccessorSourceImpl.java:55) * $PropertyAccessorSource_113b0adbc50.getAccessor($PropertyAccessorSource_113b0adbc50.java) * $PropertyAccessorSource_113b0adbc4f.getAccessor($PropertyAccessorSource_113b0adbc4f.java) * com.javaforge.tapestry.prop.PropertyAccessorBindingFactory.createBinding( PropertyAccessorBindingFactory.java:36) * $BindingFactory_113b0adbc44.createBinding($BindingFactory_113b0adbc44.java) * $BindingFactory_113b0adbc43.createBinding($BindingFactory_113b0adbc43.java) * org.apache.tapestry.services.impl.BindingSourceImpl.createBinding ( BindingSourceImpl.java:99) * $BindingSource_113b0adbaf8.createBinding($BindingSource_113b0adbaf8.java) * org.apache.tapestry.pageload.PageLoader.convert(PageLoader.java:318) * org.apache.tapestry.pageload.PageLoader.bind(PageLoader.java:278) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:391) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:396) * org.apache.tapestry.pageload.PageLoader.createImplicitComponent( PageLoader.java:504) * $IPageLoader_113b0adbbac.createImplicitComponent($IPageLoader_113b0adbbac.java) * $IPageLoader_113b0adbbad.createImplicitComponent($IPageLoader_113b0adbbad.java) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent (ComponentTemplateLoaderLogic.java:203) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process( ComponentTemplateLoaderLogic.java:158) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process( ComponentTemplateLoaderLogic.java:98) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate (ComponentTemplateLoaderLogic.java:75) * org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate (ComponentTemplateLoaderImpl.java:60) * $ComponentTemplateLoader_113b0adbbc0.loadTemplate($ComponentTemplateLoader_113b0adbbc0.java) * $ComponentTemplateLoader_113b0adbbbf.loadTemplate($ComponentTemplateLoader_113b0adbbbf.java) * org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent( PageLoader.java:673) * org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java :92) * org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:122) * $Home_0.finishLoad($Home_0.java) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:408) * org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java
plane issues
http://track.sipfoundry.org/browse/XCF-1795 UI prototype for: http://track.sipfoundry.org/browse/XCF-1790 UI prototype for: http://track.sipfoundry.org/browse/XCF-1605 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 Pre-Initialization?
Hi I'm a bit confused, you want to have a reference to Hivemind service _before_ tapestry initalizing Hivemind? It means you want to initalize hivemind your self and then give it to the tapestry? May I ask you what is the issues you have with Hibernate that you want to initialize it before it would be initalized by Honeycomb? Renat On 12/07/07, Norman Franke [EMAIL PROTECTED] wrote: My question was how to get a reference to a HiveMind service (Hibernate based here) from a non-Tapestry servlet prior to Tapestry initializing HiveMind. -Norman On Jul 12, 2007, at 12:14 PM, Renat Zubairov wrote: Hi In hivemind you don't need (shouldnt) use singletons anymore since they are hindering the unit testing. Since you are using plain configuration (hivemind + tapestry) you actually don't need to do anything at all :) (almost) you just need to use hivemind + Tapestry + one of the hibernate integration module such as honeycomb or tapernate. I can't say anything about tapernate because we are using honeycomb. If you need a session in your page you simply create an abstract getter public abstract Session getSession() and declare that it should be populated with the hibernate session from honeycomb (you can check exmaples in the sample application you can easily generate with honeycomb archetype and maven). If you need more examples i can post some code fragments here. Renat P.S. Honeycomb author is actively participating in this mail list so I think he would be glad to answer your questions On 12/07/07, Norman Franke [EMAIL PROTECTED] wrote: I've been integrating Tapestry 4.0.x into my existing web application based on JSP and servlets. It's all been going quite well so far. I've been using Hibernate for database access in Tapestry, but was using JDBC in the old servlet code. (Since it was developed pre- hibernate.) Anyway, I want to start using Hibernate (via HiveMind) in my servlet code. The question is, how do I get a reference to it? I can do this via: RegistryInfrastructure reg = (RegistryInfrastructure) ServiceSerializationHelper.getServiceSerializationSupport(); And then call getService(MyDesiredDAO.class, null). That seems to work. When Tomcat starts up, Tapestry doesn't initialize and getService throws exception stating that HiveMind has not been configured. The question is, how can I force HiveMind to initialize or initialize it myself and not mess up Tapestry? Norman Franke -- Best regards, Renat Zubairov - 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] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 - T5 Guide?
Awesome The main page is http://wiki.apache.org/tapestry/ I created a new section http://wiki.apache.org/tapestry/Tapestry5Migration It is blank right now, though I'll try to contribute as I go along as well... Thanks, Josh Peter Stavrinides wrote: documentation is something that can start to grow in the wiki as users start migrating... Sounds good, I will be doing a hefty migration from 4 to 5 soon ... so I will try to contribute to this. Please send the link thanks Peter Josh Joy wrote: Thanks Marcus. Something similar to What's changed since Tapestry 4? is helpful, though even more helpful would perhaps be a side by side comparison of what's changed between T4 and T5 with code examples. Maybe this sort of documentation is something that can start to grow in the wiki as users start migrating... Thanks, Josh Marcus wrote: Hi Josh, I agree with Ulrich, we're doing this right now. The Forum already have a lot of T5 code examples. http://tapestry.apache.org/tapestry5 (What's changed since Tapestry 4?) Marcus - 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: T4.1.2 and beanform
Great! Thank you. I didn't know that beanform was from tacos. :) andyhot wrote: http://tacos.sourceforge.net/nightly/ is a maven snapshot repo... http://tacos.sourceforge.net/nightly/net/sf/tacos/ has the subprojects http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-start/downloading.htmla quick note on including any subproject in a pom On 7/12/07, Henry Chen [EMAIL PROTECTED] wrote: Hi Andy, I have the same problem and tried to find a new release of beanform. It looks like 0.8 is on the way but I cannnot find where to download. What do you suggest? Thank you. andyhot wrote: There's a new version coming in that address exactly this problem. I'll make a related announcement in the following hours, so stay tuned ;) On 7/10/07, Peter Schröder [EMAIL PROTECTED] wrote: hi, i am trying to use beanform and T4.1.2 for the first time, but i only get the following exception. did i miss a dependy or something? There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=de_DE ] from the page pool. org.apache.hivemind.ApplicationRuntimeException There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=de_DE ] from the page pool. [ +/- ] Exception: Unable to lookup $BeanFormButtons_9: $BeanFormButtons_9 org.apache.hivemind.ApplicationRuntimeException Unable to lookup $BeanFormButtons_9: $BeanFormButtons_9 [ +/- ] Exception: $BeanFormButtons_9 javassist.NotFoundException $BeanFormButtons_9 Stack Trace: * javassist.ClassPool.get(ClassPool.java:417) * org.apache.tapestry.enhance.CtClassSource.getCtClass( CtClassSource.java:50) * org.apache.tapestry.enhance.AbstractFab.convertClass( AbstractFab.java:82) * org.apache.tapestry.enhance.ClassFabImpl.addField( ClassFabImpl.java :238) * com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.constructClass (PropertyAccessorClassFactoryImpl.java:74) * $PropertyAccessorClassFactory_113b0adbc52.constructClass($PropertyAccessorClassFactory_113b0adbc52.java) * $PropertyAccessorClassFactory_113b0adbc51.constructClass($PropertyAccessorClassFactory_113b0adbc51.java) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.createNewAccessorClass (PropertyAccessorSourceImpl.java:139) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getCachedPropertyAccessorClass (PropertyAccessorSourceImpl.java:87) * com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getAccessor( PropertyAccessorSourceImpl.java:55) * $PropertyAccessorSource_113b0adbc50.getAccessor($PropertyAccessorSource_113b0adbc50.java) * $PropertyAccessorSource_113b0adbc4f.getAccessor($PropertyAccessorSource_113b0adbc4f.java) * com.javaforge.tapestry.prop.PropertyAccessorBindingFactory.createBinding( PropertyAccessorBindingFactory.java:36) * $BindingFactory_113b0adbc44.createBinding($BindingFactory_113b0adbc44.java) * $BindingFactory_113b0adbc43.createBinding($BindingFactory_113b0adbc43.java) * org.apache.tapestry.services.impl.BindingSourceImpl.createBinding ( BindingSourceImpl.java:99) * $BindingSource_113b0adbaf8.createBinding($BindingSource_113b0adbaf8.java) * org.apache.tapestry.pageload.PageLoader.convert(PageLoader.java:318) * org.apache.tapestry.pageload.PageLoader.bind(PageLoader.java:278) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:391) * org.apache.tapestry.pageload.PageLoader.constructComponent( PageLoader.java:396) * org.apache.tapestry.pageload.PageLoader.createImplicitComponent( PageLoader.java:504) * $IPageLoader_113b0adbbac.createImplicitComponent($IPageLoader_113b0adbbac.java) * $IPageLoader_113b0adbbad.createImplicitComponent($IPageLoader_113b0adbbad.java) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent (ComponentTemplateLoaderLogic.java:203) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process( ComponentTemplateLoaderLogic.java:158) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process( ComponentTemplateLoaderLogic.java:98) * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate (ComponentTemplateLoaderLogic.java:75) * org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate (ComponentTemplateLoaderImpl.java:60) * $ComponentTemplateLoader_113b0adbbc0.loadTemplate($ComponentTemplateLoader_113b0adbbc0.java) * $ComponentTemplateLoader_113b0adbbbf.loadTemplate($ComponentTemplateLoader_113b0adbbbf.java) * org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent( PageLoader.java:673) * org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java :92) *
Re: T5: Premature validation errors in beaneditform
What browser are you using? Tapestry relies on CSS to make some divs and imgs not visible. On 7/12/07, Bill Holloway [EMAIL PROTECTED] wrote: I have a very simple bean object with two simple string properties. When I do form t:type=beaneditform object=foo / I see the validation error red Xs after the property input fields and a notice You must correct the following errors before you may continue. above the set of fields. The error text is not in the characteristic red. I have specified no validation on the bean's fields. Any ideas why errors are being thrown here? I'm using the central repository's recently-released 5.0.5 library for tap-core. Bill -- 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: use dynamic stylesheet
oops, using tapestry 4.0.2, Hivemind 1.1.1 is it possible to disable the hash in the include url? or generate my own? -- View this message in context: http://www.nabble.com/use-dynamic-stylesheet-tf4066464.html#a11571141 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: Architecture Overview
I'm looking for it too! 2007/7/13, Adam Zimowski [EMAIL PROTECTED]: Well, for instance sample request flow diagram demonstrating core components involved when Tap 5 is at work. Something similar to component render states diagram. Perhaps discussion about Tapestry page cache and point out classes and interfaces that implement it. On that note, maybe a list of most important classes/interfaces and what they're responsible for would be a good start about such Tap 5 architecture overview document. Discussion about dependencies, which are the most important and how they're used. Setting up T5 developement environment. Those are just few topics, but I think they'd be a good start. Thanks On 7/12/07, Renat Zubairov [EMAIL PROTECTED] wrote: Hi What kind of document you would like to see? What should be the content of such document? Renat On 12/07/07, Adam Zimowski [EMAIL PROTECTED] wrote: Is there any documentation in general on how T5 is architected that would help somebody begin studying T5 source code? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - 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] -- 徐 依伟
a generous 4.1.3 user needed
Hi all, If anyone is in a position to help, it would be greatly appreciated. Many of us tapestry 4.1 users don't use maven. As a result it's pretty hard for us to get access to the snapshot builds. It would be really handy if someone who uses maven and has an ftp server handy could make an up to date mirror of the snapshot build and it's dependencies. If there's a simpler way to achieve a snapshot without maven, please let me know. Thanks, Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to test Tapestry templates out-of-container?
Is it possible to use Tapestry's parser in tests to verify that template syntax is correct? I'd like to run tests (like you do when doing a JSP pre-compile) to verify syntax w/o having to start the app and find out at runtime. Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-test-Tapestry-templates-out-of-container--tf4071711.html#a11571515 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T5] Sort pages in WEB-INF into subdirectories
how can i sort my pages into sub directories within my web-inf directory. ex: i would like a structure kinda like WEB-INF ==components core ==userName ==userIcon ==galleryLink ==... global ==header.html ==footer.html ==... supplemental ==registerForm.html ==loginForm.html ==... ==pages inventory ==Page.html ==Page.html ==... stats ==Page.html ==Page.html ==... prefrences ==Page.html ==Page.html ==... i also sort a root css, script, and images dir within the web-inf just like that as well. the directory structure is layed out similiary within the java src package as well. though my experience ive found taht this is a great way to keep a very large application manageable (100+ page application) my problem is that i get a 404 error, when i try to load pages that are not directly within the root of the web-inf thanx in advance ~evan
Re: Is it possible to test Tapestry templates out-of-container?
With both T4 and T5 this is possible; I think it is easier in T5 because of how the parser works (it provides a set of tokens). From there, there's more work ... to ensure that the tokens parsed are correct (i.e. that component types are valid, parameters are bound properly, etc.). T5 has the PageTester, which allows you to run the app without a servlet container; an API is provided that allows you to trigger events and obtain the result (as a kind of DOM tree). Validating the templates is a small portion of this. On 7/12/07, mraible [EMAIL PROTECTED] wrote: Is it possible to use Tapestry's parser in tests to verify that template syntax is correct? I'd like to run tests (like you do when doing a JSP pre-compile) to verify syntax w/o having to start the app and find out at runtime. Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-test-Tapestry-templates-out-of-container--tf4071711.html#a11571515 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: Architecture Overview
I want to get it too. 2007/7/13, Donyee [EMAIL PROTECTED]: I'm looking for it too! 2007/7/13, Adam Zimowski [EMAIL PROTECTED]: Well, for instance sample request flow diagram demonstrating core components involved when Tap 5 is at work. Something similar to component render states diagram. Perhaps discussion about Tapestry page cache and point out classes and interfaces that implement it. On that note, maybe a list of most important classes/interfaces and what they're responsible for would be a good start about such Tap 5 architecture overview document. Discussion about dependencies, which are the most important and how they're used. Setting up T5 developement environment. Those are just few topics, but I think they'd be a good start. Thanks On 7/12/07, Renat Zubairov [EMAIL PROTECTED] wrote: Hi What kind of document you would like to see? What should be the content of such document? Renat On 12/07/07, Adam Zimowski [EMAIL PROTECTED] wrote: Is there any documentation in general on how T5 is architected that would help somebody begin studying T5 source code? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - 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: Tap4.1.2: problems with ajax-response
Garr I hate that.There is probably a better way but there was something about the CDATA response approach that I didn't like either. (though I don't remember what that was) On 7/11/07, Patrick Klein [EMAIL PROTECTED] wrote: Hello again! Problem was a br instead of br/ which prevented dojo from completing it's task :| Regards, Patrick Hallo! I'm still fighting my way through the ajax functionality. It's at least partially working now but i got a very strange behavior which i'm circling around for quite some time. The page-template looks something like this: [...] form jwcid=[EMAIL PROTECTED] delegate=bean:delegate updateComponents=ognl:updatableReportFormIds table trtd table tr jwcid=@Any id=add_0 [...] /tr tr jwcid=@Any id=add_1 [...] /tr /table /td/tr trtd table tr jwcid=@Any id=remove_0 [...] /tr tr jwcid=@Any id=remove_1 [...] /tr /table /td/tr /table /form [...] In the above case getUpdatableFormIds() should return {add_0, add_2, remove_0, remove_1}. Should as it only gets me an error message from dojo stating WARNING: 13:58:38: No ajax-response elements received. and therefor nothing is rendered. The response looks fine in firebug afaik. If i restrict the updatableComponsnts to add_0 and add_1 everything works fine. Does this behavior ring a bell to anybody here? Rgards, Patrick - 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] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: (T4.1.2) Ajax enabled Table componet in T.1.2.
You would like to and it doesn't work when you tried it or ..? You might try wrapping your @Table with a @Any and tell it to update the @Any instead if it's giving you trouble. On 7/8/07, Jon Oakes [EMAIL PROTECTED] wrote: Hi Group, Forgive me if the answer is obvious, but I have searched using Google and have not found anything helpful. I am using Tapestry 4.1.2 on my first Tapestry project and I would like to use the table component but with Ajax updating. Ideally I would like to say something like async=true and updateComponents=myTable with the table components like with all the other tapestry components. Can someone point me in the right direction or let me know that this is not possible. Thanks, Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: T4: Can I have dynamic component id or how do I solve this?
Yes, Tapestry tries very hard to work however people feel comfortable.. With 4.1.2 especially I don't understand why span jwcid=@For span jwcid=[EMAIL PROTECTED] /span /span wouldn't work with a updateComponents=updateArea parameter value. The client id logic / unique loop id generation / etc should all be handled transparently but maybe that's not the case in this instance somehow. On 7/7/07, Marcus Schulte [EMAIL PROTECTED] wrote: cool, I was completely wrong then - didn't know, it worked with client-side id's. Something like that would really be a nice example for the docs, I think! 2007/7/6, Malin Ljungh [EMAIL PROTECTED]: Well, actually I works excellent! I have it like this in my template now: span jwcid=loopContacts tr id=ognl:'contact_'+currentContact.contactId jwcid=@Any renderTag=true ... /tr /span (loopContacts is of type For) and on every row I have edit button which swithes current contact from display to edit form. So on edit linkbutton I have this: binding name=async value=true / binding name=updateComponents value=ognl:'contact_'+currentContact.contactId/binding and the same on submit/save button. Result is very neat AJAX style table with editable rows without reload of page :) On 7/6/07, Marcus Schulte [EMAIL PROTECTED] wrote: Yes, you should be able to define any attribute (=informal parameter) in the template, in the spec or in annotated Java. In some components, however, id is a reserved parameter, because the component insists on generating it itself. But I think even if you had your data-id in the client-side element-id, your problem of updating only one rendering of a component in a @For would not be solved. One approach would be to make your loopContacts component a JSON-Component like it's described here: http://tapestry.apache.org/tapestry4.1/ajax/json.html . 2007/7/6, Malin Ljungh [EMAIL PROTECTED]: OK, it does NOT work to have the ognl id in the page-file. Not that it's important - but ... am I correct? I thought everything could be done either way. On 7/6/07, Malin Ljungh [EMAIL PROTECTED] wrote: Andreas! That was EXACTLY what I was looking for!!! Thanks!!! (And thank you Marcus too, I'll to refresh the whole loop if this doesn't work out) Actually I started with something like this but I normally use just jwcid in my .html file and have everything else in the page-specification (.page file) but it seemed so weird to have ognl in the jwcid in the .html file that I didn't even test it... would it work? I guess I should just try... Thanks again! *happy* /Malin - I'm a she btw ;) On 7/6/07, Andreas Andreou [EMAIL PROTECTED] wrote: But he can set the id parameter to whatever he likes, i.e. span jwcid=@MyComponent id=ognl:'data_'+currentIddata/span On 7/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: As there are no dynamic component instances in Tapestry, there are no dynamic component-ids. What you are seeing (loopContacts_i, i=1 ...) are multiple clientId's (Element id's on the client side) rendere by one and the same component instance, whose id, the component-id on the server, is loopContacts. So, tapestry wouldn't recognise loopContact_0 as a valid component-id anyway. So, I'd just try to refresh loopContacts and see whether the overhead of refreshing all instances really hurts. -Original Message- From: Malin Ljungh [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 9:03 AM To: Tapestry users Subject: T4: Can I have dynamic component id or how do I solve this? I have a loop - a component of type=For, displaying contacts. I'd like to have a component inside the loop with component id equals something with the database key in it, the contact ID. Is that possible? Or is there a smarter way to solve my issue? The reason I want it this way is that I want to use it in updateComponents with async=true. Then I could set updateComponents to the desired contact ID that I want to update on the client. All I have now is loopContacts, loopContacts_0, loopContacts_1 and so on, but I don't know which contact is which... Hope someone understood something... :) Any input appreciated!!! Malin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Re: Tapestry make me feel happy !
I'm glad you are having fun! :) Most thanks should of course go to Howard, as always. (the rest of us are mostly tinkerers/modifiers) On 7/3/07, #Cyrille37# [EMAIL PROTECTED] wrote: Hi, I spent a lot of time for discovering the Java World. After used Php, C++ and C# for years, this new learning adventure need a lot of energy. But today Tapestry make my feel really Happy ! Yesterday I started a fresh project with Tapestry 4.1.2, Acegi, Hibernate3, Spring2, Tomcat6, Eclipse3.3, and tonight I've just finished a Hivemind service to server Json-RPC calls (http://oss.metaparadigm.com/jsonrpc/) to give access to the application from some Java Applet and other stuff. Great, it's working ! Thank you very much to the Tapestry Team and other people from this mailing list. Thanks you all ! Best regards, Cyrille. PS: in 1 month I will have to hard test all of that in a cluster environment, I think the adventure will restart ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Selenium problem with T4.1.2
That patch is for PopupContainer - which isn't part of the simple AlertDialog mixin that Tapestry does with the dojo Dialog object. (well it is part of the object, but not something Tapestry duplicated) Alternately, you could just not use the experimental proxy injected feature of selenium and let it run in normal framed modeThat's what I do to test my Tapestry 4.1.2 based apps with selenium. On 7/3/07, Geoff Callender [EMAIL PROTECTED] wrote: Jesse, Thanks, but I'm sad to say that there are no other error messages to go on. However, dojo was patched in April for an almost identical problem: http://trac.dojotoolkit.org/ticket/2723 - PopupContainer load error within a cross-domain IFRAME Would you be able to have a quick look into whether the error dialog in T4.1.2 does something similar with to what's described in the ticket, ie. does it call dojo.html.getDocumentWindow()? I think the Selenium TestRunner URL counts as a cross-domain URL, eg: chrome://selenium-ide/content/selenium/TestRunner.html?test=file:/// jumpstart-max-1.5.0/web/src/test/SmokeTestSuite.htmlbaseURL=http:// localhost:8080 Regards, Geoff On 03/07/2007, at 2:25 PM, Jesse Kuhnert wrote: That's an internal error thrown by the mozilla dom implementation. nsiDOMEventListener is the class and handleEvent is the method NS_ERROR_XPC.blahblah is just some constant and the hex-y looking string is probably the current op code in the current pseudo js vm context...(i think?) Other than that I have absolutely no idea. I'm not sure if even a mozilla dev could tell you what was wrong with that much information. On 7/2/07, Geoff Callender [EMAIL PROTECTED] wrote: Hi, My Selenium tests that worked with T4.1.1 now fail with T4.1.2. They still work just fine with Selenium IDE but not in Selenium TestRunner which runs the whole suite in an IFRAME. It looks like client-side validation, which used to work, is now dead in TestRunner. Could this be the cause... [Exception... 'Permission denied to get property HTMLDocument._parentWindow' when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001e (NS_ERROR_XPC_JS_THREW_STRING) location: unknown data: no] Firebug shows that error whenever you arrive in a page with a form. I found a similar report but no solution: http://forums.openqa.org/ thread.jspa?threadID=4638tstart=111 Suggestions, anyone? Regards, Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: how to reference property value ? quiz question please.
The headComponent reference probably really is null. I don't think the component hierarchy is doing what you think it is in this instance - things get a little trickier when you are working through a @RenderBody setup and such... I'd make this be a single shared property that you have defined elsewhere (like on the page? ) so that you don't have to try navigating through the component hierarchy via ognl. That's usually a warning sign for the majority of cases anyways that the value should be a parameter/shared property anyways. (besides some cases where it's just easier and you know, who cares if it works right? ;) ) On 7/3/07, Ken nashua [EMAIL PROTECTED] wrote: Thanks... I just have a little question... I declared an id to a widget and trying to reference a property of that widget further below in html. Here is the code.. html jwcid=[EMAIL PROTECTED] title=ognl:page.components.headComponent.title stylesheet=ognl:assets.stylesheet body jwcid=@Body div id=page div id=header class=clearfix a href=# jwcid=@PageLink page=Home h1 style=padding: 5px; span class=right jwcid=@Insert value=ognl:page.components.headComponent.title/ /h1 /a /div The widget in question is headComponent... Now the widget CustomHead has no problem referencing ognl:page.components.headComponent.title but thereafter down below in html... it fails nosuchproperty span class=right jwcid=@Insert value=ognl:page.components.headComponent.title/ How am I suppose to refer to this value? i tried @Persist annotation in the java... I am at a loss for how to get this thing into the session/page and refer to it. Can someone help and let me know whats oging on... I believe this is basic tapestry 101. Sorry. Thanks in advance. Best regards Ken in nashua org.apache.tapestry.BindingException Unable to read OGNL expression 'parsed OGNL expression' of [EMAIL PROTECTED]/$Border]: source is null for getProperty(null, title) binding:ExpressionBinding[Home/$Border page.components.headComponent.title] location: context:/WEB-INF/Border.html, line 8 3 body jwcid=@Body 4 div id=page 5 div id=header class=clearfix 6 a href=# jwcid=@PageLink page=Home 7 h1 style=padding: 5px; 8 span class=right jwcid=@Insert value=ognl:page.components.headComponent.title/ 9 /h1 10 /a 11 /div 12 13 !-- span jwcid=@If condition=ognl: page.components.headComponent -- org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL expression 'parsed OGNL expression' of [EMAIL PROTECTED]/$Border]: source is null for getProperty(null, title) component: [EMAIL PROTECTED]/$Border] location: context:/WEB-INF/Home.html, line 1 1 span jwcid=@Border 2 h1span key=org.trails.welcomeWelcome to Trails/span/h1 3 ul class=glassList 4 div class=glassList jwcid=@Foreach source=ognl:allDescriptors value=ognl:descriptor 5 li 6 a href=# jwcid=@trails:ListAllLink typeName=ognl:descriptor.type.name/ ognl.OgnlException source is null for getProperty(null, title) Stack Trace: * ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1611) * 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_1138c8dc9ee.readCompiled($ExpressionEvaluator_1138c8dc9ee.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) * $Insert_6.getValue($Insert_6.java) * org.apache.tapestry.components.Insert.renderComponent(Insert.java :42) * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617) * org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java :434) * org.apache.tapestry.link.DefaultLinkRenderer.renderLink( DefaultLinkRenderer.java:81) * org.apache.tapestry.link.AbstractLinkComponent.renderComponent( AbstractLinkComponent.java:95) * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617) * org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java :434) * org.apache.tapestry.html.Body.renderComponent(Body.java:129) *
Re: 4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender
You can inject the ResponseBuilder service and call ResponseBuilder.isDynamic() to avoid doing things you don't want to have happen in one vs. another instance. To be clear, ~everything~ that happens in a dynamic request should be the same as what happens in a normal request. (except maybe for json stuff) The overhead on Tapestrys end has been reduced to pretty much nothing now though, so if there is any extra work going on it's in your own application code. It might be more ideal to try and do a direct rendering scheme at some point but I don't honestly think I'm going to try and do it for T4 - maybe T5 if Howard hasn't done it already. On 7/4/07, Paul Stanton [EMAIL PROTECTED] wrote: Thanks Renat, unfortunately the dialog needs to be initialised programmatically .. I need to dynamically stuff an object into it. I might be able to use JS for the close operation though. Renat Zubairov wrote: Hi You can show or hide dialog not from the Tapestry (read server-side) but directly with Javascript. It's pretty simple, you just need to call method show or hide on the DoJo dialog: script type=text/javascript function closeDialog() { dojo.widget.byId('DialogContent').hide(); } /script Renat On 04/07/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi all, Currently I've got a couple of dialogs within a page. Each time a dialog is shown or hidden (via @EventLister annotation) the page's pageBeginRender method is called and this is more work than is necessary just do display a simple dialog. Is there a way to detect that the call is being made by the dialog request and in that case, not execute exhaustive code? Thanks, Paul. - 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] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Class cast exception in ASTChain, Bug OGNL-11
Thanks, I've re-opened the bug and will take a look. On 7/10/07, Damien Uern [EMAIL PROTECTED] wrote: Hello, I recently upgraded to OGNL 2.7, Tapestry 4.1.2 and am experiencing the same issue described here http://jira.opensymphony.com/browse/OGNL-11. The original poster didn't seem to provide much information, so I have added a comment to that bug describing the issue I am having. I'm not sure if I need to open a new bug in order for somebody to look at it. I will reproduce my comment here for convenience, any help/workarounds would be most appreciated: I have just updated from Tapestry 4.0 to 4.1.2 with OGNL 2.7 and I am having this same class cast exception on an ASTChain generated class, stack trace is here: Caused by: java.lang.ClassCastException: com.jigsawpublications.common.tapestry.menu.ActionLinkNode at $ASTChain_113aed5c33f.get($ASTChain_113aed5c33f.java) at org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.read( ExpressionEvaluatorImpl.java:142) What we have in the component template looks like this: span jwcid=[EMAIL PROTECTED] li a jwcid=@DirectLink listener=listener:callParentAction parameters=ognl:getNodeIter().getAction() href=# title=ognl:nodeIter.title span jwcid=@Insert value=ognl:nodeIter.title / /a /li /span The nodeIter property on the component class is declared as follows: public IMenuNode getNodeIter() { } So what we have here is a list of objects all implementing this interface IMenuNode, and getNodeIter() returns the current iteration as set by the tapestry @For component. The class cast exception was on an ActionLinkNode which implements that interface. Other classes are PageLinkNode, RootNode and MenuNode. The *only* one that causes a problem seems to be the above @Block component, as another block: span jwcid=[EMAIL PROTECTED] li a jwcid=@PageLink href=# title=ognl:nodeIter.title page=ognl:nodeIter.page span jwcid=@Insert value=ognl:nodeIter.title / /a /li /span renders fine without any issue (these other blocks occur earlier in the page than the ActionLinkBlock). If I change the actionLink block to be the following (i.e. change the offending ognl expressions): span jwcid=[EMAIL PROTECTED] li a jwcid=@DirectLink listener=listener:callParentAction parameters=ognl:'action' href=# title=ognl:'title' span jwcid=@Insert value=ognl:'title' / /a /li /span Then I do not get an exception during the page render. This worked fine with the previous version of ognl we were using (2.6.7). Please let me know if you require more information. Regards, Damien Uern -- Damien Uern Online Applications Developer Synect Online Solutions http://www.synect.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: T4.1.2: problems with async EventListener
Weird..I've got everything tested on most browsers known to man now so am always on the lookout for any bugs (that I can do something about) ...Ie is tested back to 5.5. On 7/11/07, Patrick Klein [EMAIL PROTECTED] wrote: Hello, Is it a cache problem? Try to delete your cache, cookies, etc. Proxy cache if applicable, etc. thought that as well, but it wasn't. It turns out that IE does not like it if you try to update nested dom-elements, e.g. div id=1 [something here] div id=2 [something more here] /div /div if one updates 2 and 1 in the same response, IE seems to ignore it completely... Regards, Patrick At least the first problem you had sounds like cache inconsistency Patrick Klein wrote: Hallo, strange... after letting it be for a few days and retrying today it works :| Now another problem has arisen: The whole thing works fine using firefox but nothing works with internet explorer. i've got eventlisteners for property selections. i can see that the listeners in the java class are called, but nothing happens on the IE side. These events should modify input TextFields as well as PropertySelections but nothing goes through to the shown page. Could anyone help me out here on how to make it work? Regards, Patrick Hi! I just tried to switch over to Tapestry 4.1.2 and use the EventListeners and AJAX functionality. However, as soon as i add an EventListener to any page-class file i get the following log output: 02.07.2007 15:46:00 org.apache.tapestry.asset.AssetService service WARNUNG: Classpath resource '/tapestry/event.js' does not exist. 02.07.2007 15:46:00 org.apache.tapestry.error.RequestExceptionReporterImpl reportRequestException WARNUNG: Failure to export classpath resource /tapestry.js. org.apache.hivemind.ApplicationRuntimeException: Classpath resource '/tapestry.js' does not exist. at org.apache.tapestry.asset.ResourceDigestSourceImpl.computeMD5( ResourceDigestSourceImpl.java:96) at org.apache.tapestry.asset.ResourceDigestSourceImpl.getDigestForResource( ResourceDigestSourceImpl.java:64) at $ResourceDigestSource_1138787a9c0.getDigestForResource($ResourceDigestSource_1138787a9c0.java) at org.apache.tapestry.asset.AssetService.service(AssetService.java:221) at $IEngineService_1138787a8cc.service($IEngineService_1138787a8cc.java) at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service( EngineServiceOuterProxy.java:72) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java :237) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service( InvokeEngineTerminator.java:54) at $WebRequestServicer_1138787a891.service($WebRequestServicer_1138787a891.java) at $WebRequestServicer_1138787a88d.service($WebRequestServicer_1138787a88d.java) at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service (WebRequestServicerPipelineBridge.java:61) at $ServletRequestServicer_1138787a87f.service($ServletRequestServicer_1138787a87f.java) at org.apache.tapestry.request.DecodedRequestInjector.service( DecodedRequestInjector.java:55) at $ServletRequestServicerFilter_1138787a87b.service($ServletRequestServicerFilter_1138787a87b.java) at $ServletRequestServicer_1138787a881.service($ServletRequestServicer_1138787a881.java) at org.apache.tapestry.multipart.MultipartDecoderFilter.service( MultipartDecoderFilter.java:52) at $ServletRequestServicerFilter_1138787a879.service($ServletRequestServicerFilter_1138787a879.java) at $ServletRequestServicer_1138787a881.service($ServletRequestServicer_1138787a881.java) at org.apache.tapestry.services.impl.SetupRequestEncoding.service( SetupRequestEncoding.java:53) at $ServletRequestServicerFilter_1138787a87d.service($ServletRequestServicerFilter_1138787a87d.java) at $ServletRequestServicer_1138787a881.service($ServletRequestServicer_1138787a881.java) at $ServletRequestServicer_1138787a873.service($ServletRequestServicer_1138787a873.java) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java :126) at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java :103) at javax.servlet.http.HttpServlet.service(HttpServlet.java :689) at javax.servlet.http.HttpServlet.service(HttpServlet.java :802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at com.biso.tomcat.filter.PerformanceFilter.doFilter(PerformanceFilter.java :42) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
Re: Tap 4.1.2 Bug found ???
This is too much for me to digest, has anything important been added to that JIRA issue that is still missing? On 7/11/07, Bastian Voigt [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, I have to correct my last post: The for loop is _NOT_ nested in the form! Component HTML: - --- form jwcid=@Form - input field /form span jwcid=@For -- iterate over ajax search results span jwcid=@RenderBlock block=ognl:block1 / span jwcid=@RenderBlock block=ognl:block2 / span jwcid=@RenderBlock block=ognl:block3 / /span - -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon +49 - 40 - 67957171 mobil +49 - 179 - 4826359 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGlPaT9+lAHD7HULYRArHSAJ97gPartnzwSTF2LTq/5oXNl5VrEgCggtEr 8UWGtY3KiRtmBnSTQH7+cyA= =cE6B -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
4.1.2 - problem starting tapestry app
Hi, I just updated my tapestry, and am trying to deploy my application. It deploys fine on one of my ubuntu based servers, but when I attempted to deploy it onto production I get the following errors: ERROR spintop.tapestry.Exception - Uncaught error, discovered at tapestry level org.apache.hivemind.ApplicationRuntimeException: There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=en_US ] from the page pool. [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68] ... Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68: Error adding property actionService to class org.apache.tapestry.form.Form: No engine service named 'action' is available. [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68] ... Caused by: org.apache.hivemind.ApplicationRuntimeException: No engine service named 'action' is available. [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68] ... Caused by: org.apache.hivemind.ApplicationRuntimeException: No engine service named 'action' is available. Any ideas what could cause the app to work on one server but not the other? thanks, craig -- View this message in context: http://www.nabble.com/4.1.2---problem-starting-tapestry-app-tf4071997.html#a11572445 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DatePicker with min,max parameters
That's implemented in 4.1.2, not sure about T5. http://tapestry.apache.org/tapestry4.1/components/dojo/dropdowndatepicker.html On 7/12/07, Borut Bolčina [EMAIL PROTECTED] wrote: Hello, Has anyone tried to upgrade T4 (or T5) DatePicker component to take two additional parameters (min and max) which would prevent selecting date prior to min and after max? Cheers, Borut -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: 4.1.2 - problem starting tapestry app
That sounds about right to me. There really isn't an engine service named action anymore. It existed in previous 4.X versions but was marked for death a long time ago. Sounds like your server has some old tapestry jars somewhere. On 7/12/07, craigham [EMAIL PROTECTED] wrote: Hi, I just updated my tapestry, and am trying to deploy my application. It deploys fine on one of my ubuntu based servers, but when I attempted to deploy it onto production I get the following errors: ERROR spintop.tapestry.Exception - Uncaught error, discovered at tapestry level org.apache.hivemind.ApplicationRuntimeException: There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=en_US ] from the page pool. [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68] ... Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68: Error adding property actionService to class org.apache.tapestry.form.Form: No engine service named 'action' is available. [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68] ... Caused by: org.apache.hivemind.ApplicationRuntimeException: No engine service named 'action' is available. [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68] ... Caused by: org.apache.hivemind.ApplicationRuntimeException: No engine service named 'action' is available. Any ideas what could cause the app to work on one server but not the other? thanks, craig -- View this message in context: http://www.nabble.com/4.1.2---problem-starting-tapestry-app-tf4071997.html#a11572445 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Tap 4.1.2 Bug found ???
I'll try and set up a similarly structured test-case this weekend. If I can find a bug, I'll post it. 2007/7/13, Jesse Kuhnert [EMAIL PROTECTED]: This is too much for me to digest, has anything important been added to that JIRA issue that is still missing? On 7/11/07, Bastian Voigt [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, I have to correct my last post: The for loop is _NOT_ nested in the form! Component HTML: - --- form jwcid=@Form - input field /form span jwcid=@For -- iterate over ajax search results span jwcid=@RenderBlock block=ognl:block1 / span jwcid=@RenderBlock block=ognl:block2 / span jwcid=@RenderBlock block=ognl:block3 / /span - -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon +49 - 40 - 67957171 mobil +49 - 179 - 4826359 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGlPaT9+lAHD7HULYRArHSAJ97gPartnzwSTF2LTq/5oXNl5VrEgCggtEr 8UWGtY3KiRtmBnSTQH7+cyA= =cE6B -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com -- Marcus Schulte http://marcus-schulte.blogspot.com
Re: T5: Premature validation errors in beaneditform
I think it was some Eclipse weirdness. I started over w/ a fresh call to the archtype and had no problems. bill On 7/12/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: What browser are you using? Tapestry relies on CSS to make some divs and imgs not visible. On 7/12/07, Bill Holloway [EMAIL PROTECTED] wrote: I have a very simple bean object with two simple string properties. When I do form t:type=beaneditform object=foo / I see the validation error red Xs after the property input fields and a notice You must correct the following errors before you may continue. above the set of fields. The error text is not in the characteristic red. I have specified no validation on the bean's fields. Any ideas why errors are being thrown here? I'm using the central repository's recently-released 5.0.5 library for tap-core. Bill -- 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Mixin parameters when applying them to yourself?
I belive you can declare parameters in you mixin just as you would in a component, I haven't tried it yet, but if you hadn't, please read this page from tapestry site: http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html Davor Hrg On 7/12/07, Dan Adams [EMAIL PROTECTED] wrote: When you apply a mixin with @Mixin how do you specify parameters? Is there an open ticket for this? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender
Jesse, It is my own application code that I want to avoid. The ResponseBuilder solution works great. Thanks. Jesse Kuhnert wrote: You can inject the ResponseBuilder service and call ResponseBuilder.isDynamic() to avoid doing things you don't want to have happen in one vs. another instance. To be clear, ~everything~ that happens in a dynamic request should be the same as what happens in a normal request. (except maybe for json stuff) The overhead on Tapestrys end has been reduced to pretty much nothing now though, so if there is any extra work going on it's in your own application code. It might be more ideal to try and do a direct rendering scheme at some point but I don't honestly think I'm going to try and do it for T4 - maybe T5 if Howard hasn't done it already. On 7/4/07, Paul Stanton [EMAIL PROTECTED] wrote: Thanks Renat, unfortunately the dialog needs to be initialised programmatically .. I need to dynamically stuff an object into it. I might be able to use JS for the close operation though. Renat Zubairov wrote: Hi You can show or hide dialog not from the Tapestry (read server-side) but directly with Javascript. It's pretty simple, you just need to call method show or hide on the DoJo dialog: script type=text/javascript function closeDialog() { dojo.widget.byId('DialogContent').hide(); } /script Renat On 04/07/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi all, Currently I've got a couple of dialogs within a page. Each time a dialog is shown or hidden (via @EventLister annotation) the page's pageBeginRender method is called and this is more work than is necessary just do display a simple dialog. Is there a way to detect that the call is being made by the dialog request and in that case, not execute exhaustive code? Thanks, Paul. - 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]