Re: Assets in component library
Hey Thiago, Thanks for the reply. I indeed use the maven structure and that's actually something I have tried, with the following error as result: Could not convert 'classpath:/assets/components/languageselector/nl.png' into a component parameter binding: Error parsing property expression 'classpath:/assets/components/languageselector/nl.png': Unable to parse input at character position 11. - What I did: img src=${classpath:/assets/components/languageselector/nl.png} / - Location of the file: src/main/resources/assets/components/languageselector/nl.png Am I forgetting something? - Also if I want to get it from inside a property getter, as the images are rendered in a loop, how do I get the right path? - I tried the following: return assetSource.getClasspathAsset(assets/components/languageselector/ + loopLocale.getLanguage() + .png).toClientURL(); - With following error as result: Unable to create a client URL for classpath resource assets/components/languageselector/en.png: The resource path was not within an aliased path. So yea, I'm still stuck here. On 27/03/14 18:14, Thiago H de Paula Figueiredo wrote: On Thu, 27 Mar 2014 12:19:41 -0300, Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Hi! I'm moving my components to a Tapestry component library. But I'm not sure how to handle images used in those components. Before I just put them in *src/main/webapp/images/* and then used *img src=${context:/images/something.png /* But what's the right way of handling images in a Tapestry library. I've been trying different things without success. 1) Where do I put my images In the classpath. If you're using the Maven source folder structure, and it seems you do, /src/main/resources is the place. 2) How can I get the url to these images, also how if I need to get them dynamically (use of AssetSource?) ${classpath:/images/something.png}
Re: Assets in component library
I got it working with the following: public String getImagePath() { return assetSource.getClasspathAsset(classpath:com/company/tapestrylib/assets/components/languageselector/ + loopLocale.getLanguage() + .png).toClientURL(); } + img src=${imagePath} / + Files located in: src/main/resources/com/company/tapestrylib/assets/components/languageselector/ Is this the right way then? On 28/03/14 08:55, Nathan Quirynen wrote: Hey Thiago, Thanks for the reply. I indeed use the maven structure and that's actually something I have tried, with the following error as result: Could not convert 'classpath:/assets/components/languageselector/nl.png' into a component parameter binding: Error parsing property expression 'classpath:/assets/components/languageselector/nl.png': Unable to parse input at character position 11. - What I did: img src=${classpath:/assets/components/languageselector/nl.png} / - Location of the file: src/main/resources/assets/components/languageselector/nl.png Am I forgetting something? - Also if I want to get it from inside a property getter, as the images are rendered in a loop, how do I get the right path? - I tried the following: return assetSource.getClasspathAsset(assets/components/languageselector/ + loopLocale.getLanguage() + .png).toClientURL(); - With following error as result: Unable to create a client URL for classpath resource assets/components/languageselector/en.png: The resource path was not within an aliased path. So yea, I'm still stuck here. On 27/03/14 18:14, Thiago H de Paula Figueiredo wrote: On Thu, 27 Mar 2014 12:19:41 -0300, Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Hi! I'm moving my components to a Tapestry component library. But I'm not sure how to handle images used in those components. Before I just put them in *src/main/webapp/images/* and then used *img src=${context:/images/something.png /* But what's the right way of handling images in a Tapestry library. I've been trying different things without success. 1) Where do I put my images In the classpath. If you're using the Maven source folder structure, and it seems you do, /src/main/resources is the place. 2) How can I get the url to these images, also how if I need to get them dynamically (use of AssetSource?) ${classpath:/images/something.png} - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Jetty or NetBeans issue?
I run my dev server using a Maven goal under NetBeans. Quite often Jetty becomes completely unresponsive. Is this a problem of Jetty running in NetBeans, or something to do with Tapestry? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: Jetty or NetBeans issue?
Hi If u just run mvn jetty:run From the command line it will eliminate the netbeans component. Cm On 28/03/2014 7:51 pm, John j...@quivinco.com wrote: I run my dev server using a Maven goal under NetBeans. Quite often Jetty becomes completely unresponsive. Is this a problem of Jetty running in NetBeans, or something to do with Tapestry? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: Jetty or NetBeans issue?
No problem here as well. What versions are you using? On 28 Mar 2014 10:00, Rural Hunter ruralhun...@gmail.com wrote: I use netbeans+maven+tomcat+tapestry and there is no problem. 于 2014/3/28 16:51, John 写道: I run my dev server using a Maven goal under NetBeans. Quite often Jetty becomes completely unresponsive. Is this a problem of Jetty running in NetBeans, or something to do with Tapestry? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Reg: How to set progressive display whole project
I have seen jumpstart example about the progressive display its working fine. But it sets for the single page only . If i have 50 page and for the 50 page i need to work the same process ? . its difficult. Is any way to set progressive universally for the whole project . - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
tapestry-wro4j errors
Hi, Is someone using tapestry-wro4j (0.9.8) with Tapestry 5.3.7 ? I just wanted to use it for Less transformer. I added the dependency in pom.xml: dependency groupIdcom.github.lltyk/groupId artifactIdtapestry-wro4j/artifactId version0.9.8/version /dependency Then I added a file named main.less at location src/main/webapp/css/ and added following to my page class: @Import(stylesheet = { context:css/main.less }) But get the following error: Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.BOMInputStream at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) ... 110 more Someone who's using this library sucessfully and sees what I am doing wrong here? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: tapestry-wro4j errors
A quick Google search found this, which might help: https://groups.google.com/forum/#!msg/wro4j/LYmnDGEgyLI/5ibuL33Scp0J On Fri, Mar 28, 2014 at 11:24 AM, Nathan Quirynen nat...@pensionarchitects.be wrote: Thanks for the hint Apparently another dependency was pulling in commons-io:commons-io:1.4, while tapestry-wro4j needs 2.2. So I added following to my pom: dependency groupIdcommons-io/groupId artifactIdcommons-io/artifactId version2.2/version /dependency Which made the error disappear, but gave me the next error: Caused by: java.lang.IllegalArgumentException: Bad language version: 180 at org.mozilla.javascript.Context.checkLanguageVersion(Context.java:772) at org.mozilla.javascript.Context.setLanguageVersion(Context.java:741) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.createContext(RhinoScriptBuilder.java:66) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.init(RhinoScriptBuilder.java:41) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.init(RhinoScriptBuilder.java:36) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.newClientSideAwareChain(RhinoScriptBuilder.java:221) at ro.isdc.wro.extensions.processor.support.less.LessCss.initScriptBuilder(LessCss.java:46) ... 113 more Guess I'll have to dig deeper in the dependency tree... I wish I could use Tapestry 5.4 already with built in features like Less, Bootstrap, ...! On 28/03/14 16:09, Andreas Fink wrote: Hi. This is probably just a missing dependency to commons-io http://search.maven.org/#artifactdetails|org.apache.commons|commons-io|1.3.2|jar I used tapestry-wro4j before, just for combining and minifying, without issues. Cheers, Andi. On 28 Mar 2014, at 15:59 , Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Is someone using tapestry-wro4j (0.9.8) with Tapestry 5.3.7 ? I just wanted to use it for Less transformer. I added the dependency in pom.xml: dependency groupIdcom.github.lltyk/groupId artifactIdtapestry-wro4j/artifactId version0.9.8/version /dependency Then I added a file named main.less at location src/main/webapp/css/ and added following to my page class: @Import(stylesheet = { context:css/main.less }) But get the following error: Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.BOMInputStream at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) ... 110 more Someone who's using this library sucessfully and sees what I am doing wrong here? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Package private interface loading problem
Hello, Thought I'd post this here in case anyone else has the same problem. I was modifying a fairly simple tapestry app and adding a scheduled service with a PeriodicExecutor, the service did some database work that was not being committed and there was no exception in the logs! When I investigated I found that an exception was being thrown but never reported, basically I had an interface that was package private and that was causing an exception that was never getting reported. I've made an example project that you can see g...@bitbucket.org:jaybowers/tapestry-class-loading-issue.git and here is the exception (that I had to get by stepping through the app): [DEBUG] AppModule.SomeOtherPojo Invoking constructor public example.tapestry.other.SomeOtherPojoImpl() (for service 'SomeOtherPojo') [INFO] other.SomeOtherPojoImpl Let's create a bang... [DEBUG] AppModule.SomeOtherPojo BEGIN Analyzing example.tapestry.other.SomeOtherPojoImpl$1 java.lang.IllegalAccessError: class example.tapestry.other.SomeOtherPojoImpl$1 cannot access its superinterface example.tapestry.other.Bang at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.lang.ClassLoader.defineClass(ClassLoader.java:643) at org.apache.tapestry5.internal.plastic.PlasticClassLoader.defineClassWithBytecode(PlasticClassLoader.java:52) at org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator.doClassLoad(AbstractReloadableObjectCreator.java:268) at org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator.loadAndTransformClass(AbstractReloadableObjectCreator.java:195) at org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:38) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at example.tapestry.other.SomeOtherPojoImpl.dontCallMe(SomeOtherPojoImpl.java:14) at $SomeOtherPojo_1197326292a3.dontCallMe(Unknown Source) at $SomeOtherPojo_11973262929e.dontCallMe(Unknown Source) at example.tapestry.services.AppModule$1.run(AppModule.java:50) at org.apache.tapestry5.ioc.internal.services.cron.PeriodicExecutorImpl$Job.invoke(PeriodicExecutorImpl.java:178) at org.apache.tapestry5.ioc.internal.services.cron.PeriodicExecutorImpl$Job.invoke(PeriodicExecutorImpl.java:48) at org.apache.tapestry5.ioc.internal.services.ParallelExecutorImpl$1.call(ParallelExecutorImpl.java:58) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) I can get round this by making the interface SomeOtherPojo public but its not ideal. I've also included a link on the index page of the app to create the exception without the scheduler. HTH, Jay -- Multicom Products Limited is a company registered in England and Wales (Registered Number 2447353 Wales) with its registered office at 33 Victoria Street, Bristol, BS1 6AS. This email is confidential to the addressee and may contain privileged information. If you have reason to believe that you are not the intended recipient of this communication, please delete it from your system and contact the sender immediately. You are not permitted to use or copy this email or its attachments nor may you disclose the same to any third party. Unauthorised use or disclosure of this email is prohibited and may be unlawful. We reserve the right to intercept and read emails sent or received by our employees. This is to ensure compliance with our internal policies and to protect our business. If you do not wish for your communications to be subjected to such scrutiny, you should not communicate via this email system. We endeavour to exclude viruses and other malware from our data but it is the responsibility of the recipient to scan all emails and attachments for viruses before opening them. We accept no liability for any damage caused by any virus transmitted by this email. Email may not be completely secure or error free, can be intercepted or corrupted and may arrive late or not at all. Anyone who communicates with us by email accepts these risks. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Show and tell / New 5.4 app live.
Yeah I seen that, good stuff, I'll keep you guys posted on the savings. On Mar 27, 2014 2:29 AM, Chris Mylonas ch...@opencsta.org wrote: Maybe your recurring hosting will be further reduced George :) http://aws.amazon.com/ec2/pricing/effective-april-2014/ On 24/03/2014 6:58 am, George Christman gchrist...@cardaddy.com wrote: Your absolutely correct, you can deff do better price wise with a VPS, but then again I don't believe you will get all the features and conveniences you get with aws for the same price. Being I'm by myself, the last thing I have time to deal with is hosting / server issues. If I was with aws before, I probably wouldn't have ever lost my old application grr. Included in that 59 dollars, I'm getting a load balancer, autoscaling, auto maintained servers, image server with backups which I believe is on a cdn network, redundant data centers (just hope we don't have another netflix issue lol), database server with auto backups, email relays, etc. So tons of great perks that helps to reduce thousands of dollars in labor / hardware. Another perk is the ability to whip up an entire environment in under 15mins. Perhaps I find it cheap do to the fact I use to own all my own hardware in a colo which cost me thousands of dollars plus labor. Rack space alone was 1500/mo before hardware and labor, so aws to me seems like a slam dunk. I'll keep you posted as traffic continues to increase and the free tier goes away lol. On Fri, Mar 14, 2014 at 9:59 AM, George Christman gchrist...@cardaddy.comwrote: I'd like to first say thanks to all who have contributed to the on going evolution of Tapestry and it's support. I'm a long time user of Tapestry starting with version 3 in 2005 and I must say leaps and bounds have been made since then. I'd also like to say thanks to all who have continued to answer my never ending array of questions ;-) Thanks guys! It has been a pleasure working with you all. In 2008 we took a risk and decided to move forward with t5 beta over spring with the development of our new app. We experienced some short lived glorious times as we successfully processed hundreds of thousands of users and cars, however do to our nations elected official and his cash for clunkers program, it destroyed our market place forcing me to have to change our brand to CarDaddy.com. With the lack of success with the new brand I eventually had to move on to other opportunities. I ended up taking a job with our state government and some contract work for a hotel wireless company, however along with my move, I decided to bring along my dear friend Tapestry5. Tapestry5 has ended up becoming an active platform within my organizations which we are now actively focused on building 5.4 apps. :) While being focused with my other work, my personal app which was still being ran on T5.1 was lacking support and ended up getting hacked (apache) three weeks ago by the Chinese bringing down my servers. This forced me to have to whip up a new application over the past three weeks by myself in 5.4 and yup, that wasn't a typo, only three weeks and that includes mobile too, okay maybe they were 3 very long weeks, but I still managed to pulled it off and I don't think I could have without the help of T5.4, jquery, bootstrap etc :) Well I'd like to share my new app with the community while once again pushing out a beta app into production :) I realize there is a lot of room for improvement, so feel free to suggest away. Growth seems to be on the rise as traffic / inventory continue to increase daily and I don't have a doubt in my mind that Tapestry won't be up for the job. Once again, thank you guys for all you have done. New 5.4-beta3 site www.cardaddy.com Cheers, George -- George Christman www.CarDaddy.com P.O. Box 735 Johnstown, New York -- George Christman www.CarDaddy.com P.O. Box 735 Johnstown, New York
Re: tapestry-wro4j errors
On Fri, Mar 28, 2014 at 8:24 AM, Nathan Quirynen nat...@pensionarchitects.be wrote: I wish I could use Tapestry 5.4 already with built in features like Less, Bootstrap, ...! What prevents you from doing so? Kalle On 28/03/14 16:09, Andreas Fink wrote: Hi. This is probably just a missing dependency to commons-io http://search.maven.org/#artifactdetails|org.apache.commons|commons-io|1.3.2|jar I used tapestry-wro4j before, just for combining and minifying, without issues. Cheers, Andi. On 28 Mar 2014, at 15:59 , Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Is someone using tapestry-wro4j (0.9.8) with Tapestry 5.3.7 ? I just wanted to use it for Less transformer. I added the dependency in pom.xml: dependency groupIdcom.github.lltyk/groupId artifactIdtapestry-wro4j/artifactId version0.9.8/version /dependency Then I added a file named main.less at location src/main/webapp/css/ and added following to my page class: @Import(stylesheet = { context:css/main.less }) But get the following error: Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.BOMInputStream at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) ... 110 more Someone who's using this library sucessfully and sees what I am doing wrong here? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Jetty or NetBeans issue?
NetBeans 8 on Java 8 with 1.7 compiler for project, Tapestry 5.3.6, Jetty 6 - now I'm thinking the Java 8 may be a problem! - Original Message - From: Boris Horvat To: Tapestry Users Sent: Friday, March 28, 2014 10:06 AM Subject: Re: Jetty or NetBeans issue? No problem here as well. What versions are you using? On 28 Mar 2014 10:00, Rural Hunter ruralhun...@gmail.com wrote: I use netbeans+maven+tomcat+tapestry and there is no problem. 于 2014/3/28 16:51, John 写道: I run my dev server using a Maven goal under NetBeans. Quite often Jetty becomes completely unresponsive. Is this a problem of Jetty running in NetBeans, or something to do with Tapestry? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: tapestry-wro4j errors
Hi. This is probably just a missing dependency to commons-io http://search.maven.org/#artifactdetails|org.apache.commons|commons-io|1.3.2|jar I used tapestry-wro4j before, just for combining and minifying, without issues. Cheers, Andi. On 28 Mar 2014, at 15:59 , Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Is someone using tapestry-wro4j (0.9.8) with Tapestry 5.3.7 ? I just wanted to use it for Less transformer. I added the dependency in pom.xml: dependency groupIdcom.github.lltyk/groupId artifactIdtapestry-wro4j/artifactId version0.9.8/version /dependency Then I added a file named main.less at location src/main/webapp/css/ and added following to my page class: @Import(stylesheet = { context:css/main.less }) But get the following error: Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.BOMInputStream at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) ... 110 more Someone who's using this library sucessfully and sees what I am doing wrong here? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: tapestry-wro4j errors
Thanks for the hint Apparently another dependency was pulling in commons-io:commons-io:1.4, while tapestry-wro4j needs 2.2. So I added following to my pom: dependency groupIdcommons-io/groupId artifactIdcommons-io/artifactId version2.2/version /dependency Which made the error disappear, but gave me the next error: Caused by: java.lang.IllegalArgumentException: Bad language version: 180 at org.mozilla.javascript.Context.checkLanguageVersion(Context.java:772) at org.mozilla.javascript.Context.setLanguageVersion(Context.java:741) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.createContext(RhinoScriptBuilder.java:66) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.init(RhinoScriptBuilder.java:41) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.init(RhinoScriptBuilder.java:36) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.newClientSideAwareChain(RhinoScriptBuilder.java:221) at ro.isdc.wro.extensions.processor.support.less.LessCss.initScriptBuilder(LessCss.java:46) ... 113 more Guess I'll have to dig deeper in the dependency tree... I wish I could use Tapestry 5.4 already with built in features like Less, Bootstrap, ...! On 28/03/14 16:09, Andreas Fink wrote: Hi. This is probably just a missing dependency to commons-io http://search.maven.org/#artifactdetails|org.apache.commons|commons-io|1.3.2|jar I used tapestry-wro4j before, just for combining and minifying, without issues. Cheers, Andi. On 28 Mar 2014, at 15:59 , Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Is someone using tapestry-wro4j (0.9.8) with Tapestry 5.3.7 ? I just wanted to use it for Less transformer. I added the dependency in pom.xml: dependency groupIdcom.github.lltyk/groupId artifactIdtapestry-wro4j/artifactId version0.9.8/version /dependency Then I added a file named main.less at location src/main/webapp/css/ and added following to my page class: @Import(stylesheet = { context:css/main.less }) But get the following error: Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.BOMInputStream at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) ... 110 more Someone who's using this library sucessfully and sees what I am doing wrong here? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Tapestry-routing 0.1.0 released!
On the heels of tapestry-security 0.6.0 release, follows our second T5.4 compatible release: tapestry-routing 0.1.0. Same deal here, the source is moved to Github https://github.com/tynamo/tapestry-security/ and the userguide is still at the familiar location at http://tynamo.org/tapestry-routing+guide. Alejandro Scandroli did all the hard work, thanks Alejandro! For release notes, I'm thinking in the future I'm just going to link to the Github milestone for the release. Let's practice: tapestry-routing 0.1.0 milestonehttps://github.com/tynamo/tapestry-routing/issues?milestone=1state=closed . Happy coding, Tynamo team
Re: Assets in component library
On Fri, 28 Mar 2014 04:55:17 -0300, Nathan Quirynen nat...@pensionarchitects.be wrote: Hey Thiago, Hi! img src=${classpath:/assets/components/languageselector/nl.png} / Please try img src=${classpath:assets/components/languageselector/nl.png} / (notice the lack of slash before assets). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Reg: How to set progressive display whole project
On Fri, 28 Mar 2014 08:02:21 -0300, srikaanth srikaanth.k@snovabits.com wrote: I have seen jumpstart example about the progressive display its working fine. But it sets for the single page only . If i have 50 page and for the 50 page i need to work the same process ? . its difficult. Is any way to set progressive universally for the whole project . No. ProgressiveDisplay is a component, so you need to declare it in all pages you need to use it. Or, if that's possible for your case (i.e. the content you need to put inside a ProgressiveDisplay is shared between pages), put it in your Layout component. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Package private interface loading problem
On Fri, 28 Mar 2014 13:03:52 -0300, Jay Bowers j...@multicom.co.uk wrote: Hello, Hi! When I investigated I found that an exception was being thrown but never reported, basically I had an interface that was package private and that was causing an exception that was never getting reported. In this case, it seems your public interface is a subinterface of a package private one, so I'd guess your superinteface isn't that private to begin with. Tapestry-IoC creates proxies for services defined on interfaces so, so you'll run on problems when the service interface has a superinterface the proxy, which isn't created in the same package as the service interface, is created. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org