Re: Exception Report must not contain a form

2011-12-05 Thread Stephan Windmüller
On 30.11.2011 15:55, I wrote: > However, now the ExceptionReport page itself throws an exception when > the orginal exception occurs on a page which already has a form: Does anybody have an idea why this is happening or how I can fix it? Regards Stephan signature.asc Description: OpenPGP dig

Re: [T5.3] Bug PageTester

2011-12-05 Thread Kevin Lin
Move to TAP5: https://issues.apache.org/jira/browse/TAP5-1770 On Thu, Dec 1, 2011 at 9:52 AM, Kevin Lin wrote: > Thanks Josh. Defect raised in JIRA: > TAPESTRY-2785 - [T5.3] - PageTester causes StringIndexOutOfBoundsException > for any page request path with query > parameter

Re: a trouble problem

2011-12-05 Thread Chris Poulsen
It will not work as he's running out of PermGen, the -Xmx switch controls heap size. The switch to use is: -XX:MaxPermSize= to allow the VM to allocate more PermGen. Eg. -XX:MaxPermSize=400m HTH. -- Chris On Mon, Dec 5, 2011 at 6:27 AM, angelochen wrote: > try this: > JAVA_OPTS='-Xms256m -X

Tapestry 5.3 and tapestry5-cayenne

2011-12-05 Thread Hugi Thordarson
Hi all! First time Tapestry user here, just started coding this weekend and liking it so far. Now, for my first question: I'm using Cayenne (3.0.2) so I just downloaded the tapestry5-cayenne extension (0.5-snapshot) and installed it. Now, when I start my application, I get the following except

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-05 Thread Dragan Sahpaski
Hi, I haven't used tapestry5-cayenne, but I'd like to point you to another project that uses Cayenne with tapestry, if you like to browse it and see how cayenne is used in this project. https://github.com/bobharner/Tapestry-finder Hope it helps. Cheers, Dragan Sahpaski On Mon, Dec 5, 2011 at

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-05 Thread Thiago H. de Paula Figueiredo
On Mon, 05 Dec 2011 08:31:45 -0200, Hugi Thordarson wrote: Hi all! Hi! First time Tapestry user here, just started coding this weekend and liking it so far. Welcome! :) org/apache/tapestry5/PrimaryKeyEncoder Any ideas what might be happening? I've never used Cayenne nor tapestry-ca

Re: security

2011-12-05 Thread antalk
We are using a build of the spring-security module from localhost.nu to do (client/server)certificate processing and also user / password logins. Both authorization methods use the same user database to authorize against and both use the same library. Although the project is not updated for a lon

Re: Wanted: New title for the Tapestry book

2011-12-05 Thread Koka Kiknadze
Is there any timetable? I think it's the most awaited manual on java web development - so you could just name it accordingly :) Tapetry 5 Guide: The Most Awaited Manual For Java Web Development

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-05 Thread Robert Zeigler
Hi Hugi, 0.5-snapshot works with 5.2. I'll be updating tapestry5-cayenne for 5.3 compatibility in the next couple of weeks. Robert On Dec 5, 2011, at 12/54:31 AM , Hugi Thordarson wrote: > Hi all! > > First time Tapestry user here, just started coding this weekend and liking it > so far. >

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-05 Thread Hugi Thordarson
Great to hear, thank you so much :). Cheers, - hugi On 5.12.2011, at 12:50, Robert Zeigler wrote: > Hi Hugi, > > 0.5-snapshot works with 5.2. I'll be updating tapestry5-cayenne for 5.3 > compatibility in the next couple of weeks. > > Robert > > On Dec 5, 2011, at 12/54:31 AM , Hugi Thordars

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-05 Thread Hugi Thordarson
Hi Dragan. Thank you, this will definitely be useful for us. Cheers, - hugi PS: I'm impressed with the helpfulness of the community! On 5.12.2011, at 10:41, Dragan Sahpaski wrote: > Hi, > I haven't used tapestry5-cayenne, but I'd like to point you to another > project that uses Cayenne with t

Re: security

2011-12-05 Thread Seamus Minogue
Very nice. I wonder if you would be willing to post your 3.0.0 version somewhere. Anybody know if that would be a problem with the localhost.nu folks? Or maybe just post somewhere how you changed the library for T5.3. I'm sure plenty of people would be interested in following your example. -Sea

rewriting incoming url with locale as part of url

