T5.1: parent/children Spring non singleton beans integration

2009-05-18 Thread Stephane Decleire
I've got non singleton beans in a parent/children relation. For example : - a Folder bean with a property Files which point on a Set of File beans. - several File beans with a property Folder which point on a Folder bean. Until Tapestry 5.0.18, i used to implement those non singleton beans as Spri

Re: DWR with T5

2009-02-27 Thread Stephane Decleire
Where is the demoReply tag in your html ? Have you tried to launch the DWR test tool to check that it works before integrating it in your pages ? Stephane kace a écrit : > I ended up with the following in my page class to get the scripts added: > > void setupRender() { > > renderSuppo

Re: DWR with T5

2009-02-27 Thread Stephane Decleire
I've integrated DWR in my application and even in several libraries. The simplest way seems to use Spring as the glue ... So you can use Spring as the creator. Stephane kace a écrit : > Hi fellas, > > I am looking to integrate Tapestry 5 with DWR 3-RC1. > > Added the following to web.xml > >

T5 : how to make input validations during the submission of a field ?

2009-02-27 Thread Stephane Decleire
I have implemented a field which is a subclass of abstract field and i would like to make input validations during the processSubmission() event. Is there a way to get the form component in there to record new errors ? Or is there another event where this can be done ? Thanks in advance. Stephane

Re: T5 : optional parameters in tml

2009-02-23 Thread Stephane Decleire
I've found that the "inherit:" parameter binding makes quite a good job in this case ! Stephane Stephane Decleire a écrit : > I would like to know what's the "best" way to manage optional parameters > in the tml template ? > > For example, if i have t

T5 : optional parameters in tml

2009-02-23 Thread Stephane Decleire
I would like to know what's the "best" way to manage optional parameters in the tml template ? For example, if i have to write a tag like : or based on the value of a property. In one hand, i would rather avoid tags in the template but in the other hand, something simple like validate="${myval

T5 : weird "required" behavior ...

2009-02-20 Thread Stephane Decleire
I've been trying to use the "required" validator on a select which options may be updated using Ajax. When the options are not updated, everything is ok and the "required" validator do its job. But when the options are updated using an Ajax call, the value is correctly updated but the "required" ex

Re: [OT] By boss decided

2009-02-20 Thread Stephane Decleire
With no offense, doesn't that show a lack of "marketing" actions on the Tapestry website ? A marketing part in the website, aimed at the managers (no technical details, just facts : speed / support / customers / ...) , would probably be a great tool for Tapestry ... Stephane Borut Bolčina a écri

Re: T5: DWR Integration

2009-02-20 Thread Stephane Decleire
lem: Do the Tapestry facilities (@IncludeScriptLibrary...) > support your use case? I guess not. > > When I integrated dwr, I did not even think that far, because I did > not have to bundle it as a component lib. So I ended up using the same > script-tags that you used. > > A

Re: T5: DWR Integration

2009-02-17 Thread Stephane Decleire
Thanks Andy, But i've already done this. It works great on the DWR side but that doesn't help on the way to integrate the DWR javascript files in my Tapestry components ... does it ? Stephane Andy Pahne a écrit : > Stephane Decleire schrieb: >> Hi all, >> >> I

T5: DWR Integration

2009-02-17 Thread Stephane Decleire
Hi all, I've tried to integrate DWR with Tapestry and the both frameworks seem to work great together (perhaps because they don't do the same work ;-) and are not so integrated). For the test, i've just put the to javascript libraries needed by DWR directly in the XHTML code like this :

T5 : naming of subcomponents ...

2009-02-16 Thread Stephane Decleire
Hi all, I would like to have your opinion on the following case : I want to create a Tapestry component as an assembly of several components and javascript functions (in a .js file) and those functions need to have access to the components' values. This component could be, for example a "birthdat

T5 : How to add a javascript file by its url ?

2009-02-12 Thread Stephane Decleire
How can one add a javascript file to a Tapestry component by its url and not its path ? It would be usefull to integrate other framework like GoogleMaps wich has this kind of url : http://maps.google.com/maps?file=api&v=2.x&key=...";> or DWR with those urls : Stephane

