Problem with a form in a Block + AJAX

2010-04-18 Thread Juan Isern
Hi guys, hope you're doing fine. I was developing a component to load lazily content and I'm facing a problem: forms seem to break when they're rendered from a Block to an AJAX zone. They same problem occurs with ProgressiveDisplay. A very simple example that shows the issue:

Re: Tweaking an AjaxFormLoop

2010-04-18 Thread Juan Isern
Regarding the original problem, if anyone is interested in a workaround to solve it just PM me. Cheers! Peter Stavrinides wrote: > > Hi Robert, > > Here is the new jira: > https://issues.apache.org/jira/browse/TAP5-1102 > > Also its worth looking at https://issues.apache.org/jira/browse/TAP5

Re: Cross field validation in a component

2010-04-18 Thread Juan Isern
Inheriting from AbstractField and doing something like this finally worked wonders for me: @Override protected void processSubmission(String elementName) { formSupport.defer(new Runnable() { public void run() { // do validations, commit values, etc.

RE: Good practices for handling page cleanup

2010-04-18 Thread Juan Isern
In case someone's interested... The solution was as simple as: @Inject private ComponentEventLinkEncoder cele; (...) return cele.decodePageRenderRequest(request) != null && cele.decodeComponentEventRequest(request) == null; if that expression is true, then it's a fresh page req

[Tapestry Central] An extended stay in London

2010-04-18 Thread Howard
If you were unable to attend my "In the Brain Of" talk last Tuesday, it's now available at SkillsMatter ... voice, video and slides. This was a fun session, even if I was jet lagged to the point of being dizzy. Meanwhile, I'm still hanging out in London until this at least the end of this week. I e

Re: Embedded Tapestry DateField is rendered when Tapx DataField component is used in template

2010-04-18 Thread Howard Lewis Ship
This is supposed to be an error given that there are conflicting types for component (one from the template, one from the Java class). It's supposed to reject this out right, even if the types agree (which they don't in this case). I'm not sure why this no longer works, because I remember coding t

Re: T5: develop t5 app in Snow Leopard

2010-04-18 Thread Juan E. Maya
Hello Angelo Yes, I use 1.6 64 bits for development in SL, however I normally let CI servers generate the artifacts that are deployed and they have do have the same virtual machine as the target servers. In theory running something in a different Virtual Machine should work (at least that's one

Embedded Tapestry DateField is rendered when Tapx DataField component is used in template

2010-04-18 Thread Shing Hing Man
Originally, I have a Tapestry5 DateField component in a page tml and it is also specified in the corresponding page Java class. tml file : Java class: @Component private DateField startDate; // DateField from tapestry 5 corelib package When I switch to using the

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-18 Thread Charith Madusanka
Hi all, Java PDF renderer library has been released by the Lesser General Public License(LGPL ) and Google Map API have Google Map Terms of Service(http://code.google.com/apis/maps/terms.html ). So is' it ok to release Apache Software License (Tapestry *P