date field as 3 drop down fields

2011-12-06 Thread captain_rhino
I am looking to implement a date field as 3 separate drop downs lists of day, month and year in T5. Has anyone already developed a component that does this? -- View this message in context: http://tapestry.1045711.n5.nabble.com/date-field-as-3-drop-down-fields-tp5051531p5051531.html Sent from t

Building large projects, based around the same framework

2011-12-06 Thread Hugi Thordarson
Good morning everyone. I'd like to seek a little advice from the community. I've just spent a couple of days using Tapestry, and as a longtime WebObjects-user I'm feeling right at home with the Tapestry+Cayenne combination. I recently started working at a web development shop where most of the w

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

2011-12-06 Thread Muhammad Gelbana
How about persisting a variable (on the client side using client-persisting strategy) and inject your page in other pages then when navigating from these pages set this variable to whatever suits you. So you can specify the behavior of your page in a salable way I suppose and you solve the multiple

Re: Wanted: New title for the Tapestry book

2011-12-06 Thread Bob Harner
Love it, Hugo. That's the best title by far. Bob Harner On Dec 5, 2011 3:32 PM, "Hugi Thordarson" wrote: > +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

Re: Exception Report must not contain a form

2011-12-06 Thread Stephan Windmüller
On 06.12.2011 00:20, Alejandro Scandroli wrote: > 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

Re: t5.3 upgrade

2011-12-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Dec 2011 04:18:55 -0200, angelochen wrote: AliasContribution is gone from 5.3, so i change baseURLservice to following, seems not working, not got called, Am I missing something here? THanks. Use service overriding instead. It exists in Tapestry-IoC at least since 5.1. --

Re: Exception Report must not contain a form

2011-12-06 Thread Muhammad Gelbana
What version of tapestry is that ? Would you kindly state tapestry's version in the subject ? :) Thanks. On Tue, Dec 6, 2011 at 1:20 AM, Alejandro Scandroli < alejandroscandr...@gmail.com> wrote: > I have seen this "Form components may not be placed inside other Form > components." error way to

Re: Exception Report must not contain a form

2011-12-06 Thread Stephan Windmüller
On 06.12.2011 13:09, Muhammad Gelbana wrote: > What version of tapestry is that ? > Would you kindly state tapestry's version in the subject ? :) I'm sorry. The Tapestry version here is 5.2.6. Regards Stephan signature.asc Description: OpenPGP digital signature

Re: t5.3 upgrade

2011-12-06 Thread angelochen
that's what I do now, but seems not working, the code was quoted above. Thiago H de Paula Figueiredo wrote > > On Tue, 06 Dec 2011 04:18:55 -0200, angelochen > wrote: > >> AliasContribution is gone from 5.3, so i change baseURLservice to >> following, seems not working,

Re: Show your Tapestry support!

2011-12-06 Thread David Canteros
I agree that registration form is bugging , but if it is a good place to contribute with the framework (wich is so useful and is free!) we should do the effort and place our comments, is my oppinion. Regards! -- David Germán Canteros

Re: Show your Tapestry support!

2011-12-06 Thread Alexander Rosemann
On 06.12.2011 00:22, 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 FAR, but I'd like to see more, and less familiar, names up on the JavaLobby announcements page. O

Re: Wanted: New title for the Tapestry book

2011-12-06 Thread Massimo Lusetti
On Tue, Dec 6, 2011 at 12:49 PM, Bob Harner wrote: > Love it, Hugo. That's the best title by far. > > Bob Harner > On Dec 5, 2011 3:32 PM, "Hugi Thordarson" wrote: > >> +1 for the unicorns. >> >> "Tapestry 5: Farting rainbows" >> >> - hugi I must admit it taken me a google-and to understand it.

Re: [5.3] JSONArray Error while submitting forms

2011-12-06 Thread Seamus
Anyone have a solution to this. I have a form which I dont believe is making use of any ajax (unless tapestry is and I dont know about it I am using the current T5.3 release) and I get this error. When inspecting my page in chrome and looking at the resources I see prototype 1.7 and scriptaculous 1

Re: security

2011-12-06 Thread csckid
Instead of downloading from tynamo.. Can't we directly use Apache Shiro? -- View this message in context: http://tapestry.1045711.n5.nabble.com/security-tp5045892p5052282.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [5.3] JSONArray Error while submitting forms

2011-12-06 Thread Gunnar Eketrapp
A possible solution would be to make a code around in the method isFormCancelled() in Form.java. /Gunnar if (raw != null && new *JSONArray(raw)* .getString(1).equals(InternalConstants.CANCEL_NAME)) { return true; } if