Re: T5 : validation of radiogroup fields

2009-01-29 Thread Stephane Decleire
field is required, the first radio item should be checked by default. Stephane Stephane Decleire a écrit : > I don't understand why the radiogroup component doesn't have a validate > field like the other form field components ... > And what is the prefered way to set a radiogrou

T5 : validation of radiogroup fields

2009-01-21 Thread Stephane Decleire
I don't understand why the radiogroup component doesn't have a validate field like the other form field components ... And what is the prefered way to set a radiogroup field as required ? Stephane

Re: Weird error

2009-01-21 Thread Stephane Decleire
Hi Could you show us the code of your class tibox.allert.fastSupport.services.UserSessionImpl ? Stephane Sid Ferreira a écrit : > Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im > getting this error... Why? > > > java.lang.RuntimeExceptionException constructing service 'M

Re: Tapestry 5.0 Final Release - 5.0.18

2008-12-15 Thread Stephane Decleire
Congratulations Howard and all contributors for making our lives as web developpers, architects, project managers, ... easier ! Best Regards Stephane Howard Lewis Ship a écrit : > Apache Tapestry 5.0 final release (5.0.18) > > After nearly three years of development, the final release of Apache

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
Thanks Thiago for the tip. Thiago H. de Paula Figueiredo a écrit : > Em Mon, 08 Dec 2008 08:10:39 -0300, Stephane Decleire > <[EMAIL PROTECTED]> escreveu: > >> I have just found the solution : >> -Dtapestry.modules=com.cariboonetworks.mylib1.services.Lib1Module

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
Sorry, forgot the link : https://issues.apache.org/jira/browse/TAP5-245 Stephane Andreas Andreou a écrit : > which JIRA is that? > > On Mon, Dec 8, 2008 at 1:10 PM, Stephane Decleire > <[EMAIL PROTECTED]> wrote: > >> I have just found the solut

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
ready been filled 2 months ago for this and i think we should vote for it. Stephane Stephane Decleire a écrit : > Oups, no, it wasn't ... > Strange since i have checked this yesterday ... > > So, with "build automatically" checked, here is what i get : > > 1. If i laun

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
d" when my app is launched with the JettyLauncher. Is there a way to tell those manifest entries to the JettyLauncher ? Stephane Stephane Decleire a écrit : > Yes i do > > Jonathan Barker a écrit : > >> Do you have Build Automatically selected in Eclipse? >> >>

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
Yes i do Jonathan Barker a écrit : > Do you have Build Automatically selected in Eclipse? > > >> -Original Message- >> From: Stephane Decleire [mailto:[EMAIL PROTECTED] >> Sent: Sunday, December 07, 2008 18:59 >> To: Tapestry users >> Subject:

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-07 Thread Stephane Decleire
Thanks Jonathan, Happy to know i'm not alone ;-) But it won't help a lot in getting a not disturbed environment for my tap projects ... Is there a list of the problems encountered by the tapestry users in terms of development environments ? Stephane Jonathan Barker a écrit : > Hmmm. I'll have t

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-07 Thread Stephane Decleire
I've installed the last sonatype's m2eclipse and my app is launched without dependencies errors but neither tml modifications nor java modifications are automatically reloaded when i right click my project, select "Debug as / Maven Build ..." and start jetty:run from there ... Thiago H. de Paula F

[T5] Tapestry + Maven make me crazy !!!

2008-12-07 Thread Stephane Decleire
I've been working with tapestry 5 in eclipse for several months by now. And i have built a "complex" hierarchy of projects to fullfil my needs : 2 tapestry 5 applications both using several tapestry 5 libraries. In maven, my 2 applications depends of some of the libraries which in turn depends on o

[T5] Application Message Catalog not read

2008-12-04 Thread Stephane Decleire
Since 5.0.17, my localized messages are not read anymore from the application message catalog. My application message catalog is named backoffice.properties because my filter in web.xml is called backoffice and this file is located in the WEB-INF directory as explained in tapestry localization tuto

Re: [T5] classes and templates don't reload anymore

2008-12-02 Thread Stephane Decleire
I don't think that my problem arises due to the new version. I have just posted it as a clue ... Michael Gerzabek a écrit : > I recently switched to 5.0.17 and everything works fine, reloading of > pages, templates, components (no mixins yet). I use Eclipse with jetty > plugin.

[T5] classes and templates don't reload anymore

2008-12-02 Thread Stephane Decleire
My app is built against Tap 5.0.17 I've tried using maven command "mvn jetty:run" or on Tomcat using Netbeans without success. None of the change i make on my templates or classes fired a reload. Any idea ? Stephane

Re: T5 : how to handle a zone refresh when the user session has expired ?

2008-11-09 Thread Stephane Decleire
f the fragment. Stephane Howard Lewis Ship a écrit : Very odd that you could end up with an empty t:formdata hidden field. On Sun, Nov 9, 2008 at 6:00 AM, Stephane Decleire <[EMAIL PROTECTED]> wrote: It seems that my problem is linked to the correction of the JIRA issue 2563 : https

Re: T5 : how to handle a zone refresh when the user session has expired ?

2008-11-09 Thread Stephane Decleire
Yes it is .. Seems to be linked to the presence of a FormFragment. Will investigate a bit more ... Stephane Howard Lewis Ship a écrit : Very odd that you could end up with an empty t:formdata hidden field. On Sun, Nov 9, 2008 at 6:00 AM, Stephane Decleire <[EMAIL PROTECTED]> wrote:

Re: T5 : how to handle a zone refresh when the user session has expired ?

2008-11-09 Thread Stephane Decleire
+A4ZBTNmepRM7XQ6qGtsOh4VYb1zuYr855nyUHd58bea70Cj5vVkdTAbkyAPS91XL1lAuYuVuOGUPKHFXS0mtfdnYagrsNx9xXRGXFfoD5piJ41aMmqfJgacg9nOHR8j88uloDGt2InSYyEx/QJ+L5QrZAQAAA== t:formdata zipCodeField Without the second empty t:formdata, i think that my zone would be updated nicely ... Stephane Stephane Decleire a écrit : I get the following error when trying to refresh a Zone in my application

T5 : how to handle a zone refresh when the user session has expired ?

2008-11-09 Thread Stephane Decleire
I get the following error when trying to refresh a Zone in my application while the user session has expired : org.apache.tapestry5.runtime.ComponentEventException Forms require that the request method be POST and that the t:formdata query parameter have values. Any idea on how and where i ca

Re: [ANN] JumpStart 3.17 is out - with editable loops

2008-11-05 Thread Stephane Decleire
Hi, Is Jumpstart glued to JBoss or can i use it with Tomcat alone ? Stephane Geoff Callender a écrit : Hi all, JumpStart 3.17 is now available. Lots of people have been asking for Editable Loops and Encoders, so that's the big thing in this release. In addition, Event Bubbling and Editable

T5: Spring prototype behavior equivalent ?

2008-10-31 Thread Stephane Decleire
Is there a way to get the same behavior as Spring prototype in Tapestry 5 ? If not, what's the easiest way to inject Spring prototype bean ? thanks in advance Stephane

Re: T5 : Jira TAP5-290 not entirely resolved

2008-10-23 Thread Stephane Decleire
x 0px; } Stephane Hugo Palma a écrit : I mean defining in your css something like this: div { } That style is applied to all div tags and in that case after the partial update it wouldn't be applied anymore. Stephane Decleire wrote: What do you mean by "hooked to the tag" ? St

