Re: "Choose One" option for Selects

2007-04-15 Thread Patrick Klein
Hi! > In my domain model, I have the ubiquitous "Person" class and lists of > these objs. to display in elements. I have written a > ValueEncoder and SelectModel for the class, and that works fine. > > I'd also like to have an elegant way to add a "Choose One" option in > the list (at the top).

T5 Choose One, was Re: "Choose One" option for Selects

2007-04-15 Thread Bill Holloway
Sorry all, should have made it clear that I was in Tapestry 5. On 4/15/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I do this with the new IOptionRenderer (which can be passed to PropertySelect component) in combination with a model object that is given the "choose" message from a IComponent.get

Re: anyone else having problems with today's snapshot?

2007-04-15 Thread Andreas Andreou
yep, confirmed, thx! On 4/16/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Ok. Fixed and deploying (ed). On 4/15/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > Only the ContextAssetFactory. > > Looks like spec libraries might be getting resolved by invoking that > factory directly instead of

Re: anyone else having problems with today's snapshot?

2007-04-15 Thread Jesse Kuhnert
Ok. Fixed and deploying (ed). On 4/15/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Only the ContextAssetFactory. Looks like spec libraries might be getting resolved by invoking that factory directly instead of using AssetSource to do it - which makes sense now that I know what is happening. I

Re: Tapestry Quickstart - Error

2007-04-15 Thread Zsombor
On 4/16/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: Force an earlier version to the maven-war-plugin, i.e. open the pom.xml file and right after maven-war-plugin add 2.0.2 As mentioned before by Alexandru, you'll have to make some changes to the AppModule class, i.e. remove the Id and Contri

Re: hello world tutorial for tapestry 4.1 for tomcat 6 or jetty 6

2007-04-15 Thread Renat Zubairov
Hi You can also have a look on the Tapestry archetypes: http://tapestryjava.blogspot.com/2007/02/maven-archetype-for-tapestry-4.html And here: http://www.webtide.com/resources.jsp Also you can have a look on the AppFuse: http://appfuse.org/display/APF/AppFuse+QuickStart Renat On 16/04/07,

Re: hello world tutorial for tapestry 4.1 for tomcat 6 or jetty 6

2007-04-15 Thread Geoff Callender
Hi Akbar, As of last night, JumpStart now handles 4.1, too. I'd also suggest you give the JBoss environment a try - to my mind it is really worth it. And don't forget the Tips page on the JumpStart website. Regards, Geoff On 14/04/2007, at 2:59 PM, Akbar wrote: Hi, Any one know where

Re: Tapestry Quickstart - Error

2007-04-15 Thread Andreas Andreou
Force an earlier version to the maven-war-plugin, i.e. open the pom.xml file and right after maven-war-plugin add 2.0.2 As mentioned before by Alexandru, you'll have to make some changes to the AppModule class, i.e. remove the Id and Contribute annotations. On 4/16/07, Zsombor <[EMAIL PROTECTED]

Re: anyone else having problems with today's snapshot?

2007-04-15 Thread Jesse Kuhnert
Only the ContextAssetFactory. Looks like spec libraries might be getting resolved by invoking that factory directly instead of using AssetSource to do it - which makes sense now that I know what is happening. I'll hunt down the culprit and "fix em" for good. The old style "/net/sf/tacos/Tacos.li

Re: Tapestry Quickstart - Error

2007-04-15 Thread Zsombor
On 4/15/07, Alexandru Dragomir <[EMAIL PROTECTED]> wrote: Are you executing mvn jetty:run inside the project folder ? (the one created by quickstart ) Cheers , Alex Yes, i run from the project folder. BR, Zsombor On 4/15/07, Zsombor < [EMAIL PROTECTED]> wrote: > > Hello, > > I've tried

Re: anyone else having problems with today's snapshot?

2007-04-15 Thread Andreas Andreou
I think i know what's happening - at least here's what i've just observed: I used to have in my .application files stuff like This NO longer works, one has to do Do the recent changes assume context location by default then? Should we keep the old way working? On 4/15/07, Jesse Kuhnert <[EM

Re: Tapestry Quickstart - Error

2007-04-15 Thread Alexandru Dragomir
Are you executing mvn jetty:run inside the project folder ? (the one created by quickstart ) Cheers , Alex On 4/15/07, Zsombor <[EMAIL PROTECTED]> wrote: Hello, I've tried to follow the quickstart guide, to create a tapestry5 projects, the project is created by the maven archetype successfull

