Re: JavaScript in forms with Tapestry

2005-11-20 Thread Jesse Kuhnert
d doubtless occur were I to adopt the usual > Tapestry approach. > > Your second idea, however, sounds fantastic and I think I'll try that > right now. > > > James > > -Original Message- > From: Richard Clark [mailto:[EMAIL PROTECTED] > Sent: 20 November

RE: JavaScript in forms with Tapestry

2005-11-20 Thread James
doubtless occur were I to adopt the usual Tapestry approach. Your second idea, however, sounds fantastic and I think I'll try that right now. James -Original Message- From: Richard Clark [mailto:[EMAIL PROTECTED] Sent: 20 November 2005 11:19 PM To: Tapestry users Subject: Re: Java

Re: JavaScript in forms with Tapestry

2005-11-20 Thread Jesse Kuhnert
Hi James, I wouldn't give up on tapestry just yet ;) What you want to do is specifically being handled already if you go to http://tacos.sourceforge.net. The good news is that adding new input fields to a form is really quite easily with tacos, and your users won't have the added annoyance of hav

Re: JavaScript in forms with Tapestry

2005-11-20 Thread Richard Clark
You may want to try a small prototype using the usual Tapestry approach and user-test it. Tapestry caches page layouts in normal operation, so the submit-render cycle is very fast. "Waiting for the server to rebuild the form" may well take less time than you think. Then, if you find you st

RE: JavaScript in forms with Tapestry

2005-11-20 Thread James
Thanks for the advice. I was afraid this might be the case. While I'm quite comfortable now with putting together a relatively simple Tapestry application, I don't know that I'm quite ready to start delving into the guts of it - especially with a fairly limited timeframe. I see your point on manip

Re: JavaScript in forms with Tapestry

2005-11-20 Thread Ron Piterman
just another thing... fields added by javascript could be validated in the client-side validation of tapestry. But should be excluded from the server side cycle (rewind). Ron James wrote: Hi I posted this on tapestryforums.com yesterday, but it seems I might have more luck here, and I'm no

Re: JavaScript in forms with Tapestry

2005-11-20 Thread Ron Piterman
As far as I can see if you want to use the very good validation and comfortable form handling in tapestry you should render all of your fields with the page. You could make some of the hidden by css and change that through javascript, but at the moment you should not add fields from java script

JavaScript in forms with Tapestry

2005-11-20 Thread James
Hi I posted this on tapestryforums.com yesterday, but it seems I might have more luck here, and I'm not ready to give up on Tapestry just yet: I've spent the last few days trying to get to grips with Tapestry with a view to using it for a project I need to develop within the next month or so. I t