2011-12-05 Thread angelochen
Hi, I use PageRenderLinkTransformer to rewrite a incoming link, if incoming link has no locale as part of url, it works. examples: http://localhost:8080/1000/list I have to rewrite it to /item/list/1000 http://localhost:8080/zh/1000/list I have to rewrite it to /zh/item/list/1000 this does not

Re: rewriting incoming url with locale as part of url

2011-12-05 Thread angelochen
found a way, following is a simplified one, this will display pages in Chinese locale, but got a new problem, all the links generated in the site does not have a locale as part of url, that will go back to default locale if click: @Inject private ThreadLocale locale; public PageRende

Re: Show your Tapestry support!

2011-12-05 Thread Howard Lewis Ship
Actually, I'm not entirely satisfied with the result ... thanks to everyone who'se posted SO FAR, but I'd like to see more, and less familiar, names up on the JavaLobby announcements page. http://java.dzone.com/announcements/announcing-apache-tapestry-53 On Sun, Dec 4, 2011 at 2:41 AM, Christian

Re: Wanted: New title for the Tapestry book

2011-12-05 Thread Borut Bolcina
That is funny, with a grain of salt. Sent from my iPad On 5. dec. 2011, at 13:22, Koka Kiknadze <226...@gmail.com> wrote: > Is there any timetable? I think it's the most awaited manual on java web > development - so you could just name it accordingly :) > > Tapetry 5 Guide: The Most Awaited M

tapestry-hibernate 5.3 and spock

2011-12-05 Thread Tony Nelson
I'm trying to test my application with spock and have run into an issue. I have put a sample app on github at: https://github.com/hhubris/broken If you clone the app, and run mvn clean test, everything works just fine. In AppModule:24-28 I have the following commented out: /* public s

Re: Wanted: New title for the Tapestry book

2011-12-05 Thread Daniel Jue
How about naming it after a famous tapestry? I Googled 'famous tapestry' and found this one, and it even has a UNICORN! http://en.wikipedia.org/wiki/The_Lady_and_the_Unicorn On Mon, Dec 5, 2011 at 11:18 AM, Borut Bolcina wrote: > That is funny, with a grain of salt. > > > Sent from my iPad > > O

Re: Wanted: New title for the Tapestry book

2011-12-05 Thread Hugi Thordarson
+1 for the unicorns. "Tapestry 5: Farting rainbows" - hugi On 5.12.2011, at 20:28, Daniel Jue wrote: > How about naming it after a famous tapestry? > I Googled 'famous tapestry' and found this one, and it even has a UNICORN! > > http://en.wikipedia.org/wiki/The_Lady_and_the_Unicorn > > On M

SeleniumTestCase dependencies

2011-12-05 Thread Greg Pagendam-Turner
I'm trying to write selenium tests for my application. I get: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/Destroyable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defi

community page at tapestry.apache.org

2011-12-05 Thread Chris Collins
I have a couple of questions about the community page: http://tapestry.apache.org/community.html - Who is responsible for putting a comment about a contribution on this page? I know its not exhaustive as it says it at the top of the page :-} Is it the author of the contrib or can anyone ele

Re: Prototype and jQuery question

2011-12-05 Thread Chris Collins
So when I actually include tapestry-jquery things blow up when the servlet container is initialized (I use an embedded jetty). This is with Tapestry 5.3 and using the mvn dependency described on the tapestry-jquery website. Any ideas what I did wrong? java.lang.NoClassDefFoundError: org/apac

Re: Prototype and jQuery question

2011-12-05 Thread Christian Riedel
do you have tapestry-upload in your classpath? Am 05.12.2011 um 23:26 schrieb Chris Collins: > So when I actually include tapestry-jquery things blow up when the servlet > container is initialized (I use an embedded jetty). This is with Tapestry > 5.3 and using the mvn dependency described on

Re: Prototype and jQuery question

2011-12-05 Thread Tony Nelson
Try adding this to your pom.xml org.apache.tapestry tapestry-upload ${tapestry-release-version} On Dec 5, 2011, at 5:26 PM, Chris Collins wrote: > So when I actually include tapestry-jquery things blow up when the servlet > container is in

Re: Prototype and jQuery question

2011-12-05 Thread Chris Collins
Thats kinda interesting. Yes that worked. What makes it interesting is that I tried a completely stripped down test with mvn tapestry archetype. Just adding the dependencies described on the website and that worked. Thanks guys, I should of really tried this in the first place. C On Dec 5,

