Re: [T5.1.0.2] / [T5.1.0.3] BlackBird Info Logging

2009-04-21 Thread Howard Lewis Ship
On Tue, Apr 14, 2009 at 7:34 PM, Steve Eynon wrote: > Hiya, > > The Tapestry js object has debug, warn and error logging methods to > BlackBird but no info logging. Is this due to design because the > logging methods are only supposed to be used by Tapestry internal > components (and hence not yet

Re: Error while launching Login page

2009-04-21 Thread Borut Bolčina
Hi, did you have a look at http://www.localhost.nu/java/tapestry-spring-security/? There is also a sample application to download at http://www.localhost.nu/svn/public/tapestry-spring-security-sample/ HTH, Borut 2009/4/21 ChandraB : > > > I am a newbie to tapestry, i am getting NullPointerExcep

Re: Error while launching Login page

2009-04-21 Thread ChandraB
I am a newbie to tapestry, i am getting NullPointerException when i access authManager. How do i inject AuthManager? Chandra ChandraB wrote: > > Service id 'authenticationProvider' is not defined by any module > > > My appModule.java is as below > > public class AppModule > { > publi

Error while launching Login page

2009-04-21 Thread ChandraB
Service id 'authenticationProvider' is not defined by any module My appModule.java is as below public class AppModule { public static void bind(ServiceBinder binder) { binder.bind(com.eveo.edetail.reporting.service.UserDetailsService.class, UserDetailsServiceImpl.class).wi

Re: [Announce] Tapestry XPath project

2009-04-21 Thread Thiago H. de Paula Figueiredo
Em Tue, 21 Apr 2009 17:07:46 -0300, Paul Field escreveu: I'd like to announce that the Tapestry XPath project is now available as a Snapshot release at Tapestry 360: https://tapestry.formos.com/nightly/tapestry-xpath/ Tapestry XPath allows you to use XPath expressions to query the Tapestry

[Announce] Tapestry XPath project

2009-04-21 Thread Paul Field
I'd like to announce that the Tapestry XPath project is now available as a Snapshot release at Tapestry 360: https://tapestry.formos.com/nightly/tapestry-xpath/ Tapestry XPath allows you to use XPath expressions to query the Tapestry DOM, which is a particularly useful thing to do in tests of com

Re: [tap-ioc] passing a set of autobuild types to bind()

2009-04-21 Thread manuel aldana
OK, here an example: A User is encapsulating password details. It gets a plain-text as input is taking security actions internally. Because I want to extract security implementation details (encryption/hashing) from the domain model I want to end up with an injectable security instance. Still

Re: [T5] SSL Problem with IE6 and Blackbird

2009-04-21 Thread Howard Lewis Ship
On Tue, Apr 21, 2009 at 10:55 AM, Felix Gonschorek wrote: > Hi, > > i am encountering problem with an SSL enabled T5 Application under > Internetexplorer 6 (various versions). > > On every page load under SSL, IE6 announces that the page is secure, but > contains insecure items. I checked our comp

[T5] SSL Problem with IE6 and Blackbird

2009-04-21 Thread Felix Gonschorek
Hi, i am encountering problem with an SSL enabled T5 Application under Internetexplorer 6 (various versions). On every page load under SSL, IE6 announces that the page is secure, but contains insecure items. I checked our complete source code for references to insecure content, without succe

Re: FormInjector component example

2009-04-21 Thread Robert Zeigler
AjaxFormLoop uses this component. Robert On Apr 21, 2009, at 4/218:33 AM , Hugo Palma wrote: Is there any usage example out there ? I'm trying to figure out if the component fits my use case but i can't quite understand how it works. Thanks. -

TapestryKeyedObjectPool exhausted and throws IllegalMonitorStateException

2009-04-21 Thread Ben Hall
Versions: Tapestry 4.1.6 Java 1.5.0_17 While following the performance tuning tips (http://tapestry.apache.org/tapestry4.1/developmentguide/performancetuning.html), I set the following values that control the pool sizes: org.apache.tapestry.page-pool-max-active=30 org.apache.tapestry.page-pool

Re: Parameter publishing and informal parameters

2009-04-21 Thread Howard Lewis Ship
The @Component.inheritInformalParameter annotation attribute allows all informal parameters of an outer component to be connected to a contained component. On Tue, Apr 21, 2009 at 3:48 AM, Blower, Andy wrote: > I've just been simplifying one of our components using parameter publishing, > and I

Re: [tap-ioc] point of injection

2009-04-21 Thread Christian Edward Gruber
On 21-Apr-09, at 07:02 , manuel aldana wrote: Christian Edward Gruber wrote: On 20-Apr-09, at 19:39 , Thiago H. de Paula Figueiredo wrote: Now I get it. Thanks Christian! All you said, to me, is one more reason to not inject services in domain objects . . . :) Yeah - that's such an anti-

Re: [tap-ioc] passing a set of autobuild types to bind()

2009-04-21 Thread Christian Edward Gruber
Oh, sorry - ServiceBinder... I was thinking you were injecting a service lookup object into your model - I was clearly too brain-dead and didn't read it properly. So, you're binding services in modules and injecting them with @Inject - that's fine, so far. But I don't understand, then, how

FormInjector component example

2009-04-21 Thread Hugo Palma
Is there any usage example out there ? I'm trying to figure out if the component fits my use case but i can't quite understand how it works. Thanks.

Re: relationship between the entities (database tables) in tapestry 5

2009-04-21 Thread kk4Nabble
Thanks a lot for the reply.:-) Otho wrote: > > This is hibernate/jpa specific and has nothing to do with Tapestry. So > yes, > it should work if it did before. > > 2009/4/21 kk4Nabble > >> >> Hi all, >> >> If we wanted to have one to one relationship to other entity, in >> tapestry >> 4 >>

Re: relationship between the entities (database tables) in tapestry 5

2009-04-21 Thread Otho
This is hibernate/jpa specific and has nothing to do with Tapestry. So yes, it should work if it did before. 2009/4/21 kk4Nabble > > Hi all, > > If we wanted to have one to one relationship to other entity, in tapestry > 4 > we used to do in following way. > > @OneToOne(cascade = CascadeType.RE

Re: relationship between the entities (database tables) in tapestry 5

2009-04-21 Thread Ulrich Stärk
This has nothing to do with Tapestry, it's a matter of your object/relational mapper. Uli Am 21.04.2009 13:20 schrieb kk4Nabble: Hi all, If we wanted to have one to one relationship to other entity, in tapestry 4 we used to do in following way. @OneToOne(cascade = CascadeType.REFRESH, fetc

relationship between the entities (database tables) in tapestry 5

2009-04-21 Thread kk4Nabble
Hi all, If we wanted to have one to one relationship to other entity, in tapestry 4 we used to do in following way. @OneToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY) @JoinColumn(name = "detail_oid") public Detail getDetail() { return Detail;

Parameter publishing and informal parameters

2009-04-21 Thread Blower, Andy
I've just been simplifying one of our components using parameter publishing, and I just realised that informal parameters are not passed to the inner component (loop) to render on the element which is passed okay. (although we're not using inherit: or publishParameters for element, as it didn't

beaneditform

2009-04-21 Thread kk4Nabble
Hi all, Am learning tapestry 5. I did the tutorial in the link http://tapestry.apache.org/tapestry5/tutorial1/forms.html will give the built in stylesheet with yellow background etc If i want ti change the stylesheet and display of fields in this form, what should i do? In bean edit form if

Re: [tap-ioc] point of injection

2009-04-21 Thread manuel aldana
Thiago H. de Paula Figueiredo wrote: If applicable I try to inject services to domain-objects to add pluggable behaviour to them (so I don't end up with an anemic domain model). I disagree with adding services to domain objects. But please let's not start a discussion about it. This is not

Re: [tap-ioc] point of injection

2009-04-21 Thread manuel aldana
Christian Edward Gruber wrote: On 20-Apr-09, at 19:39 , Thiago H. de Paula Figueiredo wrote: I think he means value objects or domain models. You can't usefully have the container create an instance of Movie because movie is a data-carrying node. It's a bit like having the IoC container crea

Re: [tap-ioc] passing a set of autobuild types to bind()

2009-04-21 Thread manuel aldana
I don't see a problem here. I am having dependencies on interface level which should be fine. For testability I can just inject a test-implementation of this interface. I don't see a strong coupling to the container in my model (apart from the @Inject annotation). Christian Edward Gruber wrote