Re: Archetype Error

2009-03-07 Thread Richard Clark
Actually, the command line as you wrote it: > mvn archetype:generate -DarchetypeGroupId=org.apache.tapestry \ -DarchetypeArtifactId=quickstart causes Maven to generate the list of candidate archetypes and the tapestry quickstart archetype isn't among them. (It's the same command line I tried befor

Re: Archetype Error

2009-03-07 Thread Andreas Andreou
I meant he should substitute create with generate in his command line and not just use what you wrote... The end result would be something like: mvn archetype:generate -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart Anyway, there's also some updated info at http://tapestry.

RE: apache configs to avoid subdirectory conflicts?

2009-03-07 Thread Michael Huff
greetings again, thanks much for taking the time to respond; very much appreciated indeed. i suspect it is indeed an apache/mod_jk issue which tapestry's indifference to case is exacerbating - that's why i thought i'd ask here, in case someone else had encountered it - but i'm not really sure. sor

Re: Archetype Error

2009-03-07 Thread Richard Clark
On Fri, Feb 27, 2009 at 6:36 PM, Andreas Andreou wrote: > When running that, I see this warning: > [WARNING] This goal is deprecated. Please use mvn archetype:generate instead > > So, use archetype:generate instead of archetype:create and it'll work Unfortunately not. Using archetype:generate ask

Re: Client validation occurs even when there is no t:validate

2009-03-07 Thread Howard Lewis Ship
Primitive types (int vs. java.lang.Integer) are always required because there's no way to indicate that a value is not present, i.e., null. On Fri, Mar 6, 2009 at 11:57 PM, Borut BolĨina wrote: > Hi, > > I am building a date input component with three select input fields > (day, month, year). Act

Re: T5: Critial security of t:formdata

2009-03-07 Thread Howard Lewis Ship
Yes, you need the keys to the kingdom (the ability to deploy compiled Java code into the active application's classpath) in order to use the "exploit". If you can accomplish that, the ability to provide your own component actions is a footnote compared to what you could accomplish otherways. On Sa

Re: T5: Critial security of t:formdata

2009-03-07 Thread Otho
If you revert to the official jar, how is your ComponentAction still there? And I don't actually understand, what the possible attack vector would be.

T5: Critial security of t:formdata

2009-03-07 Thread dh ning
Hi, These days I always think of security of t:formdata, just now I have a test to hack the t:formdata and find there is some serious damages. 1. First I change source code of Form component and store a component action in Form and build my own tapestry-core.jar. static final ComponentAction

Re: 5.1.0.1-SNAPSHOT submit context not workin in a loop

2009-03-07 Thread Ville Virtanen
Has something changed regarding the client side data encoding? I just cant grasp what I'm doing wrong, and earlier it worked so I'm really stumped here.. - Ville Also, now some of our views are giving this stacktrace, any insight on this one? After this FireFox says it cannot show the page, bec

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread manuel aldana
Original-Nachricht > Datum: Sat, 07 Mar 2009 13:01:33 +0100 > Von: Andy Pahne > An: Tapestry users > Betreff: Re: Page navigation passed value not displayed (@InjectPage style) > manuel aldana schrieb: > > So you mean if I provide a coercion for User, the User gets serialized

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread Andy Pahne
manuel aldana schrieb: So you mean if I provide a coercion for User, the User gets serialized to an activation-context snippet in the URL, and after that the snippets gets deserialized back to my User object? I don't think that serialization is used. It's more that you pass those values nec

Re: T5 ConcurrentBarrier / Deadlock

2009-03-07 Thread Andy Pahne
There have been issues with Sun JVMs <= 1.6.10. (or < 1.6.10, I don't recall it exactly). Andy Alex Kotchnev schrieb: I also recall the deadlock issues manifested themselves on particular JVM versions which were fixed in the latest updates. Which Java version are you running ? Cheers,

Re: Encoding in activation context

2009-03-07 Thread Fernando Bellas Permuy
Hi! Finally, I have been able to adopt an standard solution by injecting the "Request" service in the page implementing the service. It is very easy. Example: public class MyService { // ... @Inject private org.apache.tapestry5.services.Request request; void

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread ningdh
General speaking when with Hibernate, only convert entity to primary key id, and then get back to entity, much like HibernateEntityValueEncoder class. DH - Original Message - From: "manuel aldana" To: "Tapestry users" Sent: Saturday, March 07, 2009 5:13 PM Subject: Re: Page navigation

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread manuel aldana
So you mean if I provide a coercion for User, the User gets serialized to an activation-context snippet in the URL, and after that the snippets gets deserialized back to my User object? Maybe an out of the box coercion for custom types would be interesting (to an ordered comma separated String