Re: T5 : Jira TAP5-290 not entirely resolved

2008-10-23 Thread Stephane Decleire
ibute of the tag. On Thu, Oct 23, 2008 at 1:14 PM, Stephane Decleire < [EMAIL PROTECTED]> wrote: The correction linked to Jira TAP5-290 defines the namespaces as needed but the tag generated is not the same in a full and in a partial render : In my sample, the tag printed during a full p

T5 : Jira TAP5-290 not entirely resolved

2008-10-23 Thread Stephane Decleire
The correction linked to Jira TAP5-290 defines the namespaces as needed but the tag generated is not the same in a full and in a partial render : In my sample, the tag printed during a full page rendering : ... becomes an tag : http://www.w3.org/1999/xhtml"; xmlns:ns1=""> ... and

Re: T5 : Jira bug closed TAP5-290

2008-10-23 Thread Stephane Decleire
Thanks. I forced a maven update and it works now. Stephane Ulrich Stärk a écrit : Stephane Decleire schrieb: I get this morning the bug described in JIRA TAP5-290. Since this bug is supposed to be closed for 3 days now, how can i know if the correction is taken into account in the last

Re: T5 : Jira bug closed TAP5-290

2008-10-23 Thread Stephane Decleire
r mvn update. You can tell from the snapshot's filename when it has been built. You could also just give it a try to see if the error has gone... Stephane Decleire schrieb: I get this morning the bug described in JIRA TAP5-290. Since this bug is supposed to be closed for 3 days now, how can

