testify and eagerload

2010-11-17 Thread Kalle Korhonen
Tried out testify and it seems it doesn't process @EagerLoad annotation. Does anybody know a way to prod the service to load if it doesn't have any public operations to invoke? Wonder if Testify is still being maintained (seems there's no release for T5.2 line) or if I should just create my own bas

Re: Upcoming Tapestry Training: Howard Lewis Ship and SkillsMatter

2010-11-17 Thread Christopher Dodunski
Hi Howard, I would be very interested in attending just such a course, however, I live in New Zealand. Do you have future plans of offering this same course down-under? Best regards, Chris Dodunski. - To unsubscribe, e-mail:

Re: start page vs index page

2010-11-17 Thread Robert Zeigler
https://issues.apache.org/jira/browse/TAPESTRY-2197 Robert On Nov 17, 2010, at 11/171:59 PM , Paul Stanton wrote: > Hi all, > > I'm looking for documentation regarding the start page being deprecated in > favour of the index page. > > Also, how are they handled differently? > > Regards, Paul

start page vs index page

2010-11-17 Thread Paul Stanton
Hi all, I'm looking for documentation regarding the start page being deprecated in favour of the index page. Also, how are they handled differently? Regards, Paul. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.

Re: Re: Re: setupRender not called for components

2010-11-17 Thread Howard Lewis Ship
I'm surprised this is not working. Also, you may have multiple methods for the @SetupRender phase, but there are complications: 1) Parent class methods are invoked before child class methods 2) Methods within the same class are invoked in an odd order (alphabetical, then by descending number of pa

Re: RE: RE: contribute mystery

2010-11-17 Thread nille hammer
Hi Jens, > Exception in thread "Timer-0" java.lang.NullPointerException I'm sorry I cannot say anything about your NullPointerExceptions. I have never had this problem, so I've got no idea where to look at. > I'm also facing Tomcats Permanent Generation constantly growing with each > re-deploy.

Re: tynamo tapestry-security help

2010-11-17 Thread Kalle Korhonen
Thanks Everton! With a high certainty, that's the root cause. Perhaps I'll just document this for now, wonder if T5.1.0.8 release will see the light of the day at some point. Kalle On Wed, Nov 17, 2010 at 8:32 AM, Everton Agner wrote: > You might be facing the TAP5-1018 Bug i've reported... > h

Re: tynamo tapestry-security help

2010-11-17 Thread Everton Agner
Btw, as a Workaround, you can make a ComponentRequestFilter that redirects to the Start page when the url root path ("/yourapp/") is requested. That would make it work. ___ Everton Agner Ramos 2010/11/17 Everton Agner > You might be facing the TAP5-1018 Bug i've reported...

Re: tynamo tapestry-security help

2010-11-17 Thread Everton Agner
You might be facing the TAP5-1018 Bug i've reported... https://issues.apache.org/jira/browse/TAP5-1018 ___ Everton Agner Ramos 2010/11/17 Kalle Korhonen > Wonder if Start is handled differently than Index - if you can, please > check and open (Tynamo) issue accordingly. > >

Re: tynamo tapestry-security help

2010-11-17 Thread Kalle Korhonen
Wonder if Start is handled differently than Index - if you can, please check and open (Tynamo) issue accordingly. Kalle On Wed, Nov 17, 2010 at 1:44 AM, Paul Stanton wrote: > Hi Kalle, > > I've just tried t-s 0.2.1 and the > org.apache.shiro.authz.annotation.RequiresAuthentication annotation. >

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
:) great ! :) On Wed, Nov 17, 2010 at 1:50 PM, Stephan Windmüller wrote: > On 17.11.2010 13:29, Juan E. Maya wrote: > >> Does ur component extend another one? > > Finally, this was the hint I needed. My component had an (obsolete) > inheritance from BeanDisplay which already had a setupRender met

Problem DateField in Windows

2010-11-17 Thread Pablo dos Reis
Hi guys, I have a problem with the componente DateField in only one computer. In November don't appear the first week in the calendar. I think it's a problem in some configuration in firefox or Windows, because the component works well in other computers. Does anyone have any idea what might b

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On 17.11.2010 13:29, Juan E. Maya wrote: > Does ur component extend another one? Finally, this was the hint I needed. My component had an (obsolete) inheritance from BeanDisplay which already had a setupRender method. After removing this, all works fine. Thank you both very much! - Stephan ---

Re: Re: Re: setupRender not called for components

2010-11-17 Thread nille hammer
Hi Stephan, sorry I did not realize that this was your workaround. To find a possible reason, I have experimented a bit changing return type, visibillity, parameter list of setupRender and even moved my component around different packages. I did not manage to setupRender not being called. Eithe