Tapestry 5.3, Testify 1.0.4 and locating components/pages

2011-12-06 Thread yamk
We are trying to use tapestry testify to test tapestry pages in our project. Because it seems that testify 1.0.3 doesnt work with tapestry 5.3, we downloaded 1.0.4 snapshot version. Unfortunately, testify has problems with locating components and pages files (both .java and .tml). We tried various

Re: Building large projects, based around the same framework

2011-12-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Dec 2011 08:28:02 -0200, Hugi Thordarson wrote: Good morning everyone. Hi! * About ~500 websites running in our CMS, each site a single web application. * In addition to the CMS, generic extensions that can be added (Shopping, Event scheduling etc). * Most sites include som

Re: smarter css

2011-12-06 Thread Chris Collins
Thanks Peter, makes total sense. I am so happy that css3 helped standardize cross browser support :-} So I probably would want to detect a non HTML5 browser such as earlier IE's with something that would throw in to the css another technique such as using a gradient filled image file (in this

Re: tapestry-hibernate 5.3 and spock

2011-12-06 Thread Tony Nelson
Hate to do this but I'm really stuck here. Anyone have any idea what I can try next here? On Dec 5, 2011, at 2:40 PM, Tony Nelson wrote: > 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 >

Anyone knows some Tapestry based open source platforms? Like CMS? Forum or Community site?

2011-12-06 Thread Xybrek
Hi, anyone knows some Tapestry based platforms? With PHP, there's a bunch of CMS (Joomla etc.) Forum (PhpBB) and other community site which are open source, like Boonex Dolphin. Is there any (open source) - CMS - Forum - Community site made with Tapestry Thanks, Xybrek

Re: Anyone knows some Tapestry based open source platforms? Like CMS? Forum or Community site?

2011-12-06 Thread Lenny Primak
I second that question. I would like to get a CMS going with my current Tapestry project. Is there anything that just plugs in and easily integrates? On Dec 6, 2011, at 1:05 PM, Xybrek wrote: > Hi, anyone knows some Tapestry based platforms? > > With PHP, there's a bunch of CMS (Joomla etc.) F

[t5.1] ajaxFormLoop disabled once page reloaded and returning a PDFStreamResponse

2011-12-06 Thread Jérémie Charlet
Hello everyone, I am facing an issue while using ajaxFormLoop: On my page, I fill a form that includes among others a list of phoneNumbers to be set in an ajaxFormLoop. Once I submit the form, it generates a PDF (containing data from my form) and makes the user download it in his web browser. The

Re: Anyone knows some Tapestry based open source platforms? Like CMS? Forum or Community site?

2011-12-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Dec 2011 16:07:37 -0200, Lenny Primak wrote: I second that question. I would like to get a CMS going with my current Tapestry project. Is there anything that just plugs in and easily integrates? I don't know if there's something ready to use out there, but I've done somethin

Re: Anyone knows some Tapestry based open source platforms? Like CMS? Forum or Community site?

2011-12-06 Thread Lenny Primak
Is this open source? I'd like to take a look. Thanks! On Dec 6, 2011, at 3:14 PM, Thiago H. de Paula Figueiredo wrote: > On Tue, 06 Dec 2011 16:07:37 -0200, Lenny Primak > wrote: > >> I second that question. I would like to get a CMS going with my current >> Tapestry project. >> Is there an

Re: Anyone knows some Tapestry based open source platforms? Like CMS? Forum or Community site?

2011-12-06 Thread Chris Collins
There are a lot of CMS systems out there that are open source. Peoples definition of CMS is extremely broad. Some would consider a simple entity representing a document backed by a db as a CMS, others may say that is not. For comparison take a look at something like: http://jackrabbit.apache

Re: Anyone knows some Tapestry based open source platforms? Like CMS? Forum or Community site?

2011-12-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Dec 2011 18:24:40 -0200, Lenny Primak wrote: Is this open source? I'd like to take a look. Parts of it are. You can find them in http://www.arsmachina.com.br/project, source code in http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/. Warning: outdated documentation

Re: community page at tapestry.apache.org

2011-12-06 Thread Bob Harner
Anyone who has access to do so is allowed to update the page. Anyone with an Apache Individual Contributor License Agreement on file can gain access upon request. Alternatively, if you want something added, just mention it in this mailing list. I think Tapestry-finder isn't quite ready to be menti

Re: community page at tapestry.apache.org

2011-12-06 Thread Chris Collins
I agree that finder would probably be what I am wishing for. I don't personally have anything to recommend I just was noticing inconsistencies within the website (for instance tapestry-testify on http://tapestry.apache.org/unit-testing-pages-or-components.html but not on the community page). A