T5 : Jira bug closed TAP5-290

2008-10-23 Thread Stephane Decleire
I get this morning the bug described in JIRA TAP5-290. Since this bug is supposed to be closed for 3 days now, how can i know if the correction is taken into account in the last snapshot ? Thanks in advance. Stephane

Re: T5 : localization problem

2008-10-22 Thread Stephane Decleire
5.0 release ??? Stephane Thiago H. de Paula Figueiredo a écrit : Em Wed, 22 Oct 2008 06:54:33 -0300, Stephane Decleire <[EMAIL PROTECTED]> escreveu: But with the following piece of code, the result is the hardcoded "Firstname" string. Localization of the string did not occured .

T5 : localization problem

2008-10-22 Thread Stephane Decleire
Hi all, I encounter the following problem : If i include the following code in one of my form, with the appropriate line firstname-label=prenom in my french localized messages file, the result is OK and the firstname label is localized. But with the following piece of code, the result is th

Re: Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10, Eclipse 3.3.2)

2008-10-21 Thread Stephane Decleire
Yes, i've got the same error yesterday on Eclipse 3.3.1.1/jdk1.6.0_03. Joel Halbert a écrit : Hi, Has anyone experienced core dumps when trying to debug T5 Page Event handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ? I keep getting the following dump when my breakpoint is hit : # # A

Re: T5 : localization in ComponentClassTransformWorker

2008-10-17 Thread Stephane Decleire
ia the ComponentResources object injected into each class. On Thu, Oct 16, 2008 at 2:48 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: Hi everybody, Is there a way to use Tapestry localization services like Messages in a ComponentClassTransformWorker ? My goal is to localize the componen

Re: T5 : localization in ComponentClassTransformWorker

2008-10-17 Thread Stephane Decleire
ia the ComponentResources object injected into each class. On Thu, Oct 16, 2008 at 2:48 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: Hi everybody, Is there a way to use Tapestry localization services like Messages in a ComponentClassTransformWorker ? My goal is to localize the componen

T5 : localization in ComponentClassTransformWorker

2008-10-16 Thread Stephane Decleire
Hi everybody, Is there a way to use Tapestry localization services like Messages in a ComponentClassTransformWorker ? My goal is to localize the component described by Marcelo Lotif in the Tapestry Wiki (http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects). Thanks in advance

T5 : localization of Options in a dropdown list

2008-10-13 Thread Stephane Decleire
Hi, What is the best way to localize the options of a dynamically generated Select component ? Thanks in advance. Stephane

Re: T5: how to fire an event from a component

2008-10-09 Thread Stephane Decleire
Exactly what i was looking for ! Thanks Tobias ;-) Tobias Wehrum a écrit : Hi Stephane, ComponentResources.triggerEvent may be what you search for. - Tobias Stephane Decleire schrieb: Hi, I would like to be able to fire an event from one of my component to tell its parent that a cache

Re: Problem updating form using a zone

2008-10-09 Thread Stephane Decleire
Your success event handler should return a block of HTML by returning a Block or a Tapestry Component. If you don't return anything, nothing is shown ... Stephane Toby Hobson a écrit : Can anyone see anything wrong with my code? Publi

T5: how to fire an event from a component

