T5: Dynamically extending volatile list

2008-06-05 Thread grashopper
Hi, I'd like to implement a form to edit elements of a collection. The contained list is fetched onActivate of the submit request as well, so the loop is marked as volatile. The critical part, I'm not able to get to work, is where I add a new Element (virtually on client side) to the list. I do

Re: Zone component - Having a progress indicator.

2008-06-05 Thread Jun Tsai
2008/2/10 César Lesc <[EMAIL PROTECTED]>: > I think T5 is using prototype to make ajax calls, you can use the > Ajax.Resonders.register to register JS functions that monitor the Ajax > activity. > > César. > Thank you very much! > > -

T5 if component

2008-06-05 Thread maxthesecond
Is it possible to send parameters to the if component? I'm in a loop component and I would like to do something like this: ${node.name} ${node.name} And then in the java code: boolean Testj(int nod

Re: T5 if component

2008-06-05 Thread Filip S. Adamsen
Hi, This doesn't really concern the If component, but rather the framework itself. You cannot call methods with arguments through the prop: binding prefix, at least not yet. What you should do is to make sure the current value of the loop is bound to a page property that you can check in a p

Re: T5 if component

2008-06-05 Thread Marcelo Lotif
Hi, This is a known issue, there's a JIRA for it and it's marked to fix for the 5.1 version: https://issues.apache.org/jira/browse/TAPESTRY-1624 And i'm using the t5c library to do the ognl job: http://code.google.com/p/tapestry5-components/ http://87.193.218.134:8080/t5c-demo/ognlbindingpage

T5: need some help to resolve some strange Form/ValidationTracker behaviour

2008-06-05 Thread Kristian Marinkovic
hi, can somebody tell my why my simple page below displays my error message after i refresh my page? (CTRL-R or F5) first i submit the form and the error message gets displayed as expected. but when i refresh the page the error will still be displayed again. since 5.0.12-SNAPSHOT the Form compo

Re: T5 ajax zone changing

2008-06-05 Thread Janko Muzykant
Hi Markus, thanks for links, but this unfortunately does not solve the problem. i will try to highlight my case. commiting the form currenlty we have no possibility to select destination zone other when that one assigned in "form" element (eg. ), right? so how to refresh different zones depending

Re: T5 ajax zone changing

2008-06-05 Thread Thiago H de Paula Figueiredo
On Thu, 05 Jun 2008 11:18:53 -0300, Janko Muzykant <[EMAIL PROTECTED]> wrote: Hi Markus, thanks for links, but this unfortunately does not solve the problem. i will try to highlight my case. commiting the form currenlty we have no possibility to select destination zone other when that one a

Re: T5 if component

2008-06-05 Thread maxthesecond
Thanks Filip for your answer I did as you said and worked OK. Though, relaying on the state of the property makes me feel less confident...(tipical I don't see where the value comes from paranoia) -- View this message in context: http://www.nabble.com/T5-if-component-tp17667375p17673104.html

T5 onActivate

2008-06-05 Thread maxthesecond
I have a page with many components all them throwing events and actions. I started implementing the onActivate if not loged then go login pattern As events and actions where added I've noticed that I have to check if the user is loged in every event handler. I expected the onActivate method to

Re: T5 ajax zone changing

2008-06-05 Thread Janko Muzykant
Thiago H. de Paula Figueiredo wrote on 05 Jun 2008 15:26:58 MET: > On Thu, 05 Jun 2008 11:18:53 -0300, Janko Muzykant <[EMAIL PROTECTED]> > wrote: > > > Hi Markus, > > thanks for links, but this unfortunately does not solve the > > problem. i will > > try to highlight my case. commiting the form

Migration of T4 to T5

2008-06-05 Thread Ben Dotte
Hey, Sorry if I might have missed something for this already, but I was curious what is or will be out there to migrate a T4.1 app to T5. I know Jesse had mentioned he was planning to create an upgrade path from one of the T4 versions but I have not heard about any progress on this yet. We're run

Re: Migration of T4 to T5

2008-06-05 Thread Daniel Jue
I don't think any tools are being created to do this. --However--, there has been a recent change in T5 which should allow you to run T4 and T5 codebases together, so you can migrate incrementally. I am not sure if anyone is taking advantage of this yet--It should be in Tapestry 5.0.12. It was d

T5: external POST link to spring security

2008-06-05 Thread pavla
Hi all, I'm trying to integrate spring (acegi) security 2.0 with my Tapestry 5 application. I have an tapestry page with login form and want to send data from login form to spring security filters. On login page I use something like this: public Object onSubmitFromLoginForm() { getUserName; ge

Tapestry 5 server side validation

2008-06-05 Thread ice96
Hello, I have problems with tapestry 5 server side validations. First o all there is my code: package org.example.myapp.model; import org.apache.tapestry.beaneditor.NonVisual; import org.apache.tapestry.beaneditor.Validate; public class User { private int id; private String name

[T5] How to get actionlink clientId in onAction?

2008-06-05 Thread Jun Tsai
I want to get ActionLink clientId.How to get ? thanks -- regards, Jun Tsai