Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Alright this is the simplest setup I could do. This is way simpler than even the example thats in the nightly docs. I am getting the same error. If someone could please help me out as to what I am missing here I would be eternally grateful. This is the complete source, there is no other source

Re: t5: public or package level for event methods

2009-04-28 Thread Robert Zeigler
Tapestry doesn't care; it can even be private. As for which to use, it's your preference, depending entirely on your needs. Robert On Apr 28, 2009, at 4/2810:19 PM , Angelo Chen wrote: Hi, which one is tapestry 5 correct: public void onActivate(); void onActivate(); should we make even

t5: public or package level for event methods

2009-04-28 Thread Angelo Chen
Hi, which one is tapestry 5 correct: public void onActivate(); void onActivate(); should we make event method public? Angelo -- View this message in context: http://www.nabble.com/t5%3A-public-or-package-level-for-event-methods-tp23289854p23289854.html Sent from the Tapestry - User mailin

Re: problems when using FormFragment in a loop

2009-04-28 Thread Howard Lewis Ship
This is the reason for the AjaxFormLoop component. On Thu, Jan 15, 2009 at 3:19 PM, Joachim Van der Auwera wrote: > After two days of hunting, I have discovered a bug (or maybe better) > "limitation". > If you try to use the FormFragment component inside a loop, then the updates > caused by the f

Re: problems when using FormFragment in a loop

2009-04-28 Thread Andrew Court
Did anyone find a resolution (or file a JIRA) for this issue? I'm encountering exactly the same problem with formFragments in a loop. Only the final loop iteration is updated on form submit and all the rest ignored. Seems like a really fundamental problem with the formFragment component and ha

Re: [T5] combination of linksubmit and submit fails

2009-04-28 Thread Howard Lewis Ship
"fails" can mean many things. What exactly does it do? On Tue, Apr 28, 2009 at 1:26 PM, Rolf Strijdhorst wrote: > Hi is there a way to put both a linksubmit and a submit component on a page? > > when i press the linksubmit it fails at the javascript with the line > this.form.submit(); > > onClic

[T5] combination of linksubmit and submit fails