2008-10-09 Thread Stephane Decleire
Hi, I would like to be able to fire an event from one of my component to tell its parent that a cache should be invalidated. What is the way to do this in the Tapestry spirit ? Thanks in advance. Stephane

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: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Stephane Decleire
I'm not sure at all that the password checking should be done on the client side for security reason Stephane luna_guo a écrit : Confirm password checking is so common. It should happen on the client side,right? So,what should i do ? /luna

Re: T5: Form using Zone with two submits - possible bug?

2008-08-09 Thread Stephane Decleire
Hi Mike, This is a bug tracked in JIRA as TAPESTRY-2324 and TAPESTRY-2505. Stephane Mike Leonardo a écrit : Hello, I have a form that uses the zone parameter so that the submission is handled as an Ajax reload. The problem is that my form has two submit buttons, but Tapestry seems to always t

Re: T5: form, action, result

2008-08-05 Thread Stephane Decleire
I did the same but as a component, since i use it in several pages. The difficulty shows up when i need to use Ajax calls for a zone which is on the parent page and not on the component ... Stephane Chris Lewis a écrit : Cool, thanks :-) Martijn Brinkers (List) wrote: That's exactly what

T5: how to get the encompassing zone of a component at runtime ?

2008-08-03 Thread Stephane Decleire
Hi all, I need to write a component which includes a Form which has a zone parameter but i don't like the idea to ask the zone to update as a parameter of my component. Is there a way to get the encompassing zone of my component at runtime ? Stephane

Re: T5: onSelectedFrom ...

2008-07-07 Thread Stephane Decleire
I've just submitted an issue on JIRA : TAPESTRY-2505 Stephane Stephane Decleire a écrit : Hi Marcus, Yes, i'm on 5.0.13 and i've just tried without the zone parameter and it works. The problem is that i need the zone parameter in my app ... Is it a known bug ? Do you know a so

Re: T5: onSelectedFrom ...

2008-07-07 Thread Stephane Decleire
Hi Marcus, Yes, i'm on 5.0.13 and i've just tried without the zone parameter and it works. The problem is that i need the zone parameter in my app ... Is it a known bug ? Do you know a solution to avoid this behavior ? Thanks in advance Stephane Marcus a écrit : Hi Stephane, Are you on 5.0

T5: onSelectedFrom ...

2008-07-07 Thread Stephane Decleire
Hi all, I have a strange behavior when i try to trace which submit button have been used on a form : void onSelectedFromSubmit1() { log.info("submit1"); } void onSelectedFromSubmit2() { log.info("submit2"); } whether i submit the form via the submit1 or submit2 button, the

Re: [T5] Handling an event from an embedded component

2008-07-04 Thread Stephane Decleire
Isn't it the purpose of EventLink ? Stephane Thiago H. de Paula Figueiredo a écrit : Em Fri, 04 Jul 2008 13:42:58 -0300, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> escreveu: Say I have a List page. Inside it, I have an ActionLinks component. Inside ActionLinks, I have an ActionLink wi

Re: T5 date localization

2008-07-03 Thread Stephane Decleire
By the time those issues are solved, you can look at the wiki : http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber Stephane Ulrich Stärk a écrit : These are known issues which have yet to be adressed. See (and vote for if you want) https://issues.apache.org/jira/browse/TAPESTRY-2198

Re: T5: form zone parameter not taken into account

2008-07-03 Thread Stephane Decleire
:11ae8bb5631"});" when the component is initialized. Stephane Lance Java a écrit : How are you returning the AccountManagement? Do you use @InjectComponent or new AccountManagement() ? The latter will not work. 2008/7/3 Stephane Decleire <[EMAIL PROTECTED]>: Thanks Josh,

How to trace the content returned by XHR requests ?

2008-07-03 Thread Stephane Decleire
Hi, Which tool do you use to trace the XHTML content returned by an Ajax request ? Stephane

Re: T5: form zone parameter not taken into account

2008-07-03 Thread Stephane Decleire
d for the zone. The request object has the isXHR method which you can use to determine if it's a full or partial request. You can use this info to return something other than the block/component for users that don't have javascript enabled. On Wed, Jul 2, 2008 at 5:23 AM, Stephane Dec

T5: form zone parameter not taken into account