Re: T5.3: unable to change color of beaneditor border

2011-12-05 Thread George Ludwig
Perfect, thanks for the link! On Sun, Dec 4, 2011 at 5:37 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > Hi > > You can google "CSS Overriding" > > http://www.google.co.in/search?q=css+overriding > > regards > Taha > > > On Dec 5, 2011, at 6:32 AM, George Ludwig wrote: > > > Thanks,

Re: Exception Report must not contain a form

2011-12-05 Thread Alejandro Scandroli
I have seen this "Form components may not be placed inside other Form components." error way too many times. The problem is that your ExceptionReport page has a form that is trying to add a new FormSupport to the environment but there is one already there. The FormSupport that is already on the en

Re: Show your Tapestry support!

2011-12-05 Thread Manuel Sugawara
On Mon, Dec 5, 2011 at 9:16 AM, Howard Lewis Ship wrote: > Actually, I'm not entirely satisfied with the result ... thanks to > everyone who'se posted SO FAR, but I'd like to see more, and less > familiar, names up on the JavaLobby announcements page. > Oh, well, I tried, really I did, but come

Re: Show your Tapestry support!

2011-12-05 Thread Lenny Primak
Same here, I support Tapestry but I am not registering for more crap in my inbox. On Dec 5, 2011, at 6:22 PM, Manuel Sugawara wrote: > On Mon, Dec 5, 2011 at 9:16 AM, Howard Lewis Ship wrote: > >> Actually, I'm not entirely satisfied with the result ... thanks to >> everyone who'se posted SO F

Re: [5.3] JSONArray Error while submitting forms

2011-12-05 Thread Serge Eby
Yes, there was a conflict with an older version of prototype / scrupulous. After removing these, things started to work. HTH, /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/5-3-JSONArray-Error-while-submitting-forms-tp7018161p7065209.html Sent from the Tapestr

Re: Show your Tapestry support!

2011-12-05 Thread Taha Hafeez Siddiqi
Hi Lenny I am registered there for last two years and have never received any mail, so that is not a problem. Yes, I agree, the "Registration" concept is too primitive. regards Taha On Dec 6, 2011, at 4:56 AM, Lenny Primak wrote: > Same here, I support Tapestry but I am not registering for

Re: Show your Tapestry support!

2011-12-05 Thread Lenny Primak
Somehow I doubt that all that 'valuable' registration information didn't go into the grubby hands of the marketers. On Dec 5, 2011, at 7:58 PM, Taha Hafeez Siddiqi wrote: > Hi Lenny > > I am registered there for last two years and have never received any mail, so > that is not a problem. > > Y

Re: Show your Tapestry support!

2011-12-05 Thread Bob Harner
I hope you all don't put in your real info in such forms. Fake data works just as well. On Mon, Dec 5, 2011 at 8:01 PM, Lenny Primak wrote: > Somehow I doubt that all that 'valuable' registration information didn't > go into the grubby hands of the marketers. > > On Dec 5, 2011, at 7:58 PM, Taha

Re: Using the same page for edit/new (Solution)

2011-12-05 Thread Serge Eby
Could you expand on this a little more? I am not using tapestry-hibernate and my current solution feels a bit awkward. /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/Using-the-same-page-for-edit-new-Solution-tp6865849p7065396.html Sent from the Tapestry Users mai

smarter css

2011-12-05 Thread Chris Collins
So when it comes to css3 is it really so ugly? Ok perhaps its just things like gradients: http://ie.microsoft.com/testdrive/graphics/cssgradientbackgroundmaker/default.html So in the microsoft example above for getting a gradient background you have to use different css properties per browser.

t5.3 upgrade

2011-12-05 Thread angelochen
AliasContribution is gone from 5.3, so i change baseURLservice to following, seems not working, not got called, Am I missing something here? THanks. @Contribute(ServiceOverride.class) public static void contributeAlias(MappedConfiguration configuration, @Value("${domainname}") final String

Re: smarter css

2011-12-05 Thread Peter Stavrinides
Hi Chris, > So when it comes to css3 is it really so ugly? If you really want an answer to that, unfortunately yes... and no its not just gradients. > So say I was trying to add browser specific css to my layout component what > would people suggest as the best strategy? Browser detection