Call function periodically

2010-08-31 Thread Mite
I need to have a function called every one minute from the moment the application is deployed on the server, that does some database row updates. This has to be done independently of the activity of the users on the web application. Even if there are no users using the application, this call has

Re: Select in Loop

2010-08-13 Thread Mite
I made a ValueEncoder and also put formState=iteration in the loop. The second one seemed to made it work, even though I don't really understand why. tr t:type=loop t:source=selectedMatches t:value=currentSelected formState=iteration t:encoder=encoder -- View this message in context:

Refresh zone periodicaly

2010-08-12 Thread Mite
Hi Is there a way to refresh a zone on a fixed period automatically? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Refresh-zone-periodicaly-tp2498534p2498534.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Coercion from String to ArrayList in Loop

2010-04-09 Thread Mite
Thanks, it works now. -- View this message in context: http://old.nabble.com/Coercion-from-String-to-ArrayList-in-Loop-tp28183967p28190833.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Coercion from String to ArrayList in Loop

2010-04-08 Thread Mite
Hi I have this method and need to display the strings in the .tml. When the page is opened the first time it works fine. But when I submit from the page it throws: Could not find a coercion from type java.lang.String to type java.util.ArrayList. In the documentation is written that this might

Autocomplete mixin css

2010-03-27 Thread Mite
Hi How can I override the css for the autocomplete mixin on the jumpstart page? I searched the forum but couldn't find anything. -- View this message in context: http://old.nabble.com/Autocomplete-mixin-css-tp28056100p28056100.html Sent from the Tapestry - User mailing list archive at

Directory listing error

2010-03-18 Thread Mite
I have created a project few hours ago with the quickstart archetype. I was able to start it and it was running OK. I created some model classes and annotated them with hibernate to connect them to my database. Now I try to run the application (http://localhost:8081/)and all I get is a directory

Accessing array in tml

2010-02-20 Thread Mite
I have this List of arrays: public ListObject[] getCourses(){ courseWithSubject = ...; return courseWithSubject; } and the arrays have two elements. In the tml: t:selectObject t:id=courses list=courses value=currentCourse

Re: Select does not submit form on change

2009-12-08 Thread Mite
Thank you for the reply. It does not make any difference. Still the same result. This is really bad. Trying to get to work an event on a select for a whole day. It is so much easier with .NET or only JavaScript and HTML. Try this.form.submit() -- View this message in context:

Re: Select does not submit form on change

2009-12-08 Thread Mite
No, I just have the function: void onSubmit() { System.out.println(Value changed!); } t:selectObject t:id=courses list=courses value=currentCourse labelField=literal:courseId onChange=this.form.submit();/ which prints to console when a submit is made, but it does not print anything

Re: Select does not submit form on change

2009-12-08 Thread Mite
I removed the submit button and it works indeed. Thank you for the answer. -- View this message in context: http://old.nabble.com/Select-does-not-submit-form-on-change-tp26687467p26703632.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Select does not submit form on change

2009-12-07 Thread Mite
Hi I am trying to attach an event to a select. The guys that worked before me used this model. http://wiki.apache.org/tapestry/Tapestry5SelectObject I have written this code so far: form t:type=form t:selectObject t:id=courses list=courses value=currentCourse labelField=literal:courseId

Return type

2009-10-26 Thread Mite
A beginner question. A short answer will be enough. What is the difference between returning a .class and an object from the same class, by a method handler? Thank you, Mite -- View this message in context: http://www.nabble.com/Return-type-tp26058940p26058940.html Sent from the Tapestry

Re: Return type

2009-10-26 Thread Mite
Thanks for the answers. :) -- View this message in context: http://www.nabble.com/Return-type-tp26058940p26059228.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Tapestry seems to delete object data

2009-10-23 Thread Mite
Hello to everyone on the forum. I have these two pages: - import org.apache.tapestry5.annotations.InjectPage; public class Index { private String message; @InjectPage private Second

Re: Tapestry seems to delete object data

2009-10-23 Thread Mite
Thank you guys. The problem is solved. I am beginner in this, and really like the concept of Tapestry. This problem gave me an hour of troubles, but now my love for the framework is back to 100%. :) Thanks again. Mite -- View this message in context: http://www.nabble.com/Tapestry-seems

Re: Tapestry seems to delete object data

2009-10-23 Thread Mite
I made some efforts to solve it on my own at first, but that was not possible. It wouldn't have been fair to you guys if I immediately posted the question. Read you on the forums. Mite -- View this message in context: http://www.nabble.com/Tapestry-seems-to-delete-object-data