Re: I'd like to generate valid XHTML

2008-09-11 Thread Luther Baker
To help me output XHTML ... here are 3 classes. Most of the code below came from the wiki. I updated a few generic class references. You'll want to put these in the (root)**.services package. -Luther import java.io.IOException; import org.apache.tapestry5.*; import org.apache.tapestry5.ioc.C

textfield error Parameter(s) 'translate' are required when displaying foreign field.

2008-09-11 Thread Tan [EMAIL PROTECTED]
Hi, I'm newbie in tapestry, i have a problem when i want to show a foreign field value in textfield. it show me the error as below: Parameter(s) 'translate' are required for org.apache.tapestry5.corelib.components.TextField, but have not been bound. in java is: @C

tapestry-4.1.6-final

2008-09-11 Thread Ken in nashua
Folks, Can someone explain why 4.1.6-SNAPSHOT remains referenced throughout the 4.1.6 and 4.1.6 branches? It is hampering eclipse from running jetty:run complaining about 4.1.6-SNAPSHOT being in the classpathBest regards Ken in nashua

Re: namespace

2008-09-11 Thread Ulrich Stärk
You always have to tell the xml parser the namespace of an attribute if two attributes with the same name collide. In this case Tapestrys id attribute would collide with the (X)HTML id attribute, therefore you have to distinguish it with t:id. Cheers, Uli Luther Baker schrieb: I have what I

Re: T5: Why does the Form component ouputs its own Zone ?

2008-09-11 Thread Stephane Decleire
When the Form is successfully submitted, i want to return my component but with a different view of the data where there is no Form so my success event handler returns the component itself (by returning 'this') but with a different view. And as i said before, despite the generation of 2 zones,

RE: [RELEASE] Tapestry 4.1.6

2008-09-11 Thread Jon Williams
The release is rendering generator meta info as SNAPSHOT. -Original Message- From: Marcus Schulte [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 12:01 PM To: Tapestry development; Tapestry users Subject: [RELEASE] Tapestry 4.1.6 Finally, I finished the 4.1.6 release. Rele

namespace

2008-09-11 Thread Luther Baker
I have what I hope is a simple question. Sometimes, the attributes in a Tapestry specific component tag require the tapestry namespace. Sometimes they do not. : Here, "t" is required for t:id ... does ID always required the "t" namespace? Other attribut

T5: Tapestry cookie and the cookiemonster

2008-09-11 Thread Martijn Brinkers
A lot op applications are vulerable to a sniffing 'attack' even though SSL is used. The vulnerability is caused by allowing the cookie to be sent over http (the cookie is not a secure cookie) See: http://www.theregister.co.uk/2008/09/11/cookiemonstor_rampage/ My application always uses HTTPS b

[RELEASE] Tapestry 4.1.6

2008-09-11 Thread Marcus Schulte
Finally, I finished the 4.1.6 release. Release-notes, as usual, may be found here: http://tapestry.apache.org/tapestry4.1/release-notes.html -- Marcus Schulte

Re: T5: Why does the Form component ouputs its own Zone ?

2008-09-11 Thread Howard Lewis Ship
What is being returned from your form's success event handler? You want to return a Block that contains your Form. You could even return the Form itself. If you return the Zone, it renders its and then its content. In 5.0.15-SNAPSHOT you could return the zone's body property. On Thu, Sep 11,

Re: @onevent anotation

2008-09-11 Thread Howard Lewis Ship
There is no single definitive list (if there were, it would be an enum, not a string). Components are free to define and fire, or listen for, arbitrarily named events. The framework mostly uses "action" as the default, but some components, such as Form, fire lots of events at different times. On

RE: T-4.1.6-SNAPSHOT broken? commons-pool

2008-09-11 Thread Ken in nashua
Thanks Martin, I like the exclusion option. Giving that a try now. Sure I will go with one or the other.Best regards Ken in nashua From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: T-4.1.6-SNAPSHOT broken? commons-poolDate: Wed, 10 Sep 2008 13:53:35 -0400 Well Still no solution except for brute

Re: [T4.1.5] Direct listener called multiple times

2008-09-11 Thread Ken in nashua
I have seen listeners get called twice. Have you tried 4.1.6-SNAPSHOT` I may have complained before about this in 4.1.6 but have not followed up on it.Best regards Ken in nashua _ Want to do more with Windows Live? Learn “10 hidd

[T4.1.5] Direct listener called multiple times

2008-09-11 Thread Jim
Hello, I have a @DirectLink associated with a pageListener() method on my MainMenu page. pageListener() returns PageB to be rendered. I noticed that when I click on the link, pageListener() is called twice. I have the listener merely printing out the IRequestCycle instance and returning Pa

Re: contrib table field alignment

2008-09-11 Thread michael lim
for custom field in .page =DateValidFromColumn, how to display it in .html ,because i want to align to right // this working fine

Re: Tapestry App Replication

2008-09-11 Thread kranga
The extensive use of @Persist("flash") for form fields could cause thrashing in an app cluster. That's one piece I'd like to see refined in Tapestry to be one in a different way. - Original Message - From: "Howard Lewis Ship" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Monday, Sep

T5: Why does the Form component ouputs its own Zone ?

2008-09-11 Thread Webmaster Bébé Nounou
I would like to get your thoughts about the necessity for the form component to output its own Zone when one already exists ... I work on a component wish should be able to show the user a piece of data (an article) but with different views according to the use case : - The user can read an ex

Re: Tapestry5.0.7 versus 5.0.14

2008-09-11 Thread Angelo Turetta
[EMAIL PROTECTED] wrote: I thought after the changes from T4 to T5, T5 was supposed to be upwards/downwards compatible... Such dramatic changes within a 5.0.* version should be avoided in my opinion. You'd better make your homework, then: 5.0.7 was labeled 'Preview', and the download pages e

[T5] AjaxFormLoop - Unable to convert serialized id back into an object.

2008-09-11 Thread zack1403
Hey All, I'm getting a recurring error that seems to have been fixed here: https://issues.apache.org/jira/browse/TAPESTRY-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel I am using AjaxFormLoop 3 times in my template and simply trying to do a master detail save. There is

contrib table field alignment

2008-09-11 Thread michael lim
current i using code below to display table and all fields are displayed right alignment. if i want certain field to align "left" and certain field to align "right" . how do to that? --

Re: Tapestry5.0.7 versus 5.0.14

2008-09-11 Thread Sven Homburg
superoverdrive, you must thought, that tapestry5 is still in development stage and i think T6 is still far away. 2008/9/11 <[EMAIL PROTECTED]> > I thought after the changes from T4 to T5, T5 was supposed to be > upwards/downwards compatible... > > Such dramatic changes within a 5.0.* version sh

Re: Tapestry5.0.7 versus 5.0.14

2008-09-11 Thread superoverdrive
I thought after the changes from T4 to T5, T5 was supposed to be upwards/downwards compatible... Such dramatic changes within a 5.0.* version should be avoided in my opinion. If it is necessary, maybe jump to T6 should be done.? Original-Nachricht > Datum: Wed, 10 Sep 2008