4.1.2-SNAPSHOT String in specification escaped

2007-06-25 Thread Manri Offermann
Hi, I have changed my tapestry version for my simple test app to 4.1.2-SNAPSHOT. I have a simple japanese property: property name=test initial-value='年MM月dd日'/ which renders fine in 4.1.1-SNAPSHOT: span jwcid=@Insert value=ognl:test/ but when switching to 4.1.2-SNAPSHOT I the output

Re: 4.1.2-SNAPSHOT String in specification escaped

2007-06-25 Thread Marcus Schulte
did you put the ?xml version=1.0 encoding=UTF-8? in the beginning of you spec? 2007/6/25, Manri Offermann [EMAIL PROTECTED]: Hi, I have changed my tapestry version for my simple test app to 4.1.2-SNAPSHOT. I have a simple japanese property: property name=test initial-value='年MM月dd日'/

Re: T5 - Authentication filter

2007-06-25 Thread Otho
Hi all, the ASO works fine if I instantiate it myself like @ApplicationState private SimpleSearchString simpleSearchString = new SimpleSearchString(); Without that the ApplicationStateHandler's object property is null and this strange class cast exception is thrown. From the docs I thought

Re: Fwd: How to load a image dynamically in tapestry5.0.4

2007-06-25 Thread tamseo
Hi In my page, I use javascript to load a text file, it is a dynamic file depend on the user logged in script type=text/javascript var so = new SWFObject(${userFile}); /script Can I use this snipet code to load a text file ??? I tried but It didn't work. So i have to use like this in

Re: Design question

2007-06-25 Thread adasal
Without addressing the specifics of the design issue, whether or not to use POs, our experience here of Tap 4 is that it is highly maintainable. One of the issue affecting maintanability is where things are found. My understanding is that the design choice is between implicit and declared

[T5] archetype quickstart error

2007-06-25 Thread #Cyrille37#
Hello, A project generated with archetypeArtifactId=quickstart does not build. Here are settings used : set remoteRepositories=-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository set archetypeGroupId=-DarchetypeGroupId=org.apache.tapestry set

RE: [T5] archetype quickstart error

2007-06-25 Thread Kolesnikov, Alexander GNI
But why you are using 5.0.3-SNAPSHOT? I tried 5.0.4 and it worked fine, I only had to slightly edit the resulting pom.xml. -Original Message- From: #Cyrille37# [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 11:03 To: Tapestry users Subject: [T5] archetype quickstart error Hello, A

Re: [T5] archetype quickstart error

2007-06-25 Thread #Cyrille37#
Kolesnikov, Alexander GNI a écrit : But why you are using 5.0.3-SNAPSHOT? I tried 5.0.4 and it worked fine, But it is the archetype which is using 5.0.3-SNAPSHOT ... I only had to slightly edit the resulting pom.xml. Yes. Good idea ! I'll do a try. Thanks cyrille -Original

Re: [T5] archetype quickstart error

2007-06-25 Thread #Cyrille37#
Kolesnikov, Alexander GNI a écrit : But why you are using 5.0.3-SNAPSHOT? I tried 5.0.4 and it worked fine, I only had to slightly edit the resulting pom.xml. I've edited the pom.xml to change properties tapestry-release-version5.0.3-SNAPSHOT/tapestry-release-version /properties

Re: [T5] archetype quickstart error

2007-06-25 Thread #Cyrille37#
Kolesnikov, Alexander GNI a écrit : No, that's not what I meant. First of all, I followed the instructions available here: http://tapestry.apache.org/tapestry5/quickstart/ I did exactly the same: following this quickstart page. The project was successfully built but then it does not

Re: [T5] archetype quickstart error

2007-06-25 Thread #Cyrille37#
Kolesnikov, Alexander GNI a écrit : Look, the quickstart specifies this command: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp

RE: [T5] archetype quickstart error

2007-06-25 Thread Kolesnikov, Alexander GNI
No, that's not what I meant. First of all, I followed the instructions available here: http://tapestry.apache.org/tapestry5/quickstart/ And created the project successfully. Then I tried to run it on Jetty, and that didn't work until I fixed two obvious problems in pom.xml. Will try to

RE: [T5] archetype quickstart error