2008-07-02 Thread Stephane Decleire
I've got a form with a zone parameter but i still get the following warning and the whole page is refreshed when i submit the form. Any idea ? [WARN] ComponentInstanceResultProcessor Component Test:accountmanagement was returned from an event handler method, but is not a page component. The pa

Re: T5 : page updated instead of zone on form submit

2008-06-26 Thread Stephane Decleire
OK, solved. I was sending back the zone component itself and not the block to update. Stephane Stephane Decleire a écrit : Hi, When i try to update a zone in a form handler, i get the following warning and the entire page is reloaded : [WARN] ComponentInstanceResultProcessor Component

T5 : page updated instead of zone on form submit

2008-06-26 Thread Stephane Decleire
Hi, When i try to update a zone in a form handler, i get the following warning and the entire page is reloaded : [WARN] ComponentInstanceResultProcessor Component Test:accountmanagement.myaccountzone was returned from an event handler method, but is not a page component. The page containing

Re: delete confirm

2008-06-14 Thread Stephane Decleire
Just add a javascript confirm function on your delete link. stephane tengxh a écrit: > In list there is a column with the delete funtion,but i want to user confirm > the action,in other word,I want to have a confirm window "do you really > delete this record",in t5,how to do this,give some idea

Re: T5.0.13 : Form submit not refreshing page anymore

2008-06-12 Thread Stephane Decleire
Don't pay attention to this ... Sometimes, i do really stupid things ... ;-) Stephane Stephane Decleire a écrit : It seems that since i've upgraded my app on T5.0.13, an event like the one below doesn't refresh the page anymore : Object onSuccessFromMyForm() { ... retur

T5.0.13 : Form submit not refreshing page anymore

2008-06-12 Thread Stephane Decleire
It seems that since i've upgraded my app on T5.0.13, an event like the one below doesn't refresh the page anymore : Object onSuccessFromMyForm() { ... return this; } Any clue ? Stephane

T5: initial Grid sort column

2008-06-11 Thread Stephane Decleire
Hi, How can i initialize a grid to be displayed with a descending sort order on a column ? Thanks in advance. Stephane

Re: T5: onPrepare - how to diffrentiate the render phase from the process phase ?

2008-06-04 Thread Stephane Decleire
Thanks Thiago, didn't know those two events exist. Thiago H de Paula Figueiredo a écrit : On Wed, 04 Jun 2008 10:04:21 -0300, Stephane Decleire <[EMAIL PROTECTED]> wrote: How can we check in onPrepare if the function is called during the process of the form or during the render ph

T5: onPrepare - how to diffrentiate the render phase from the process phase ?

2008-06-04 Thread Stephane Decleire
How can we check in onPrepare if the function is called during the process of the form or during the render phase ? Stephane

Re: T5: ETA for t5-acegi and t5-components to work with SNAPSHOT?

2008-05-30 Thread Stephane Decleire
In wich version ? 0.5.12-SNAPSHOT ? on the usual repository ? Stephane Sven Homburg a écrit : t5components SNAPSHOT reflects the package renaming 2008/5/28 Franz Amador-2 <[EMAIL PROTECTED]>: Unsurprisingly, due to the package-name changes, t5-acegi and t5-components no longer work with t

Re: 答复: About tapestry5 and spring-aceg i

