Re: Redirecting page in Tapestry 5

2007-01-05 Thread Howard Lewis Ship
That a Not Yet Implemented. Sorry. Alpha. On 1/5/07, Bill Holloway <[EMAIL PROTECTED]> wrote: Anybody have any sample code redirecting the browser after an @OnEvent method? Haven't gotten this to work. Typical error: Event 'submit' from org.example.tapestry5.pages.EditPerson:myForm receive

Redirecting page in Tapestry 5

2007-01-05 Thread Bill Holloway
Anybody have any sample code redirecting the browser after an @OnEvent method? Haven't gotten this to work. Typical error: Event 'submit' from org.example.tapestry5.pages.EditPerson:myForm received an event handler method return value of ListPeople from org.example.tapestry5.pages.EditPerson.my

Re: ComponentBeginRenderListener?

2007-01-05 Thread Martin Strand
Thanks, works great! On Fri, 05 Jan 2007 10:22:47 +0100, <[EMAIL PROTECTED]> wrote: how about AbstractComponent.prepareForRender() ? -Original Message- From: Martin Strand [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 6:08 AM To: Tapestry users Subject: Re: ComponentBeginRe

Re: Question on overriding T41 client-side validation

2007-01-05 Thread Jesse Kuhnert
You can probably just re-define the function that currently does this - "tapestry.form.validation.summarizeErrors(form, results, profile)" : http://tapestry.apache.org/tapestry4.1/javascript/form-validation.html On 1/4/07, Joe Chen <[EMAIL PROTECTED]> wrote: Hi all, I'd like to override the d

Problem with Number Translator in Tapestry 4.1.2 Snapshot

2007-01-05 Thread Patrick Klein
Hi! I just recognized that the NumberTranslator does not seem to work correctly. OmitZero=true results in no value shown in the form-field after a rewind but the value "0" is stored inside the corresponding Long- (or Integer / BigDecimal / ...) variable. OmitZero=false shows the stored "0" in

Re: Tapestry/Hivemind + Terracotta

2007-01-05 Thread Eugene Kuleshov
James Carman wrote: > > I would be willing to take a look at it when I get some breathing room. Great! Let me know if you'll need any help with Terracotta stuff. regards, Eugene -- View this message in context: http://www.nabble.com/Tapestry-Hivemind-%2B-Terracotta-tf2911825.html#a81

RE: User sessions overlapping ....

2007-01-05 Thread Chris Schroeder
The initialize() method was removed in Tap 4.1.1. Could you be trying to use that to clean up your pages? -Original Message- From: Stephane Decleire [mailto:[EMAIL PROTECTED] Sent: Thursday, January 04, 2007 5:00 PM To: users@tapestry.apache.org Subject: User sessions overlapping

RE: User sessions overlapping ....

2007-01-05 Thread Robert J. Walker
Are you sure that the properties that are "leaking" between sessions lives on the session? Might they actually be manually-created page properties that you forgot to clean up? If you haven't checked that already, I'd give it a look; it's usually the culprit of something like this in my experienc

Re: Add javascript to Form onSubmit event

2007-01-05 Thread Dennis Sinelnikov
can't you use 'onClick' with your submit button? Pablo Ruggia wrote: Hi ! I want to execute a javascript function before my form is submited. All i've found is using is to use something like this: f.addEventHandler(FormEventType.SUBMIT, "myjsfunction") But this is deprecated, what is the reco

Spaces in PropertySelection

2007-01-05 Thread Pablo Ruggia
Hi !! I have a series of items in a PropertySelection that have to have some spaces at the beginning. I need something like    Item Label. Tapestry does not replace spaces with nbsp's and PropertySelection doesn't have a raw parameter. Thanks !

Re: Properties Modification [Tapestry 3]

2007-01-05 Thread cedric . brajus
I use Eclipse and I don't know how to configure automatically reload ? in the web.xml ? Have you an example ? because I don't what it's possible to add in server.xml but It's possible to configure this in my Tapestry project Please Cordialement - Best regards BRAJUS Cédric SETVAL-CTIV http://

How to reference a library-page from a library-service

2007-01-05 Thread Marcus.Schulte
I'd like to refer to a custom exception page from my custom ExceptionPresenter service. Both live in a library. Does anybody know how I can provide my service with the library namespace? I do not want the client to make an explicit connection by requiring it to contribute the library-id somewhere?

Re: making links :visited across components

2007-01-05 Thread RonPiterman
andyhot wrote: Do you have to use direct links? They expose too much of the inner workings of tapestry - that's why they're not got for bookmarks as well... how is this possible if my component should be dropped in different pages ? I found finally another solution: What I did is removed the

Re: Tapestry/Hivemind + Terracotta

2007-01-05 Thread James Carman
I would be willing to take a look at it when I get some breathing room. On 1/4/07, KEGan <[EMAIL PROTECTED]> wrote: Hi, Unfortunately, I am no expert in Hivemind. Would anyone from the Hivemind's contributor be willing to champion this project ? On 1/4/07, Eugene Kuleshov <[EMAIL PROTECTED]

Re: Tapestry-acegi auth

2007-01-05 Thread James Carman
Sorry, but I haven't had time to reply to this thread, but have you looked at the Wiki page: http://wiki.apache.org/tapestry/AcegiSpringJava5 On 1/5/07, Firas Adiler <[EMAIL PROTECTED]> wrote: Hi Kevin, This exception is "thrown if an Authentication object does not hold a required authority"

Re: Properties Modification [Tapestry 3]

2007-01-05 Thread Numa Schmeder
Well you don't have much choice then to reload ! or configure tomcat to automatically reload on change to .properties file. Numa Le 5 janv. 07 à 11:37, [EMAIL PROTECTED] a écrit : What is the good practice for reload a properties with tapestry ? Example : Home.page Home.html Home_fr.propertie

Add javascript to Form onSubmit event

2007-01-05 Thread Pablo Ruggia
Hi ! I want to execute a javascript function before my form is submited. All i've found is using is to use something like this: f.addEventHandler(FormEventType.SUBMIT, "myjsfunction") But this is deprecated, what is the recommended way of doing this ? I'm using Tapestry 4.0.2 Thanks !

Properties Modification [Tapestry 3]

2007-01-05 Thread cedric . brajus
What is the good practice for reload a properties with tapestry ? Example : Home.page Home.html Home_fr.properties Home_en.properties In my Home.html, I have : I would like change this key in Home_fr.properties but no restart tomcat it's possible ? Cordialement - Best regards BRAJUS Cédric

Re: Problems with components IF & For

2007-01-05 Thread Roberto Ramírez Vique
Hi Firas!! thanks for your response !!! I think this can be a solution, the problem is that what we want is exactly this. I mean, we want to change the number of elements (in fact populate the list with the customers found) in this list ... then display this changes. I thought this was really no

RE: ComponentBeginRenderListener?

2007-01-05 Thread Marcus.Schulte
how about AbstractComponent.prepareForRender() ? > -Original Message- > From: Martin Strand [mailto:[EMAIL PROTECTED] > Sent: Friday, January 05, 2007 6:08 AM > To: Tapestry users > Subject: Re: ComponentBeginRenderListener? > > Thanks, but finishLoad() is also invoked regardless of >

RE: Problems with components IF & For

2007-01-05 Thread Firas Adiler
Hi Robert, The listCustomersFound must be the same on both rewind and submit. Remember that two List objects (java.util.List) are equal if they contain the same elements in the same order. I suggest that you sort the list before returning it to Tapestry. I believe that was the solution to my prob

RE: Tapestry-acegi auth

2007-01-05 Thread Firas Adiler
Hi Kevin, This exception is "thrown if an Authentication object does not hold a required authority". "ROLE_USER" is the authority you used to secure your pages. It seems that your Acegi configuration is not complete. I'm a beginner myself and found this page very helpful: http://www.tfo-eservices