Re: Tapestry-Upload for TP5.0.4

2007-06-24 Thread Otho
Hi Allen, maybe you should upgrade to 5.0.5 and add a dependency to tapestry-upload to your pom. Works like a charm. I don't know if it does with 5.0.4 though. http://tapestry.apache.org/tapestry5/tapestry-upload/ Regards, Otho 2007/6/24, Allen Guo <[EMAIL PROTECTED]>: Hi All, I download the ta

Tapestry 5 and EJB 3 : sample code or tutorial

2007-06-24 Thread Dwi Ardi Irawan
Hi all, does anyone have a sample tutorial or code (just simply code to introduce me to use EJB 3 in Tapestry) please PM me... thnx u dwi ardi irawan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Design question

2007-06-24 Thread Christian Dutaret
Marcos, The concept of a presentation object model has a strong smell of bad design: double hierarchy maintenance and transformation methods from/to both models which are very error-prone. If you forget to assign a field in those transformation methods, you can spend hours searching for the descr

Re: Design question

2007-06-24 Thread #Cyrille37#
Hello, Christian Dutaret a écrit : ... I have some web non-regression tests that check for the correctness of the ognl expressions. That has worked fine for me so far. Please, can you tell us how do you implement "web non-regression tests" ? Which tools ? Which methods ? Thanks a lot cyrille

about Maven, Java Applet and Tapestry's pages...

2007-06-24 Thread #Cyrille37#
Hello Sorry to be a little out of the Tapestry subject but I would like to get some knowledge from you. I've got a Java applet which is running in a Tapestry page. Today I'm using Ant build to build the project, which is compiling Tapestry application and packaging the Applet in a Jar file. T

Re: which version of tapestry-simple:5.0.?

2007-06-24 Thread #Cyrille37#
#Cyrille37# a écrit : Hello I would like to start with Tapestry5 and looking to the maven's archetype. In the page http://tapestry.apache.org/tapestry5/tapestry-simple/ it is talking about tapestry-simple:5.0.2. Is this number version is relative to Tapestry5 version ? Should I prefer tapest

which version of tapestry-simple:5.0.?

2007-06-24 Thread #Cyrille37#
Hello I would like to start with Tapestry5 and looking to the maven's archetype. In the page http://tapestry.apache.org/tapestry5/tapestry-simple/ it is talking about tapestry-simple:5.0.2. Is this number version is relative to Tapestry5 version ? Should I prefer tapestry-simple:5.0.5 ? Pleas

Re: which version of tapestry-simple:5.0.?

2007-06-24 Thread #Cyrille37#
#Cyrille37# a écrit : #Cyrille37# a écrit : Hello I would like to start with Tapestry5 and looking to the maven's archetype. In the page http://tapestry.apache.org/tapestry5/tapestry-simple/ it is talking about tapestry-simple:5.0.2. Is this number version is relative to Tapestry5 version ?

Re: Design question

2007-06-24 Thread Marcos Chicote
i see what you mean Christian. In this design if you have to show a Date, how do you convert it? I mean, if you let Tapestry do date.toString() this will probably show a lot of things you don't want. Do you use a property in the java file where you put something like dateToString(yourDate) that do

Re: Design question

2007-06-24 Thread Ulrich Stärk
Use the format parameter of the insert component. You can supply an insert component that displays a Date object with a custom java.text.DateFormat to display the date the way you want. Uli Marcos Chicote schrieb: i see what you mean Christian. In this design if you have to show a Date, how d

about tapestry-archetype 4.1.2-SNAPSHOT

2007-06-24 Thread #Cyrille37#
Hello to make tapestry-archetype 4.1.2-SNAPSHOT running I add to change the jetty plugin reference : maven-jetty6-plugin 6.0.0beta17 to maven-jetty-plugin 6.0-SNAPSHOT cyrille. Ps: tapestry-archetype 4.1.2-SNAPSHOT found at http://peopl

Re: Design question

2007-06-24 Thread Marcos Chicote
But doesn't that reduce code resusability? I mean if tomorrow I have to migrate the app to Swing, i have to reformat everything. On 6/24/07, Ulrich Stärk <[EMAIL PROTECTED]> wrote: Use the format parameter of the insert component. You can supply an insert component that displays a Date object

Re: Design question

2007-06-24 Thread Jesse Kuhnert
I think you're going to have a lot more trouble with migration from a web application to a desktop application than just formatting I'd focus on making your core functionality separate enough as standalone services and use that as the basis for migrate-able code and not focus in on making you

Can someone tell me how to make donations to Tapestry

2007-06-24 Thread Celia Mou
Hi, Does anything know what the best way is to donate to the Tapestry project? I didn't find any mechanism on the Tapestry site. Thanks a lot! celia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Design question

2007-06-24 Thread Marcos Chicote
Thanks Jesse. I know that I would have more trouble than formatting if I migrate from a web app to a desktop app, but I would like to minimize that effort. However there's a 0.001 probability this app will ever be migrated, I was just asking theoretically. (I could have said Struts instead of Swi

Asset Location

2007-06-24 Thread Manie
Hi, Is there a way to specify an alternative location for assets, as is the case with the html templates. At the moment, all my html templates reside under WEB-INF, and I would like to add my assets under WEB-INF/assets/images/... and WEB-INF/assets/css, etc. Thanks in advance Manie -- View thi

Re: Can someone tell me how to make donations to Tapestry

2007-06-24 Thread Howard Lewis Ship
The best way to contribute is to use the software, especially the snapshots, and provide feedback and PATCHES. The second best way to contribute is to evangelize Tapestry; talk to your local Java Users Group, or blog about your (hopefully positive) experiences. Lastly, and there is precedent, if

T5: Date Picker component

2007-06-24 Thread Joshua Jackson
Dear all, Will we have date picker component bundled with T5 in the near future? I can't see this component yet available on the latest 5.0.5-SNAPSHOT. I must say that date picker is another essential component for today's apps. Thanks in advance. -- Let's create a highly maintainable and effic

Re: which version of tapestry-simple:5.0.?

2007-06-24 Thread Steven Coco
Hello. Executing the command you gave, without the repository flag: -DremoteRepositories=... Works for me. The Tapestry archetype is in the main repository. When building the app, you will need the snapshot repositories -- you'll need whichever repositories are added to the POM by the archetyp

Re: about Maven, Java Applet and Tapestry's pages...

2007-06-24 Thread Steven Coco
Hi. You should create a Parent project, with 2 modules: one for the WebApp, and another for the Applet. They will build into their own artifacts -- a War for the WebApp, and a Jar for the Applet -- in your repositories, but they share the parent project's attributes; and they go into folders in

Re: T5 - syntax for css background images?

2007-06-24 Thread Jiri Mares
Yes ... maybe component, maybe page to generate whole css file referenced in HTML pages ... Jirka Daniel Jue napsal(a): > > I think I see where this is going... I guess you could have a > component that plugs in raw text (the text being inline CSS code, or a > link to a calculated css) into t

Re: T5 - syntax for css background images?

2007-06-24 Thread Jiri Mares
And do you consider it as interesting to implement it? Jirka Howard Lewis Ship napsal(a): > > It should be possible, there are meta-data settings on pages that > control the response content type. However, there's a couple of road > blocks in the current code base, such as the fact that there's

4.1.2 dojo gregorian.js

2007-06-24 Thread Paul Stanton
Hi, I've just installed 4.1.2 for the first time and run up my application (previously tested under 4.1.1). I did this simply by replacing my existing jars with the new versions (I don't use maven) so I've probably brought this on myself ;) I get the following warnings, the files can be foun