2008-05-29 Thread Stephane Decleire
ing tapestry-acegi,but I > think spring have the good documents and reference.So I hope I can use > spring-acegi. > > -邮件原件- > 发件人: Stephane Decleire [mailto:[EMAIL PROTECTED] > 发送时间: 2008年5月29日 16:03 > 收件人: Tapestry users > 主题: Re: About tapestry5 and spring-ace

Re: About tapestry5 and spring-acegi

2008-05-29 Thread Stephane Decleire
Why don't you have a look at tapestry-acegi ? (http://www.localhost.nu/java/tapestry5-acegi/) Stephane 滕训华 a écrit: > I want to integrate the spring and tapestry and spring-acegi. I have already > integrated the spring and tapestry or tapestry and spring-acegi,but how can > I integrate this three

Re: T5: Enum value in a context

2008-05-28 Thread Stephane Decleire
t myself in contexts. -Filip Stephane Decleire skrev: Is there a simple way to put an Enum value in the context of link in T5 ? In T4, i used to use ognl ... Stephane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

T5: zone frustration ...

2008-05-25 Thread Stephane Decleire
I'm really frustrated with tapestry zones, each time i try to use zones in something more complex than simply hide or show a block it doesn't work : - I can't put a zone in another one to build a more complex component (like dependant dropdown boxes). - I can't use a grid in a zone since the lin

Re: T5: Grid in a zone

2008-05-25 Thread Stephane Decleire
nents ? Stephane Filip S. Adamsen a écrit : Hi, If you're on Tapestry 5.0.12-SNAPSHOT you can set the inplace parameter on Grid to true to automatically wrap it in a zone. Does that solve your problem? -Filip Stephane Decleire skrev: I would like to use a grid component in a zone. So how can

Re: T5.0.12 : MappedConfiguration error in AppModule

2008-05-25 Thread Stephane Decleire
I've just found the problem. I had integrated tapestry-acegi which is not ported under 5.0.12 yet ... Stephane Decleire a écrit : Here is my complete stack trace : 12:57:12.140 INFO [main] org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)

Re: T5.0.12 : MappedConfiguration error in AppModule

2008-05-23 Thread Stephane Decleire
apestry5) is used has shown in the stack trace and the error message refers to the old tapestry package ... Stephane Filip S. Adamsen a écrit : That's weird. Have you changed the org.apache.tapestry:tapestry-annotations dependency to org.apache.tapestry:tapestry5-annotations? -Filip Step

Re: T5.0.12 : MappedConfiguration error in AppModule

2008-05-23 Thread Stephane Decleire
endency to org.apache.tapestry:tapestry5-annotations? -Filip Stephane Decleire skrev: I use Maven and i have forced a refresh of my repository but i get the same error ... Stephane Filip S. Adamsen a écrit : Hi, This is most likely due to classpath conflicts. Make absolutely sure that you

Re: T5.0.12 : MappedConfiguration error in AppModule

2008-05-23 Thread Stephane Decleire
p On 2008-05-23 00:54, Stephane Decleire wrote: Hi, I've just tried to move an application from T5.0.11 to 5.0.12-SNAPSHOT but get the following error at startup : Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/MappedConfiguration Looking a

Re: T5.0.12: java.lang.NoClassDefFoundError: org/apache/tapestry/contrib/services/ImageService

2008-05-23 Thread Stephane Decleire
Same error as mine but on another class ... Tobias Wehrum a écrit : Hi, when I switch to the current T5.0.12-SNAPSHOT, I get the following exception while starting: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tapestry/contrib/services/ImageService at java.lang.

T5.0.12 : MappedConfiguration error in AppModule

2008-05-22 Thread Stephane Decleire
Hi, I've just tried to move an application from T5.0.11 to 5.0.12-SNAPSHOT but get the following error at startup : Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/MappedConfiguration Looking at my AppModule class, i have : import org.apache.tapestry5.ioc

Re: T5: Acegi integration

2008-05-15 Thread Stephane Decleire
You were right : i had different versions of hibernate and hibernate annotations. Everything works fine now ... Thanks. Stephane Robin Helgelin a écrit : On Thu, May 15, 2008 at 5:54 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: I use tapestry and tapestry-hibernate 5.0.12-SN

Re: T5: Acegi integration

2008-05-15 Thread Stephane Decleire
I use tapestry and tapestry-hibernate 5.0.12-SNAPSHOT (but tried and get the same error with 5.0.11 and 5.0.10) and tapestry5-acegi 1.1.0-SNAPSHOT. Robin Helgelin a écrit : On Thu, May 15, 2008 at 4:02 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: I have just made the integrat

T5: Acegi integration