Re: Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
i guess we r missing something in ur code. Does ur component extend another one? do u have more than one setupRender in ur component (or parent classes)? could u post the component code? (please not pieces, it's hard to see the big picture) On Wed, Nov 17, 2010 at 1:01 PM, Stephan Windmüller wro

Re: Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On Wed, 17. Nov 2010, nille hammer wrote: > > | > > | > > | public boolean isSetupRender() { > > | // Do stuff > > | return false; > > | } > I don't know whether this will solve your problem, but you don't need > to put in an extra t:if to prevent your component from rendering. I > sugge

Re: XML requests

2010-11-17 Thread niksami
OK, I added JDOM to Maven, and when I tried this code I got following error: org.apache.tapestry5.ioc.internal.OperationException org.jdom.JDOMException: Error on line -1: Premature end of file. pointing to this line of code: Document xmlRequest = builder.build(inputStream); As I sad earlier I

Re: XML requests

2010-11-17 Thread niksami
Thanks, next time I'll ask Google before asking a dumb question :) - Niksa Mijanovic Java developer, jr. www.fleka.me -- View this message in context: http://tapestry.1045711.n5.nabble.com/XML-requests-tp3265672p3268918.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: XML requests

2010-11-17 Thread Thiago H. de Paula Figueiredo
On Wed, 17 Nov 2010 09:11:18 -0200, niksami wrote: I've also tried your code, but I get problem that I can not find SAXBuilder as part of my Tapestry project... I'm using Tapestry 5.2... What can I do in that case? :) It's part of JDOM, which isn't included automatically by Maven when you

Re: XML requests

2010-11-17 Thread niksami
I've also tried your code, but I get problem that I can not find SAXBuilder as part of my Tapestry project... I'm using Tapestry 5.2... What can I do in that case? :) Joost Schouten (mailing lists) wrote: > > More common is to deal with xml requests though a POST. In that case > you can do s

Re: Re: setupRender not called for components

2010-11-17 Thread nille hammer
Hi Stephan, > | > | > | public boolean isSetupRender() { > | // Do stuff > | return false; > | } I don't know whether this will solve your problem, but you don't need to put in an extra t:if to prevent your component from rendering. I suggest doing the checks in setupRender and return

Re: XML requests

2010-11-17 Thread niksami
Thanks, but this is the simplest thing that worked for me (thanks to Thiago): Test page for submitting XML contains only form with textarea (with no Java code on the back): http://mypath/testXml";> Then on other page I have this (in the Java code of the page, the tml is empty

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On Wed, 17. Nov 2010, Juan E. Maya wrote: > Stephan, r u sure the component is being render at all? Yes, of course. Currently I am using a construct like | | | public boolean isSetupRender() { | // Do stuff | return false; | } at the beginning of my component for this. Everything else

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
Stephan, r u sure the component is being render at all? could please post the code where u use the component? On Wed, Nov 17, 2010 at 10:34 AM, Stephan Windmüller wrote: > On 17.11.2010 10:29, niksami wrote: > >> That's strange... > > Yep. :) > >> TML code inside t:container, > > Container is a d

Re: XML requests

2010-11-17 Thread Joost Schouten (ml)
More common is to deal with xml requests though a POST. In that case you can do something like below. Cheers, Joost @Inject private RequestGlobals requestGlobals; @OnEvent(value = EventConstants.ACTIVATE) private Object activate() throws Exception { HttpServletRequest httpServletReq

Re: tynamo tapestry-security help

2010-11-17 Thread Paul Stanton
Hi Kalle, I've just tried t-s 0.2.1 and the org.apache.shiro.authz.annotation.RequiresAuthentication annotation. package zzz.pages; @RequiresAuthentication public class Start {} The same problem occurs. http://host/app/start - correctly directs to the login page http://host/app/ - incorrectl

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On 17.11.2010 10:29, niksami wrote: > That's strange... Yep. :) > TML code inside t:container, Container is a div: http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> > called into the page with t:yourComponentName Yes. Regards Stephan -

Re: setupRender not called for components

2010-11-17 Thread niksami
That's strange... Did you do everything else what component needs to work? TML code inside t:container, called into the page with t:yourComponentName etc? -- View this message in context: http://tapestry.1045711.n5.nabble.com/setupRender-not-called-for-components-tp3268695p3268748.html Sent from

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On 17.11.2010 10:09, niksami wrote: > Components can have only one setupRender(), for initalisation of variables, > etc. Try to have only one setupRender(), and of course you don't have > onActivate() inside the component. There is only one setupRender()-method in my component and no onActivate.

Re: setupRender not called for components

2010-11-17 Thread niksami
Components can have only one setupRender(), for initalisation of variables, etc. Try to have only one setupRender(), and of course you don't have onActivate() inside the component. -- View this message in context: http://tapestry.1045711.n5.nabble.com/setupRender-not-called-for-components-tp3268

setupRender not called for components

2010-11-17 Thread Stephan Windmüller
Hi! The documentation states that each component may have a setupRender method: http://tapestry.apache.org/tapestry5.1/guide/rendering.html This works for pages, but the methods of my components are not called, even when I name them setupRender() _and_ annotate them with @SetupRender. What am I

RE: Upcoming Tapestry Training: Howard Lewis Ship and SkillsMatter

2010-11-17 Thread Newham, Cameron
I attended the last Tapestry course in London and it was excellent. I recommend it to anyone using Tapestry. c. -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 16 November 2010 21:34 To: Tapestry users Subject: Upcoming Tapestry Training: Howard Lewis Ship and

Re: How return pre-filled beanEditForm in zone update

2010-11-17 Thread Николай Улога
Thanks a lot Thiago! 2010/11/16 Thiago H. de Paula Figueiredo > On Tue, 16 Nov 2010 15:58:03 -0200, Николай Улога > wrote: > > Dear Tapestry users, >> > > Hi! > > > in my experiments with Tapestry 5 i'd like to return a beanEditForm in the >> zone which update is being triggered by actionLin