Tapestry Quickstart - Error

2007-04-15 Thread Zsombor
Hello, I've tried to follow the quickstart guide, to create a tapestry5 projects, the project is created by the maven archetype successfully, however after I try to execute mvn jetty:run it fails: $ mvn jetty:run [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix:

Re: JUnit and Tapestry application

2007-04-15 Thread Renat Zubairov
Hi The only way I think is to lean from already created tests. I also had this problem before. You can check unit tests of any of the Tapestry projects, for example you can have a look on bookie project I'm participating in http://code.google.com/p/bookie There you might be interested in this f

Re: Tapestry 5 Redirects

2007-04-15 Thread kranga
Why do you need numbers to understand that an extra redirect adds to rendering delay? On storing values in session, why should I be forced to use a "flash" technology to handle session. A framework that attempts to be non-intrusive shouldn't force a session storage strategy because of the wa

JUnit and Tapestry application

2007-04-15 Thread #Cyrille37#
Hello, The only documentation I've found to run JUnit Tests on a Tapestry application is for Tapestry 3 : http://tapestry.apache.org/tapestry3/doc/ContributorsGuide/procedures.junit.html Is it enough ? Or is there new stuff to know for Tapestry 4.x ? Thanks cyrille --

Re: ognl in @Image component

2007-04-15 Thread Christian Dutaret
not completely sure, but try "imageAsset[book.isbn]" 2007/4/12, Hoogeveen, Erik <[EMAIL PROTECTED]>: This is because with parentheses ognl starts looking for a method and not for a property. See: http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html for more info. -- "W

Re: "Choose One" option for Selects

2007-04-15 Thread Christian Dutaret
There's also the LabeledPropertySelectionModel, which is a wrapper around your PropertySelectionModel that adds the default value (which resolves to null on rewind) 2007/4/15, Bill Holloway <[EMAIL PROTECTED]>: In my domain model, I have the ubiquitous "Person" class and lists of these objs. to

Re: "Choose One" option for Selects

2007-04-15 Thread Jesse Kuhnert
I do this with the new IOptionRenderer (which can be passed to PropertySelect component) in combination with a model object that is given the "choose" message from a IComponent.getMessages().get("choose") kind of localization. The IOptionRenderer is an easy way to do something like some of the go

Re: [OT] mailing-list problems with GMail

2007-04-15 Thread Jesse Kuhnert
Not sure, but if I were a spam blocking program I'd view your all numeric email address as highly suspect. On 4/15/07, Koka Kiknadze <[EMAIL PROTECTED]> wrote: Occasionally when trying to post reply I recieve Delivery to the following recipient failed permanently: [EMAIL PROTECTED] Techn

Re: Does T5.0.3 support chinese??

2007-04-15 Thread xu yiwei
I wrote a *.properties using the UTF-8 encoding; then i use the ${message:*} to display the chinese, but i still couldn't write chinese in the *.html file, or got a wrong encoding. so can I change t5 to read a *.html with a UTF-8 encoding???How? 在 07-4-14,xu yiwei<[EMAIL PROTECTED]> 写道: in the

Error with Tapestry 4.1.1 and backport-util-concurrent

2007-04-15 Thread #Cyrille37#
Hello, I'm trying Tapestry 4.1.1 and at application startup there is an error with the lib backport-util-concurrent. I'm using NetBeans 5.5 and Sun Java System Application Server Platform Edition 9.0_01. ... org.apache.hivemind.ApplicationRuntimeException: Failure invoking constructor for clas

[OT] mailing-list problems with GMail

2007-04-15 Thread Koka Kiknadze
Occasionally when trying to post reply I recieve Delivery to the following recipient failed permanently: [EMAIL PROTECTED] Technical details of permanent failure: PERM_FAILURE: SMTP Error (state 12): 552 spam score (5.1) exceeded threshold Does anyone have similar problem? In other words,

Re: anyone else having problems with today's snapshot?

2007-04-15 Thread Jesse Kuhnert
Yep, probably related to something I did today. I'd suggest you pick a more specific version to get over your issues until they can be looked at: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-framework/maven-metadata.xml (p.s. I don't see the root of your stac