Re: Jack of All Trades Page

2013-10-17 Thread Lance Java
Hey Martin, you're lucky because I have a fair idea of what you're up to :). I think you want to write a custom binding so that your dynamic template can reference values from a map. I'm thinking you'll contribute a test: binding which can read and / or write to a map defined in your test case. Try

Jetty/Tappestry for different class locations?

2013-10-17 Thread Martin Kersten
Hi there, I was thinking about having two projects now and I have two class locations. Currently I dont have a softlink (linux) to join both in a single directory. I would like to not start fiddling with those. The problem is that I start an embedded jetty for tests (acceptance tests, integera

Jack of All Trades Page

2013-10-17 Thread Martin Kersten
I am currently continue to explore the test page capabilities. Now I need to think about being able to inject any property of any component under test using a generic page. So what I want is being able to pass all parameters of a component using html and providing those values via a Map (or someth

Re: Dynamic Loading of Templates

2013-10-17 Thread Martin Kersten
Well my english is not good enough :). And it would be a mixed blog because i dislike most of the way its implemented I always ask my self why tapestry is such overly complex and also lacks refactoring (in my opinion) I like the tapestry sources its above average but nothing more. And after reading

Re: StreamResponse an EventLink

2013-10-17 Thread Jaroslav Ciml
Hi, good point! That's it. isCommited() should return true after first flush() on output stream. (according to JavaDoc of javax.servlet.ServletResponse) Tapestry calls flush() on response output stream in TapestryInternalUtils.copy() to prevent this issue. However, there is a bug in SpringSec

An annoying little log

2013-10-17 Thread Nicolas Gillet
Hi list, Working with Tapestry 5.3.7 and Taptesty-spring-security 4.0.0 we have an annoying stack trace logged when a not-authenticated user tries to access a restricted page. In that use case an exception is thrown which is perfectly normal. ("org.springframework.security.access.AccessDeniedEx

Re: Dynamic Loading of Templates

2013-10-17 Thread Thiago H de Paula Figueiredo
On Thu, 17 Oct 2013 11:17:26 -0300, Martin Kersten wrote: I collect this stuff I do for blog posts. But I need to find a native english speaker with a tapestry background first :). Some of the best blog posts about Tapestry are written by Igor Drobiazko (http://blog.tapestry5.de, which is

Re: Dynamic Loading of Templates

2013-10-17 Thread Martin Kersten
Thats what I ment by stripping of the cache aspect completely. It all came down to this line :). I collect this stuff I do for blog posts. But I need to find a native english speaker with a tapestry background first :). 2013/10/17 Lance Java > It sounds like an interesting way to test. I'm gue

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-17 Thread Geoff Callender
If tapestry jar included bootstrap.less then perhaps it would then be easy to massage into columns like this: my.tml: my.less: @import "tapestry5/bootstrap_3_0_0/css/bootstrap.less"; .myform-3-6 { .form-horizontal; } .myform-3-6 .form-group .control-label {

Re: Dynamic Loading of Templates

2013-10-17 Thread Lance Java
It sounds like an interesting way to test. I'm guessing you can define your template directly in your test case rather than needing a separate file. If you were using groovy for testing this would be even nicer since you could use multi-line strings (via """). Or maybe you've come up with some cool

Re: Dynamic Loading of Templates

2013-10-17 Thread Martin Kersten
Lance it works. I can render any string given as a template. All I ever wanted. Same should be true for components also. Cheers, Martin (Kersten) 2013/10/15 Martin Kersten > I dont want to cache it actually I will dig into it today to see if this > becomes a problem. My Goal is to provide a

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-17 Thread Lance Java
Slightly off topic but this is where groovy excels. List ldapProfiles = ldapCache.findAllLDAPUsers(keyword) List names = ldapProfiles*.name

Re: T5.4 ajax select menu bug

2013-10-17 Thread Lance Java
I think the secure parameter should default to a symbol. And the default for the symbol should be false