2007-06-25 Thread Kolesnikov, Alexander GNI
Look, the quickstart specifies this command: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT See, the version is 5.0.4, not

Re: [T5] archetype quickstart error

2007-06-25 Thread #Cyrille37#
Nick Westgate a écrit : repository snapshotsenabledtrue/enabled/snapshots idtapestry-snapshots/id urlhttp://people.apache.org/~hlship/tapestry-snapshot-repository//url /repository Yeah! That's work D:\essais.mavenmvn archetype:create

Re: [T5] archetype quickstart error

2007-06-25 Thread Nick Westgate
Different archetypes have had different problems. Here are some tips: (1) Embedded error: Archetype does not exist: Unable to download the artifact from any repository Put this snapshot repository in your pom.xml: repository snapshotsenabledtrue/enabled/snapshots

Re: [T5] archetype quickstart error

2007-06-25 Thread #Cyrille37#
Nick Westgate a écrit : Put this snapshot repository in your pom.xml: repository snapshotsenabledtrue/enabled/snapshots idtapestry-snapshots/id urlhttp://people.apache.org/~hlship/tapestry-snapshot-repository//url Thanks a lot Nick, I did not know this url. At this url

Re: [T5] Setting a required parameter with another component

2007-06-25 Thread Dan Adams
Yeah, that's the only way I've thought of how to do it. On Fri, 2007-06-22 at 14:50 -0700, Howard Lewis Ship wrote: I can't think of a way to do that currently. I mean , you could have a number of components that take a list, and provide a filtered view of that list, and chain it together

org.apache.commons.logging.Log not found in repository of maven

2007-06-25 Thread sun58224
org.apache.commons.logging.Log not found in repository of maven - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 4.1.2-SNAPSHOT String in specification escaped

2007-06-25 Thread Manri Offermann
Hi Marcus, Yes I did, I will just post everything here. ;-) The same thing works with 4.1.1. The interesting thing is that my spec's japanese characters are being transformed into something like 'u5e74', which looks like the unicode 'code'. Best regards, Manri

T5: XML declaration is missing from rendered page. Any workrounds?

2007-06-25 Thread David Peterson
I'm using the latest 5.0.5-SNAPSHOT built directly from the Subversion repository. I have a simple page class Atom that renders an atom feed (using the @Meta to change the response content type). It's almost perfect, except that the output is missing the XML declaration at the top of the

Re: T5 - syntax for css background images?

2007-06-25 Thread Daniel Jue
I've heard of PHP code whose purpose was to dynamically create CSS files that were output into the final html (in the header, not as a link to a file). If you wanted to repeat that kind of functionality, it seems like it would be easy to do. The one problem I see is that if you use a CSS file

Re: [T5] Documentation

2007-06-25 Thread Martin Grotzke
On Fri, 2007-06-22 at 22:51 -0500, Robert Sanders wrote: http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html If the links (anchors) on this page would work with firefox (1.5) it would be really great! +1 for examples. I also read the api doc but didn't understand what's

T5: replacing Messages with my @Service

2007-06-25 Thread Martin Dietze
Hi, we recently derived our own Messages class from AbstractMessages to replace T5's i18n mechanisms by our own. We created a (spring) service i18nMessages for it and used code like this in page classes: | @Inject | @Service(i18nMessages) | private Messages _messages; It turned out that T5

Tapernate for Tap4.1 ?

2007-06-25 Thread Stephane Decleire
Is Tapernate useable with Tapestry 4.1 ? Thanks in advance. Stephane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Honeycomb without annotations ?

2007-06-25 Thread Webmaster Bébé Nounou
Is it possible to configure Honeycomb without annotations (with the Hibernate .hbm.xml files) ? Thanks in advance. Stephane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Honeycomb without annotations ?

2007-06-25 Thread Marcus Schulte
yes, it is. but, you'll nevertheless need to run on a 1.5 JVM since the library code uses 1.5 features. 2007/6/25, Webmaster Bébé Nounou [EMAIL PROTECTED]: Is it possible to configure Honeycomb without annotations (with the Hibernate .hbm.xml files) ? Thanks in advance. Stephane

Re: T5.0.4: Bug in ComponentClassResolver?

