Try this project http://code.google.com/p/tapestry-validator/
cleverpig-2 wrote:
>
> hi,all!
>
> i got a trouble in hibernate @Length validator with Tapestry 5.1.
> i think it's a easy-meet problem for newbie(it's me).
>
> @Entity
> @Table(name="hello")
> public class Hello implements Serial
Hello, I use for this servlet filter.
public class IE8CompatibleFilter implements Filter {
@Override
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException
{
if (res
Hello!
I've found following workaround: use external spring context like in T5.0.
I add in web.xml
tapestry.use-external-spring-context
true
In beans I use it like:
If you want request scope in spring:
org.springframework.web.context.request.RequestContextListener
Define in applicatio
Sorry, I forgot
Tapestry version: 5.1.0.5
Browser: Firefox
Valentin Yerastov wrote:
>
> Hello users and developers!
>
> I have template:
>
> ${value}
> UPDATE
>
> And page class:
>
> @Persist
> private int value;
>
> @InjectComponent(&qu
Hello users and developers!
I have template:
${value}
UPDATE
And page class:
@Persist
private int value;
@InjectComponent("output")
private Zone output;
@Inject
private Request request;
public Object onActionFromUpdate() {
value++;
if (request.isXHR()) {
Thanks to all! It`s work!
Inge Solvoll wrote:
>
> This is possible, isn't it?
>
>
>
> @InjectComponent
> private Zone myZone;
>
> public String getCurrentZoneId() {
> return "somethingUnique";
> }
>
> myZone will be treated like a normal component id by tapestry, and makes
> it
> possibl
How can I generate dynamic ID for zone?
Can I use something like:
${comment.rating}
And if I do it, how can I inject it into my page?
Yury Luneff-2 wrote:
>
> i guess you should make different id's for all the zones you create
> dynamically.
>
>> Hello,
>
>> This is my simple example c