Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-26 Thread jblier
ger log) > > and then add the import > > import org.slf4j.Logger; > > Personally I just downloaded a quick new quickstart archetype and copied > the new AppModule.java accross. > > > > jblier wrote: >> Hi Mike! >> >> Before your message I tri

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-25 Thread jblier
ct annotation import statements and let eclipse import > the new Inject > - upgrade log4j to version 1.2.14 (?) in pom.xml, as stated in howard's > blog. > > That was it for me > regards, > Mike > > > jblier wrote: >> >> This question may look si

T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-25 Thread jblier
This question may look simple for you but I ask it anyway. What are the steps to upgrade a project from 5.0.5 to 5.0.6? Do I just need to modify my web.xml file or the pom.xml file? Yes, I know, once upgraded, I'll have to rename my pages .html files to .tml and move them in webapp. Thanks in

Re: T5: Newbie question - example needed

2007-10-23 Thread jblier
For those interested, here is a demo with source code: http://lombok.demon.co.uk/tapestry5Demo/test/delegate/block - J jblier wrote: > > I'm making progress with T5.0.5 and I'm eager to switch to 5.0.6 when it > will be available. > > In 5.0.5, I am now able to c

T5: Newbie question - example needed

2007-10-22 Thread jblier
I'm making progress with T5.0.5 and I'm eager to switch to 5.0.6 when it will be available. In 5.0.5, I am now able to create advanced Layouts by merging a page template with a component. And I am also able to use the  element to load specific content inside the layout. All of this thanks for the

T5: Newbie question - Access a different message catalog and portal-like screen

2007-10-09 Thread jblier
I can load values from a message catalog using the same name for the template and the properties files. However I'm trying to load modules inside a main framework. In short, how can I display the value of a property from a different .properties files. Example: portal.tml forum.tml blog.t

Re: T5: how to use message catalogs for individual page

2007-10-09 Thread jblier
Finally! RESOLVED! My solution is: \myapp\src\main\java\org\example\myapp\pages\Test.java \myapp\src\main\resources\org\example\myapp\pages\Test.properties \myapp\src\main\webapp\WEB-INF\Test.html ${message:propertyName} now work for any .properties files. - Jacques jblier wrote: >

Re: T5: how to use message catalogs for individual page

