Re: ZK comparison

2006-06-24 Thread Peter Svensson
Hmm. It looks a little bit like tapestry, when I look at example 3 in the wiki. Maybe like tapestry 4.1 + tacos and bits of trails. Cheers, PS On 6/23/06, hv @ Fashion Content [EMAIL PROTECTED] wrote: Has anyone checked out ZK (http://zk1.sourceforge.net/) and compared it with Tapestry ?

Checkbox required validation not working

2006-06-24 Thread Adam Henderson
Hi All, I'm doing a simple form that has a checkbox which must be checked in order to submit the form: form jwcid=[EMAIL PROTECTED] clientValidationEnabled=ognl:true TC:input jwcid=[EMAIL PROTECTED] value=ognl:readTC validators=validators:required/ input jwcid=@Submit

RE: Checkbox required validation not working

2006-06-24 Thread James Carman
What happens if you take the listener off the button and put it on the form itself. -Original Message- From: Adam Henderson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 8:23 AM To: Tapestry users Subject: Checkbox required validation not working Hi All, I'm doing a simple

Re: Checkbox required validation not working

2006-06-24 Thread Adam Henderson Azudio
No difference, I changed the form to: form jwcid=[EMAIL PROTECTED] clientValidationEnabled=ognl:true listener=listener:confirm TC:input jwcid=[EMAIL PROTECTED] value=ognl:readTC validators=validators:required/ input jwcid=@Submit type=submit name=Submit value=Confirm/ /form On

Re: Checkbox required validation not working

2006-06-24 Thread Scott Russell
Hi Adam, The required validator generates client-side javascript that calls the Tapestry.require_field function. This is the code of that function: Tapestry.require_field = function(event, fieldId, message) { var field = this.find(fieldId); if (field.value.length == 0)

Re: Checkbox required validation not working

2006-06-24 Thread Jesse Kuhnert
no what ? On 6/24/06, Maura Wilder [EMAIL PROTECTED] wrote: no - Original Message - From: Jesse Kuhnert [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox required validation not working Looks good Scott! I

WYSIWYG tapestry eclipse editor

2006-06-24 Thread goldensoft
eZing Builder tapestry toolbar may be released in the end of this month. http://ezingbuilder.sourceforge.net/images/tapestrytoolbar.jpg -- View this message in context: http://www.nabble.com/WYSIWYG-tapestry--eclipse-editor-t1841431.html#a5026849 Sent from the Tapestry - User forum at

Getting old visit object

2006-06-24 Thread Yves Sy
Hi, I have an old Tapestry app which I began to slowly port to Tapestry 4. How do I get a hold of the old visit object configured Tapestry-3 style in a Tapestry 4 page? I tried MyVisit visit = (MyVisit) getApplicationStateManager().get(visit); but this doesn't work Thanks in advance, -Yves-

Re: Getting old visit object

2006-06-24 Thread Kevin Menard
On Sat, 24 Jun 2006 12:50:48 -0400, Yves Sy [EMAIL PROTECTED] wrote: I have an old Tapestry app which I began to slowly port to Tapestry 4. How do I get a hold of the old visit object configured Tapestry-3 style in a Tapestry 4 page? The easiest thing to do is access it the same way you

Re: Checkbox required validation not working

2006-06-24 Thread Martin Strand
lol best reply ever On Sat, 24 Jun 2006 18:55:55 +0300, Maura Wilder [EMAIL PROTECTED] wrote: no - Original Message - From: Jesse Kuhnert [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox required validation

Re: Getting old visit object

2006-06-24 Thread Yves Sy
Thanks for the reply. Since I prefer to use non-deprecated methods, I'm trying to do it the latter way: @InjectState(visit) public abstract MyVisit getMyVisit(); ..but this ends up with a runtime error Unable to add field _$applicationStateManager to class $ProflightOptionsLink_106: duplicate

Re: Getting old visit object

2006-06-24 Thread Shing Hing Man
property name=org.apache.tapestry.visit-class value=org.xxx.MyVisit/ Instead of above, please try : meta key=org.apache.tapestry.visit-class value=org.xxx.MyVisit/ Shing --- Yves Sy [EMAIL PROTECTED] wrote: Thanks for the reply. Since I prefer to use non-deprecated methods, I'm

Tapestry, Spring, and Hibernate

2006-06-24 Thread Todd Orr
I have a DAO layer that attempts to hide the implementation details from its caller (per dao definition). This is managed by Spring and objects are pulled out in my tap pages using the tapestry-spring lib. This works well at face value. The issue is the infamous lazy-loading of detached objects

Tapestry 3 to 4.1 to 5

2006-06-24 Thread kranga
We have a very large financial services applicaiton built with Tapestry 3 and it meets all the requirements for the project. But in looking ahead, I am trying to get some data to guide technology decisions for the project. My questions are: - Hibernate is used extensively in 4.x and though the

Re: Tapestry 3 to 4.1 to 5

2006-06-24 Thread Mike Grundvig
Re: Hibernate. It's used all over the place by many applications. It isn't really associated with IOC containers or even web applications in generally as it's simply (ha!) a database abstraction/mapping framework. Whether you use Tapestry or not, Hibernate is excellent at what it does. With

Re: Tapestry 3 to 4.1 to 5

2006-06-24 Thread Scott Russell
I'm guessing you mean Hivemind, not Hibernate. Hibernate is an ORM that is completely independant of Tapestry. Some users (like myself) use it and thus seek out (or develop) solutions that integrate the two (eg. tapernate, honeycomb, cognition). You might see talk about that on the mail;ing

RE: Tapestry 3 to 4.1 to 5

2006-06-24 Thread James Carman
That being said, Scott, it *is* much easier to plug in to Tapestry using HiveMind, since Tapestry itself is wired together using HiveMind. -Original Message- From: Scott Russell [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 8:41 PM To: users@tapestry.apache.org Subject: Re:

Re: Tapestry 3 to 4.1 to 5

2006-06-24 Thread Scott Russell
Tue enough, although I must say I had no problems plugging Spring in using the Spring integration jar. Very quick and painless. I think that use of Hivemind is required when one needs to extend or enhance or add new functionality to Tapestry itself. Certainly one could also use Hivemind as a

RE: Tapestry 3 to 4.1 to 5

2006-06-24 Thread James Carman
I would agree that it's a bit much more difficult to grok, but we're working on that what HiveMind 2.0! Yes, you don't need to know anything about HiveMind, necessarily, to use Tapestry. But, if you want to extend/enhance it (as you said), you do. -Original Message- From: Scott Russell

Re: Tapestry 3 to 4.1 to 5

2006-06-24 Thread Geoff Longman
I would beg to differ. Hivemind is not optional in many cases, the following are items that I think are not unusual things to do in Tapestry and all require knowledge of Hivemind. Override or provide new services: http://tapestry.apache.org/tapestry4/UsersGuide/upgrade.html#upgrade.service (This

Re: Getting old visit object

2006-06-24 Thread Yves Sy
Its working fine now. My code was correct -- but i somehow forgot i declared the following in a superclass which caused the runtime error... public abstract ApplicationStateManager getApplicationStateManager(); Thanks for the help! -Yves- On 6/25/06, Shing Hing Man [EMAIL PROTECTED] wrote: