T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Alex Kotchnev
Is anyone successfully using spring 2.5 w/ the tapestry-spring module ? The module main page talks about it being tested against 1.2.8. Cheers, Alex K

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Martijn Brinkers
Yes I am using Spring 2.5 with the Tapestry Spring module Martijn Brinkers On Fri, 2008-08-29 at 03:15 -0400, Alex Kotchnev wrote: > Is anyone successfully using spring 2.5 w/ the tapestry-spring module ? The > module main page talks about it being tested against 1.2.8. > > Cheers, > > Alex K

Re: T4.1 Property Selection component

2008-08-29 Thread Mohammad Irfan
On my POJO model, the equals method is like this: public boolean equals(Object obj) { if (this == obj) return true; // if (!super.equals(obj)) // return false; if (getClass() != obj.getClass())

T5: Remove "value" parameter on Select component

2008-08-29 Thread Inge Solvoll
Hi! I'm creating a mixin that hooks on to the onchange event of a Select and AJAX-submits the value. Other types of Select-boxes that has an onchange event without having an interesting value to submit is a common pattern in my application. For example a select that opens a popup window. I've see

Re: Tapestry working with other Servlets

2008-08-29 Thread agus winarno
Hi, Can the servlet get object in session from tapestry 4? I try to get it, but can't. Looks like HttpSession in servlet is different from HttpSession in tapestry4. Thanks... Agus Winarno Norman Franke wrote: > > Those links are for Tapestry 5. I use multiple servlets in a single > applicati

Re: Tapestry working with other Servlets

2008-08-29 Thread Mohammad Irfan
Hi Agus, are you from Indonesia? me too. Btw, if you want to use the servlet object in tapestry 4 you can add this property in the .page file of the page: And in your java page model you could add this abstract method: public abstract HttpServletRequest getRequest(); public abstract HttpServ

Re: 5.0.15-SNAPSHOT: something wrong with it?

2008-08-29 Thread Andy Pahne
You are right. The 5.0.14 jars were pulled in by a component library. After fixing this, everything works fine. Thanks for the suggestion. Howard Lewis Ship schrieb: Odd, I can't think of a change that would account for that kind of instability. There's no chance that both 5.0.14 and 5.0.15

RE: Event handlers with multiple parameters

2008-08-29 Thread Blower, Andy
Thanks for the reply Thiago, I missed EventContext in the docs. Looks to me like using EventContext to parse the context params myself is the best solution here. Unless anyone can suggest a better way? Thanks, Andy > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:[EMA

Re: [ANN] Tapestry5-Cayenne Integration Module 0.1

2008-08-29 Thread Massimo Lusetti
On Thu, Aug 28, 2008 at 6:53 PM, Kevin Menard <[EMAIL PROTECTED]> wrote: > Hi all, > > I'd like to announce the first release of a Tapestry5-Cayenne > integration module that Robert Zeigler and I have been working on. > The goal of this module is to provide seemless integration of the > Cayenne OR

Re: T5.0.14 - OnActivate problem and coercion error

2008-08-29 Thread Szemere Szemere
This is a classic problem. The path to your assets is shifted by one level because of the parameter you are passing. Not sure of the fix for your specific case, but if you referenced an asset like this in a .tml, you would use href="${asset:context:org/atlog/mjweb/components/xfade2.css}" HTH, Sz

[RESOLVED] Re: T5.0.14 - OnActivate problem and coercion error

2008-08-29 Thread TNO
I resolve the problem !!! But, in my case, it is not a classic problem ! Because my problem come from javascript code : In an onload fonction, I found this code : // http://slayeroffice.com/code/imageCrossFade/xfade2.css //css = d.createElement("link"); //css.setAttribute("href","xfade

T5: onActivate exception query

2008-08-29 Thread photos
I don't quite understand why the following does not work and produces: TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Exception in method uk.bl.dportal.pages.EditUser.onActivate(int) (at EditUser.java:40), parameter #1: Coercion of bl_red_hundre

Re: T5: onActivate exception query

2008-08-29 Thread Martijn Brinkers
I think the following happens The gif is requested by your page because of the IMG so the GET for the IMG looks something like http://YOUR_DOMAIN/YOUR_PAGE/bl_red_hundred.gif Now you page assumes this is your activation context and tries to convert it to int (which it's not). I think you can so

Page pool hard limit and page instance usage

2008-08-29 Thread 9902468
Hi, we are experiencing strange hard pool limit reached exceptions. (For the user count that we have.) After debugging a little, it seems that our left menu component, which is full of page links, instantiates not only the page that we are at, but also the ones that are referenced in page link.

Re: T5: onActivate exception query

2008-08-29 Thread photos
Thanks for the fast reply Martijn; that fixed the GIF asset. However, I am still having problems with the Cancel button. I can reference the Administration page as an asset, but obviously it then does not get processed by Tapestry. Thoughts, anyone? p. Quoting Martijn Brinkers <[EMAI

Re: T5: onActivate exception query

2008-08-29 Thread Thiago H. de Paula Figueiredo
Em Fri, 29 Aug 2008 07:23:48 -0300, <[EMAIL PROTECTED]> escreveu: Something that works wonderfully with any kind of resource (imagens, CSS, etc) is to use the asset prefix: alt="bl" /> It works regardless of where your template is and what URL it has. Thiago --

Re: Tapestry working with other Servlets

2008-08-29 Thread agus winarno
Yup, I from Indonesia. I think u are miss understanding. What I mean is this servlet is extend ApplicationServlet and this servlet want to get session from tapestry page. :) Thank you... Agus Winarno Mohammad Irfan wrote: > > Hi Agus, are you from Indonesia? me too. > > Btw, if you want to

[T5]: using a mixin on a form prevents correct submission

2008-08-29 Thread Andy Pahne
I have a very simple page which uses a form to update one page property and a zone. Sourcecode and template see below. It works as expected, the page property and the zone is updated as intended. But whenever I use a the FormLayoutMixin on the form, "somePageProperty" won't be updated anymor

Tapestry group in LinkedIn

2008-08-29 Thread Thiago H. de Paula Figueiredo
I've created a Tapestry group in LinkedIn and everyone is invited to join. :) http://www.linkedin.com/groups?home=&gid=133965 Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: [T5]: using a mixin on a form prevents correct submission

2008-08-29 Thread Andy Pahne
The same happens if I wrap another component around the form. In this example "t5c/ContentBox" is nothing more than a component wrapping a table around it's body and including some CSS. "somePageProperty" will not be updated with the ContentBox component. ...

Re: [T5]: using a mixin on a form prevents correct submission

2008-08-29 Thread Andy Pahne
some ,ore testing revealed that BeanEditForm works very well with the FormLayoutMixin, but Form does not. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

howto change/remove a persistence from AjaxFormLoop

2008-08-29 Thread Sven Homburg
hi there, i have a page to edit an entity. this entity contains a list of childs connected via OneToMany. the page contains a component and that component (named ActionsLoop) contains an AjaxFormLoop component for edit/add/delete the child entities. the ActionsLoop component has a parameter:

Re: [ANN] Tapestry5-Cayenne Integration Module 0.1

2008-08-29 Thread Kevin Menard
> That's really nice... do you think to merge it with apache svn repo in > a near future? > > -- > Massimo > http://meridio.blogspot.com I think it's something we're open to. We've definitely planned for that possibility. The code is ASLv2, all dependencies are ASL-compatible, there have only be

Re: T5: onActivate exception query

2008-08-29 Thread Martijn Brinkers
I'm not sure but I thinks it's a similar problem. It looks like Administration is interpreted as the context. If you want to cancel the page it's easier to use the t5Component Button component. Add t5Component jar to you project (see http://code.google.com/p/tapestry5-components/) and add this to

Re: T5: onActivate exception query

2008-08-29 Thread photos
Hi, I was just about to reply and say I solved it. Missing slash in the location.href. The following works: onclick="location.href='/Administration';"/> thanks for your help. p. Quoting Martijn Brinkers <[EMAIL PROTECTED]>: I'm not sure but I thinks it's a similar problem. It looks l

Re: T5: onActivate exception query

2008-08-29 Thread Sven Homburg
i think that solution is a bit "dangerous", if you do some refectorings. eg: move the page Administration in another package or the application context is changed 2008/8/29 <[EMAIL PROTECTED]> > Hi, > > I was just about to reply and say I solved it. Missing slash in the > location.href. The fol

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Toby Hobson
me too Toby 2008/8/29 Martijn Brinkers <[EMAIL PROTECTED]> > Yes I am using Spring 2.5 with the Tapestry Spring module > > Martijn Brinkers > > On Fri, 2008-08-29 at 03:15 -0400, Alex Kotchnev wrote: > > Is anyone successfully using spring 2.5 w/ the tapestry-spring module ? > The > > module mai

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Timothy Sweetser
Thirded--my most recent app is pretty heavily integrated with Spring 2.5, without much trouble. Tim On Fri, Aug 29, 2008 at 12:49 PM, Toby Hobson <[EMAIL PROTECTED]> wrote: > me too > > Toby > > 2008/8/29 Martijn Brinkers <[EMAIL PROTECTED]> > >> Yes I am using Spring 2.5 with the Tapestry Spring

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Mohammad Shamsi
Martin, take a look at PHB here : http://code.google.com/p/shams that is another sample of integrating Tapestry with Spring 2.0.5 On Sat, Aug 30, 2008 at 1:26 AM, Timothy Sweetser < [EMAIL PROTECTED]> wrote: > Thirded--my most recent app is pretty heavily integrated with Spring > 2.5, without

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Mohammad Shamsi
sorry, the spring version is 2.5, On Sat, Aug 30, 2008 at 1:32 AM, Mohammad Shamsi <[EMAIL PROTECTED]>wrote: > Martin, take a look at PHB here : http://code.google.com/p/shams > that is another sample of integrating Tapestry with Spring 2.0.5 > > > > > On Sat, Aug 30, 2008 at 1:26 AM, Timothy Sw

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Martijn Brinkers
That's not to say that I prefer Spring over tapestry IOC but I needed Spring security support. For example lazy initialization of services is more powerful and versatile with Tapestry IOC than with Spring. Martijn On Fri, 2008-08-29 at 09:21 +0200, Martijn Brinkers wrote: > Yes I am using Spring

Re: Page pool hard limit and page instance usage

2008-08-29 Thread Howard Lewis Ship
Tapestry is obtaining page instances to see if there is an activation context for the page. I expect to optimize this in the future, to check to see if the page has an event handler for the passivate event. In the meantime, you could build your own PageLink component that generates the link by in

T5: Contributing to web.xml and web app context from module

2008-08-29 Thread Alex Kotchnev
In Grails a plugin has the ability to contribute something into the spring context, as well as the web.xml and the web application context. This allows plugins to be very independent in adding needed functionality. For example, when a plugin is installed into Grails, it can add a number of controll

Re: T4.1.5 possible ognl cache problem

2008-08-29 Thread Kalle Korhonen
Jesse, could you comment on this? I haven't tried profiling my apps, but the repeated calls to Ognl.compileExpression are worrisome if Denis got his numbers right. Are there any ognl-related changes in 4.1.6? Denis, maybe you could repeat your profiling with the latest snapshot, so hopefully someth

Re: Multiple file upload

2008-08-29 Thread Imants Firsts
If you don't mind introducing the dependency to a flash component, then look at this: http://www.swfupload.org/ I have successfully created a tapestry component using SWFUpload, which supports multiple file upload and degrades to default single file upload if Flash is not present. Quoting Thi