2007-06-25 Thread Howard Lewis Ship
On 6/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, I see. Thanks Ben for this important information. But what happens, for example if I have the following structure: 2) pages.login.admin.AdminLogin There's an outstanding bug for this, a case I didn't consider. It need sto do something

Re: T5: XML declaration is missing from rendered page. Any workrounds?

2007-06-25 Thread Howard Lewis Ship
Absolutely, log this in JIRA. Otherwise it just gets lost. On 6/25/07, David Peterson [EMAIL PROTECTED] wrote: I'm using the latest 5.0.5-SNAPSHOT built directly from the Subversion repository. I have a simple page class Atom that renders an atom feed (using the @Meta to change the response

Re: Asset Location

2007-06-25 Thread Malin Ljungh
Hi Manie! I have my styles under /styles directory, i.e. not under WEB-INF, and images under /images. Then I have my assets specified like this: asset name=stylesheet path=styles/style.css/ asset name=logo path=/images/logo.gif/ (don't know why I have the preceding slash in /images but

T5 Component Class Resolver Impl Assertion Error

2007-06-25 Thread Daniel Jue
Something broke this morning after I did a mvn update. Tapestry-* are the only snapshot libraries I use. POM dependencies is at the bottom of the email. I am using Tomcat 5.5.23. Eclipse WTP publishes the app to Tomcat's webapp dir. I have a feeling that the error is not the Acegi part of the

Re: T5 Component Class Resolver Impl Assertion Error

2007-06-25 Thread Daniel Jue
Oh SNAP! I just figured it out. I had so many components that I decided to move my border-related components from /components to /components/layout But I also had a component that was named layout. So the error stemmed from Tapestry trying to resolve

T4.1: DropdownTimePicker i18n problem!

2007-06-25 Thread Malin Ljungh
Hi, I'm trying to use the DropDownTImePicker in my internationalized app. If locale is en (English) it works fine! If locale is sv (Swedish) it doesn't work at all - it renders like this: div id=EventTime/div so it's display is just blank :( Anyone else had this issue? What am I missing?

Why suddenly all my pages in Tapestry seems to be missing?

2007-06-25 Thread Eko S.W.
Dear All, I use Maven and being helped alot by Jetty. Things seems to work fine in Jetty. But when I do mvn clean, and then run mvn jetty:run Tapestry keep saying no root element defined or embedded component not found I put all html pages in the same directory as java class. What am I doing

Re: Why suddenly all my pages in Tapestry seems to be missing?

2007-06-25 Thread Daniel Jue
I put all html pages in the same directory as java class. What am I doing wrong? That's what's wrong! I hope you have backups. mvn clean will delete the target directory, where your class files go. your templates are supposed to go in main/resources Please see how the Tapestry Archetype

Re: T5 tapestry-spring: have to interface all HibernateDaoSupport methods

2007-06-25 Thread Massimo Lusetti
On 6/26/07, Bill Holloway [EMAIL PROTECTED] wrote: I have the following DAO pattern: public class FooDaoImpl extends HibernateDaoSupport implements FooDao { // some custom Foo dao methods. } However, tapestry-ioc spring bean injection injects via interface. So, none of the

Re: [T5] Documentation

2007-06-25 Thread 小司
I'am a chinese user.every user should know Tapestry5 's request life cycle.i'm beginner. I want to get a detailed Tapestry5 request life cycle.Could you provide it in your tapestry5 document?? -- 得与失都是生活 Get and Lost are all life.

Re: T5 tapestry-spring: have to interface all HibernateDaoSupport methods

2007-06-25 Thread Bill Holloway
I.e., public class FooDaoImpl extends HibernateTemplate implements FooDao // which extends HibernateOperations { // some custom Foo dao methods. } Perfecto and parsimonious. bill On 6/25/07, Massimo Lusetti [EMAIL PROTECTED] wrote: On 6/26/07, Bill Holloway [EMAIL PROTECTED]

T5: Generic page classes with beaneditform

2007-06-25 Thread Bill Holloway
I have a Widget base entity extended by several concrete product entities. I have public class T extends Widget EditWidgetPage { ... @Persist public Long _someWidgetId; public T _someWidget; // normal setters / getters void onActivate (long id) { _someWidgetId = id; _someWidget

T5 Output Locale Number

2007-06-25 Thread Marcus
http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber Marcus