2009-04-28 Thread Rolf Strijdhorst
Hi is there a way to put both a linksubmit and a submit component on a page? when i press the linksubmit it fails at the javascript with the line this.form.submit(); onClick : function(event)7828 { 7829 // Tapestry.debug("LinkSubmit #{id} clicked.", this.element); 7830 7831 Event.stop(event); 783

Using Tapestry + Eclipse + Maven

2009-04-28 Thread Howard Lewis Ship
I've updated the following wiki page: http://tapestry.formos.com/wiki/display/T5IDEINT/Eclipse+(including+Maven) Some people have been having some trouble with this; please give it a try with fresh downloads and see if it all works for you. -- Howard M. Lewis Ship Creator of Apache Tapestry Di

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Upgraded to 5.1.0.3 with same result. I also removed any hibernate entities whatsoever. I made an AjaxFormLoop of Strings and I get the same result. Has anyone out there ever gotten this error in any context I just cant believe I am the only one having these issues, seeing as how even the s

[ANNOUNCE] tapestry-templating merged into tapx

2009-04-28 Thread Howard Lewis Ship
I've merged the tapestry-templating project into the tapx (Tapestry extensions) project on Tapestry360. http://tapestry.formos.com/nightly/tapx/ The Java packages have stayed the same, but the Maven artifact ID has changed: com.formos.tapestry tapx-templating 1.0.0-SNAPSHOT -

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-28 Thread Paul Field
In addition to various cool things mentioned by other people, I really like the ability to unit test components and pages: http://tapestry.apache.org/tapestry5.1/guide/unit-testing-pages.html It's really nice to be able to do test-driven development in the GUI layer. (Particularly in conjunction

Re: Using T5 Validation Outside a Form

2009-04-28 Thread Thiago H. de Paula Figueiredo
Take a look at Tapestry CRUD-Hibernate Validator, part of the Ars Machina Project: http://www.arsmachina.com.br/project/tapestrycrudhibernatevalidator. Its 1.1 version (the documentation is related to the 1.0 version, but I hadn't had the time to update it yet) provides validation as a mixin to be

Re: Using T5 Validation Outside a Form

2009-04-28 Thread Geoffrey Wiseman
On Tue, Apr 28, 2009 at 11:13 AM, Geoffrey Wiseman < geoffrey.wise...@gmail.com> wrote: > Anyone have an example of using Tapestry validation outside of the form > context? As in, if I were interested in taking a domain object, checking it > for T5-annotated validity, and examining the messages m

Using T5 Validation Outside a Form

2009-04-28 Thread Geoffrey Wiseman
Anyone have an example of using Tapestry validation outside of the form context? As in, if I were interested in taking a domain object, checking it for T5-annotated validity, and examining the messages myself? I could presumably dig into the form code deeply and find out which objects it's using

[ANNOUNCE] Tapestry 5.1.0.4 (beta release)

2009-04-28 Thread Howard Lewis Ship
Tapestry 5.1.0.4 is now available via Maven and the Apache Mirrors. http://tapestry.apache.org/download.html This is a bug fix release, addressing a number of problems present in 5.1.0.3, and stabilizing the URLRewriter APIs. We are looking forward to community feedback on this release; it looks

Re: [Tapestry360]

2009-04-28 Thread Howard Lewis Ship
I must not have deployed it previously (?). Just ran a deploy. It's in http://tapestry.formos.com/maven-repository On Tue, Apr 28, 2009 at 3:30 AM, Andy Pahne wrote: > > Hello, > > I am looking for the tapestry360-project in any maven repository. It appears > not to be available in http://tape

Re: Getting a zone id when inside another zone

2009-04-28 Thread Joost Schouten (mailing lists)
good to hear the solution was a lot simpler than I thought. Gotta love quick fixes :-) On Tue, Apr 28, 2009 at 9:14 PM, Hugo Palma wrote: > Thanks for you help Joost, > i don't think there was any other javascript failing. Simply the form > performed a usual submit instead of doing a partial upd

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread Joost Schouten (mailing lists)
I'm using 5.1.0.3 On Tue, Apr 28, 2009 at 7:27 PM, zack1403 wrote: > > Joost, > > Are you using this code on >5.1.0.2? > > Zack > > > Joost Schouten (mailing lists) wrote: >> >> Here is the code related to my AjaxFormLoop which works (besides a few >> non T5 related persistance issues in my own c

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread Joost Schouten (mailing lists)
in my case onAddRow will not do any persisting. I will only persist the added row once the user saves the whole form. Also, I use my own transaction handling which is all done in a filter outside Tapestry. So any exception will actually roll back the transaction. The fact that I don't use any of t

[Tapestry360]

2009-04-28 Thread Andy Pahne
Hello, I am looking for the tapestry360-project in any maven repository. It appears not to be available in http://tapestry.formos.com/maven-snapshot-repository Or am I missing something? my maven error message: Cannot find parent: com.formos.tapestry:tapestry360-project for project: co

Re: Getting a zone id when inside another zone

2009-04-28 Thread Hugo Palma
Thanks for you help Joost, i don't think there was any other javascript failing. Simply the form performed a usual submit instead of doing a partial update. On Mon, Apr 27, 2009 at 11:42 PM, Joost Schouten (mailing lists) wrote: > I think there might be another problem at play here because when y

Re: Getting a zone id when inside another zone

2009-04-28 Thread Hugo Palma
Yep, that did the trick. Thanks On Tue, Apr 28, 2009 at 2:29 AM, DH wrote: > What about giving the static id to the innerZone, like following: > > > > > DH > - Original Message - > From: "Hugo Palma" > To: "Tapestry users" > Sent: Monday, April 27, 2009 11:38 PM > Subject: Getting a zo

Re: Exception while http://localhost:8080/myapp/index.pageForm

2009-04-28 Thread zack1403
Wesley, You can contribute a custom exception page in your module class: public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(SymbolConstants.EXCEPTION_REPORT_PAGE, "ProductionException"); } As for your initial issue, you should ne

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Joost, Are you using this code on >5.1.0.2? Zack Joost Schouten (mailing lists) wrote: > > Here is the code related to my AjaxFormLoop which works (besides a few > non T5 related persistance issues in my own code ;-) > > -- View this message in context: http://www.nabble.com/AjaxFormLoop