Template parsing vulnerable to whims of default charset

2011-12-06 Thread Robert Coie
Greetings all and apologies for unfamiliarity with issue reporting conventions here. I am attempting to deploy a Tapestry 5.3 application to Google App Engine and have run into some problems with character encoding. These are masked when running locally, as the default character set is UTF-8. Howev

Re: Template parsing vulnerable to whims of default charset

2011-12-06 Thread Kalle Korhonen
What's your JVM's file.encoding set to? (e.g. -Dfile.encoding=UTF-8). The default for most JVMs is *not* UTF-8. Tapestry assumes UTF-8 throughout. Kalle 2011/12/6 Robert Coie : > Greetings all and apologies for unfamiliarity with issue reporting > conventions here. I am attempting to deploy a Ta

Re: Anyone knows some Tapestry based open source platforms? Like CMS? Forum or Community site?

2011-12-06 Thread Xybrek
On 12/7/2011 4:14 AM, Thiago H. de Paula Figueiredo wrote: On Tue, 06 Dec 2011 16:07:37 -0200, Lenny Primak wrote: I second that question. I would like to get a CMS going with my current Tapestry project. Is there anything that just plugs in and easily integrates? I don't know if there's som

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

2011-12-06 Thread Bob Harner
My general rule is to use "!important" only as a last resort. In theory, the "!important" part shouldn't be needed here. As the documentation (http://tapestry.apache.org/css.html) says, Tapestry takes pains to list its own default.css stylesheet first in the HTML output, so that its CSS rules can

Re: smarter css

2011-12-06 Thread Bob Harner
Rather than having separate IE-only style sheets, a technique I prefer is to use IE conditional comments to add an additional div around the body in my layout.tml, like this: Once that's done, then it becomes trivially easy to add all sorts of IE-specific CSS rules in your app's main (or

Re: Template parsing vulnerable to whims of default charset

2011-12-06 Thread Kalle Korhonen
On Tue, Dec 6, 2011 at 4:58 PM, Thiago H. de Paula Figueiredo wrote: > On Tue, 06 Dec 2011 22:49:42 -0200, Kalle Korhonen > wrote: >> What's your JVM's file.encoding set to? (e.g. -Dfile.encoding=UTF-8). >> The default for most JVMs is *not* UTF-8. Tapestry assumes UTF-8 >> throughout. > I config

Re: smarter css

2011-12-06 Thread Chris Collins
Makes sense. Working in Java for too long has made me soft. I need to read some c code to repent for my sins ;-} Thanks Bob. C On Dec 6, 2011, at 6:41 PM, Bob Harner wrote: > Rather than having separate IE-only style sheets, a technique I prefer > is to use IE conditional comments to add an a

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-06 Thread Seamus Minogue
So I dont get it. I have used Tapestry/Cayenne in several projects and integration is basically nothing. Just a filter and making sure you drop the xml files into src/main/resources if I remember correctly. I was looking at the project page for tapestry5-cayenne (http://code.google.com/p/tapestr

Re: Template parsing vulnerable to whims of default charset

2011-12-06 Thread Robert Coie
On Tue, Dec 06, 2011 at 04:49:42PM -0800, Kalle Korhonen wrote: > What's your JVM's file.encoding set to? (e.g. -Dfile.encoding=UTF-8). > The default for most JVMs is *not* UTF-8. Tapestry assumes UTF-8 > throughout. I believe it's US-ASCII, as checked by Charset.defaultCharset(), although I have

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-06 Thread Robert Zeigler
tapesty5-cayenne provides features on par with tapestry-jpa and tapestry-hibernate. The really short list, for those in a hurry: 1) You get a ValueEncoder for your cayenne objects for free. 2) You get smarter handling of cayenne objects when creating BeanModels (automatic handling of entity rel

Re: Tapestry 5.3 and tapestry5-cayenne

2011-12-06 Thread Robert Zeigler
P.S. - unfortunately, I never finished the tutorial referenced below, and it cuts out before you get a chance to really see the benefit of the integration module. Robert On Dec 6, 2011, at 12/610:01 PM , Seamus Minogue wrote: > So I dont get it. I have used Tapestry/Cayenne in several projects

Re: [5.3] JSONArray Error while submitting forms

2011-12-06 Thread Gunnar Eketrapp
if (raw != null && *!raw.isEmpty() &&* new *JSONArray(raw)*.getString(1).equals This seems to have solved the problem. I made this fix in *Form.java, Submit.java* and *LinkSubmit.java*. Built and installed my own 5.3.1 in my local maven repo. Rebuilt my project and now I can logi