2008-05-15 Thread Stephane Decleire
I have just made the integration of Acegi in my T5 application but after each authentication attempt, i get the following error : Error invoking service builder method org.apache.tapestry.hibernate.HibernateModule.build(HibernateSessionSource, ThreadCleanupHub) (at HibernateModule.java:74) (fo

T5 : Is it possible to put a zone inside another zone ?

2008-05-13 Thread Stephane Decleire
Hi, I have a template wich look like this one : ... zone="clientZone">${client.name} zone="mailingZone">${mailing.title} ... and the associated code : public class Clients { @Inject@Service("mailingServices") priv

T5: Warning on grid reorder

2008-05-12 Thread Stephane Decleire
Hi all, Each time i reorder a grid by clicking on a column, i get the following warning : [WARN] ResourceCache Alias request of 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.columns:sort/description' for 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.colum

Re: T5 : session timeout

2008-04-12 Thread Stephane Decleire
ng to yours. Josh On Fri, Apr 11, 2008 at 2:57 AM, Stephane Decleire <[EMAIL PROTECTED]> wrote: I think that i did not explain very well the problem i encounter ... so i will try to explain it better (so hard in a foreign language ...) Suppose i have a page A which call a p

Re: T5 : session timeout

2008-04-12 Thread Stephane Decleire
x27;s lazy loading of ASO's does the rest. Make sure you DON'T put your base class in the "pages" package - create a new package, eg. "base". Hope this helps. Geoff http://files.doublenegative.com.au/jumpstart/ On 11/04/2008, at 7:57 PM, Stephane Decleire wrote:

Re: T5 : session timeout

2008-04-11 Thread Stephane Decleire
data if it becomes large, it gets expensive to carry around in a high volume application, so you loose scalability. Stephane Decleire wrote: Hi, I would like to know how do you handle session timeout with T5 or if there is a "design pattern" for this case. When a se

Re: How to know which sub component trigger an action and also be aware of the action parameters?

2008-04-10 Thread Stephane Decleire
If you want to handle your links in start.java, you could use eventlink instead of actionlink and give each link a different event ... Stephane dhning a écrit : Hi, One case: The page start.tml contains component ParentComponent, and template of ParentComponent contains two action links Lin

Re: T5 : Event bubbling

2008-04-10 Thread Stephane Decleire
Thanks Armand. Returning 'this' works great ! Stephane Francois Armand a écrit : Stephane Decleire wrote: correct behavior of event bubbling in T5 (i mean handlers which returns null values do not catch the event) ? If yes, what is the solution for an handler to both catch the

T5 : Event bubbling

2008-04-10 Thread Stephane Decleire
Hi, I have several components encompassed in each other : say A encompasses B which encompasses C. When someone trigger an eventlink in C, i try to catch the event in B in a handler like this one : @OnEvent (value="action") Object change() { // ... management of the action ...

T5 : session timeout

2008-04-08 Thread Stephane Decleire
Hi, I would like to know how do you handle session timeout with T5 or if there is a "design pattern" for this case. When a session timeout occurs, a lot of pages won't work because of a lack of data (for example, normaly setted before returning the page). So i need to write a piece of code in

Re: T5 : Strange exception ...

2008-04-08 Thread Stephane Decleire
ackage, such as com.mycompany.data. Anything under the components package is handled specially by Tapestry. On Tue, Apr 8, 2008 at 6:12 AM, Stephane Decleire <[EMAIL PROTECTED]> wrote: Sorry Ted but i don't see any non component in my component package ... Ted Steen a écrit :

Re: T5 : Strange exception ...

2008-04-08 Thread Stephane Decleire
st this is what I think. Maybe we could check this and show a more human readable error message? Hope it helps! /Ted 2008/4/8, Stephane Decleire <[EMAIL PROTECTED]>: Has anybody already get such a strange exception ? org.apache.tapestry.ioc.internal.util.T

T5 : Strange exception ...

2008-04-08 Thread Stephane Decleire
Has anybody already get such a strange exception ? org.apache.tapestry.ioc.internal.util.TapestryException : com.mycompany.components.accounts.ManagerStates cannot be cast to com.mycompany.components.accounts.ManagerStates ??? My ManagerStates class is an enum and here is the stack trace :

Re: Coercion error in grid

2008-04-08 Thread Stephane Decleire
trace (and the exact version of > Tapestry you are using) would be helpful.ß > > On Fri, Apr 4, 2008 at 3:06 AM, Stephane Decleire > <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > When i try to show a list of my objects in a grid, i get the following

  1   2   3   >