2007-10-09 Thread jblier
I need help in order to load specific properties. With the couple Text.tml and Test.properties, how do you call the display of the proper property in the template file? Right now, I'm able to load only the properties stored in app.properties using ${message:propertyName}. I'm back to 5.0.5, (to

Re: T5: Newbie question - creating and accessible a new page (Begining of a solution)

2007-10-05 Thread jblier
nyname.tapestry.myapp > > I believe that you should be putting your classes in > \workspace\myapp\src\main\java\com\companyname\tapestry\myapp\pages\*.java > > Or > > Check AppModule.java to make sure that you are using the right package > hierarchy for your classes. > >

Re: T5: Newbie question - creating and accessible a new page (Begining of a solution)

2007-10-05 Thread jblier
I want to use 5.0.6 for the DOCTYPE fix mostly. I want it to be sent to the client. http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> You are right, for now maybe I don't need to go to 5.0.6. - Jacques Daniel Jue wrote: > > A side note: > If you are really new to Tapestry, or web applications,

Re: T5: Newbie question - creating and accessible a new page (Begining of a solution)

2007-10-05 Thread jblier
help. Josh Canfield-2 wrote: > > Hi, > > Where are you putting your java files? What's the full physical path to > one > of the pages that is getting a 404. > > Josh > > > On 10/5/07, jblier <[EMAIL PROTECTED]> wrote: >> >> >&g

Re: T5: Newbie question - creating and accessible a new page (Begining of a solution)

2007-10-05 Thread jblier
-DpackageName=com.companyname.tapestry.myapp -Dversion=1.0.0-SNAPSHOT -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/ Thank you for your help. jblier wrote: > > Something interesting, > > In myapp, there is a bin folder that contains Java .class file

T5: Newbie question - what is log4j?

2007-10-05 Thread jblier
Is log4j needed to build Tapestry projects? What does is stand for? With 5.0.6-SNAPSHOT I get this error when running the application: log4j:WARN No appenders could be found for logger (org.mortbay.util.Container). log4j:WARN Please initialize the log4j system properly. With 5.0.5 No errors are

Re: T5: Newbie question - creating and accessible a new page

2007-10-05 Thread jblier
? I'm still struggling to make tapestry work. jblier wrote: > > I've restarted the server numerous times and it still does not work. > > Is there a bug in 5.0.6-snapshot or is it simply that I miss something > important? > > - Jacques > > > Nick Westga

Re: T5: Newbie question - creating and accessible a new page

2007-10-05 Thread jblier
just posted he is having problems with template reloading in 5.0.6. > Your problem might be related. > > Cheers, > Nick. > > > jblier wrote: >> Although the tutorial Guess Hi/Lo (5.0.5) lets me access the guess page >> directly, I'm trying to do the same in m

T5: Newbie question - creating and accessible a new page

2007-10-04 Thread jblier
Although the tutorial Guess Hi/Lo (5.0.5) lets me access the guess page directly, I'm trying to do the same in my current org.example.myapp.pages running with 5.0.6-snapshot. In webapp I crated a Guess.tml file and in org.example.myapp.pages I created a Guess.java file. Both guess files are loadi

Re: T5: Newbie question - Context sensitive properties

2007-10-03 Thread jblier
apage" will be class foo.bar.pages.modulea.APage and > there > will be an APage.properties file with it. > > There currently isn't support for per-folder properties files (I think > that's where you're going with this question). There's the page/compone

T5: Newbie question - Context sensitive properties

2007-10-02 Thread jblier
Our web application consist in a main framework responsible for session management and other shared functions and a number or modules loading inside the main framework. My question is what would be the best approach to structure the files and screen in order to load both the main properties and t

Getting rid of the space="preserve" attributes?

2007-10-02 Thread jblier
Can I do something to get rid of all the space="preserve" attributes added throughout the code by Tapestry 5? Or is it better to wait for this to be solved: http://www.nabble.com/T5-XHTML-strict-conformance-tf4013071s302.html#a11396390 Thanks. :-) -- View this message in context: http://www.na

Re: Javascript in T5.0.3

2007-10-02 Thread jblier
OK issue fixed. My JS files are in src/main/webapp/js/ however the message "Unable to resolve page 'js/effects' to a known page name." simply means "file not found". Meaning that some JS files were looking to other JS files that I forgot to add. Thanks for the help. Josh Canfield-2 wrote: > >

Re: Javascript in T5.0.3

2007-10-01 Thread jblier
Any development about JavaScript support with 5.0.5 or 5.0.6? I haven't tried OutputRaw yet. Currently I get this error when trying to link to a JS file: Unable to resolve page 'js/effects' to a known page name. Available page names: Start, core/ExceptionReport, core/PropertyDisplayBlocks, core

Re: T5: Newbie question - using a variable and replace it with a property

2007-10-01 Thread jblier
Thanks for your quick answer. I changed the "App.properties" file name to "app.properties" and it works. It looks like to be case sensitive. Chris Lewis-5 wrote: > > Whatever your app/context name is (by default its App as created by the > quickstart), create an App.properties file in WEB-INF

T5: Newbie question - using a variable and replace it with a property

2007-10-01 Thread jblier
Newbie question: I would like to replace the content of the tag with a value read from a .properties file. How do I set the tag? ${applicationTitle} How do I set a .properties files that would contain: applicationTitle=Application Title version 1 Currently I get the error: Class org.examp

Re: Questions for Tapestry 5

2007-09-28 Thread jblier
Thanks Robin, I'm now using 5.0.6 snapshot. I get a warning about log4j but I don't need this for now. - Jacques Robin Helgelin wrote: > >> Hi! > > Hi. > >> I am a Tapestry newbie and want to start directly by using Tapesry 5. I >> think that Tapestry have a lot of potential and that it can

Re: Questions for Tapestry 5

2007-09-28 Thread jblier
OK! Question 3 and 4 are resolved since I finally found out about this forum. jblier wrote: > > Here are a few questions: > > * When do you plan to release 5.0.6? > * How can I modify the QuickStart archetype > (http://tapestry.formos.com/nightly/tapestry5/quick