Re: from T5.0.11 to T5.0.6

2008-04-07 Thread Natia Gdzelishvili
and why do i need to change file extentions, I'm reading "Tapestry 5 Building Web Applications" book and there template files have .tml extentions. any way i have changed but it doesn't work On Tue, Apr 8, 2008 at 10:52 AM, Natia Gdzelishvili <[EMAIL PROTECTED]> wrote: > I am not happy to doing t

Re: from T5.0.11 to T5.0.6

2008-04-07 Thread Natia Gdzelishvili
I am not happy to doing this but, in new version i faced some problems and i cant solve them. On Tue, Apr 8, 2008 at 10:42 AM, Chris Lewis <[EMAIL PROTECTED]> wrote: > I won't bother asking why you're doing that, and advise you to NOT do > it. There are many changes from 5.0.6 to 5.0.11 - many. I

Re: from T5.0.11 to T5.0.6

2008-04-07 Thread Chris Lewis
I won't bother asking why you're doing that, and advise you to NOT do it. There are many changes from 5.0.6 to 5.0.11 - many. I'd guess that issue is caused by the template file name extension change (from .html to .tml). So in your case you'll have to rename all of your .tml files to .html. There

答复: from T5.0.11 to T5.0.6

2008-04-07 Thread 滕训华
Because 5.0.6 need the template files are under the context path,but 5.0.11 need the files are under the root -邮件原件- 发件人: Natia Gdzelishvili [mailto:[EMAIL PROTECTED] 发送时间: 2008年4月8日 14:34 收件人: Tapestry users 主题: from T5.0.11 to T5.0.6 I change my application from tapestry 5.0.11 version

from T5.0.11 to T5.0.6

2008-04-07 Thread Natia Gdzelishvili
I change my application from tapestry 5.0.11 version to 5.0.6 and I'm getting : java.lang.RuntimeException Page Start did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering. what is wr

答复: How to redirect in component

2008-04-07 Thread 滕训华
Yes,do this in dispatcher is the right way,I have been successful in this way according the articles of the wiki.thanks Angelo. -邮件原件- 发件人: Angelo Chen [mailto:[EMAIL PROTECTED] 发送时间: 2008年4月8日 7:14 收件人: users@tapestry.apache.org 主题: Re: How to redirect in component Hi Francois, You ar

Re: tapestry hibernate breakage in Apr 6 5.0.12-SNAPSHOT

2008-04-07 Thread Julian Wood
Thanks Angelo, that was exactly it. J On Apr 6, 2008, at 9:59 PM, Angelo Chen wrote: Hi Julian, I've seen https://issues.apache.org/jira/browse/TAPESTRY-2247 closed, is it the reason for ur code not to work? Julian Wood wrote: The latest snapshot changed something with tapestry-ioc or

Re: How to redirect in component

2008-04-07 Thread Angelo Chen
Hi Francois, You are correct, onActivate never got fired even in a layout component, seems the only way to redirect a page should be in the Dispatcher. Angelo Francois Armand wrote: > > Angelo Chen wrote: >> hi, >> >> maybe you can do this in onActivate, >> >> > I thought that onActivate w

Re: T5: NoClassDefFoundError while upgrading to 5.0.10

2008-04-07 Thread Howard Lewis Ship
This *universally* turns out to be people leaving old versions of the Tapestry JARs on the classpath. On Mon, Apr 7, 2008 at 12:16 PM, Jonathan Barker <[EMAIL PROTECTED]> wrote: > Just to confirm... you have your template files in: > > src/main/resources/com/abc/aroer/components ? That should be

Re: T5: AJAX Zone updating doesn't work correctly in IE

2008-04-07 Thread José Paumard
Andy, I already pointed out this problem, that doesnt seem to be browser related, but merely due to T5 conception. Basically Howard answered that on a div refresh, the id of the refreshed elements nested in that div are changed by T5 : a timestamp based code is added, making them unique among

RE: T5: NoClassDefFoundError while upgrading to 5.0.10

2008-04-07 Thread Jonathan Barker
Just to confirm... you have your template files in: src/main/resources/com/abc/aroer/components ? That should be correct. BTW, you should jump to 5.0.11. It's the official "Beta". > -Original Message- > From: Britske [mailto:[EMAIL PROTECTED] > Sent: Monday, April 07, 2008 2:27 PM > T

T5: NoClassDefFoundError while upgrading to 5.0.10

2008-04-07 Thread Britske
Hi, due to severe problems with my ide I decided to try and create a new tapestry project from scratch using the maven quickstart archetype. I copy pasted classed in and everything (hibernate, spring, services, etc) works except that I keep getting the following error: Processing of request fa

Re: session-less forms

2008-04-07 Thread Robert Zeigler
On Apr 7, 2008, at 4/712:53 PM , Fernando Padilla wrote: so.. the "client" strategy stores it in a cookie? Client strategy stores it in the url. Not sure how that would play out for myspace, etc. Robert Yeah, I don't really have access to those either :) ps - This is for integration with

Re: session-less forms

2008-04-07 Thread Fernando Padilla
so.. the "client" strategy stores it in a cookie? Yeah, I don't really have access to those either :) ps - This is for integration with GoogleGadgets/OpenSocial/MySpace/Hi5. So it's basically a portlet hosted on a different site. And the requests to my server are being proxied by MySpace/Hi5

Re: session-less forms

2008-04-07 Thread Howard Lewis Ship
The approach I would take would be to configure the Form to store its persistent fields on the client, rather than in the Session. On your PAGE, you can add a @Meta annotation for this: @Meta("tapestry.persistence-strategy=client") public class MyPage { ... This sets the default persistence stra

T5: AJAX Zone updating doesn't work correctly in IE

2008-04-07 Thread Andy Blower
Rather than explain (probably badly) exactly what the problem is, I'll provide a small example page called BasicAJAX. This page demonstrates that if an actionlink that causes a zone refresh via AJAX is part of the refreshed zone itself, it only works on alternate clicks in IE. Each time it's rende

Re: T5: TransformationException

2008-04-07 Thread Peter Stavrinides
Hi Andy, If you open the properties page for your project in eclipse and select project facets, you can change the Java version to 5, and the errors you are having will go away. We have a JDK 6 requirement as well, so have been working with Tapestry and JDK 6 for quite some time now, and it is

Re: How to redirect in component

2008-04-07 Thread Francois Armand
Angelo Chen wrote: hi, maybe you can do this in onActivate, I thought that onActivate was reserved for pages, and that component didn't have it ? (at least, onActivate is never called in my components objects) If it isn't the case and onActivate is allowed in components, how can I use it

Re: T5 Tapestry.onDOMLoaded internet explorer 7

2008-04-07 Thread Riccardo Ruffilli
Hi Josh, thanks again for your answer. Unfortunatly I don't see any kind of js error. I've noticed this strange things that may be you can clarify to me, if I save the page in a static way, and then I reload it the js should be loaded correctly. The same things seems to be if I load the page from

Re: T5 Tapestry.onDOMLoaded internet explorer 7

2008-04-07 Thread Riccardo Ruffilli
Hi Josh, thanks again for your answer. Unfortunatly I don't see any kind of js error. I've noticed this strange things that may be you can clarify to me, if I save the page in a static way, and then I reload it the js should be loaded correctly. The same things seems to be if I load the page from

Re: T5 Tapestry.onDOMLoaded internet explorer 7

2008-04-07 Thread Riccardo Ruffilli
Hi Josh, thanks again for your answer. Unfortunatly I don't see any kind of js error. I've noticed this strange things that may be you can clarify to me, if I save the page in a static way, and then I reload it the js should be loaded correctly. The same things seems to be if I load the page from

Re: T5: TransformationException

2008-04-07 Thread Andy Blower
I just ran into this issue myself, and switching to a 1.5 jre fixed it. (although now I get a "Java compiler level does not match the version of the installed Java project facet." error reported by Eclipse... which means nothing to me) I thought that reporting what was causing the problem may hel

Access ASO / ASM directly

2008-04-07 Thread mailinglist
Hi all! I am using ACEGI and the T5 integration which works well. To simplify the code I tried to store the "user" in the application state object which allows all pages access to this object just by the @Inject annotation. Unfortunately when retrieving the user from the DB and trying to save t

[T5:] extend input components for tooltips

2008-04-07 Thread ice96
Hello, I have greate idea to create nice toolTips (hints) for input which get "hint-"+ _resources.getId(). This part is working, now I want to find way how to extend components like textfield and add onBlur method call to toolTip. Anyone could help me? Source of my tooltip component: package

T5.0.11 beanEditForm

2008-04-07 Thread Natia Gdzelishvili
I am using beanedit form, i have a simple code AddCelebrity.tml AddCelebrity.java public class AddCelebrity { @Persist private Celebrity celebrity; public Celebrity getCelebrity() { return celebrity; } public void setCelebrity(Celebrity celebrity) { this.ce

Re: session-less forms

2008-04-07 Thread Peter Stavrinides
If I understand correctly you need to pass data completely independent of session state... then your options are hidden form fields, and or URL parameters. Of course then you would have to reinitialize your properties manually after posting, which is not such big a deal! Fernando Padilla wrote

Re: is there tapestry 5 component for htmlarea?

2008-04-07 Thread Angelo Chen
if u meant something like textarea, then seems none, if just for display a html data, outputraw is the one. Ahmad Maimunif wrote: > > where can i find it? > > thx > > > - > Bergabunglah dengan orang-orang yang berwawasan, di bidang Anda di Yahoo! > Answe

Re: 答复: is there tapestry 5 component f or htmlarea?

2008-04-07 Thread Gabriel Landais
滕训华 a écrit : > You can find from http://code.google.com/p/tapestry5-components/ ,but I can > not find the document this,so I don't know how to use it > Other there : -- Gabriel <[EM