Re: Ajax form question about Tapestry 4.1

2006-08-06 Thread Jesse Kuhnert

I noticed that the EventListener parameter for validating a form wasn't
being properly used, this has been fixed. (the default is still false, to
bypass validation)

On 8/2/06, Josh Long [EMAIL PROTECTED] wrote:


Yeah I was sort of wondering the same thing, and in particular, how do
I get validation messages to render via ajax -- that is, i wat the
form to go through the normal validation routine and I dont want to
enable client side validation. I actually kind of like the red stars
and custom decorators the validation classes afford you...

i remember in tacos there was an example of employing the validators
(ie, led red asterisks appeared via ajax), is this possible in
tapestry 4.1 without some weird kludge?

I read in the docs that the default is to disable validation when
using submitForm -- since most of the use cases would make incurring
the validation lifecycle cumbersome to the user. Thats the default,
which implies it can be toggled... can it, and if so, how? ;-)

Thanks,

Josh

On 8/2/06, Denis Souza [EMAIL PROTECTED] wrote:
 Hi, I was looking at the new Tapestry 4.1 ajax features.
 EventListener/ResponseBuilder are really nice! Besides the new
annotations I
 noticed some components (such as DirectLink) already have the Tacos ajax
 functionality built in which allows you to update a certain part of the
page
 (updateComponents parameter), however I didn't find the same
functionality
 for the forms and submit buttons.



 I tried using an EventListener/ResponseBuilder combination (listening
for
 onClick and onSubmit) to try and get the same result but whenever I
click on
 a submit button the form is submitted the traditional way, the entire
page
 is reloaded. I'm guessing this could be solved by replacing the submit
 buttons with regular links and having the form submitted on the
 EventListener, but it just doesn't feel right not to use submit buttons
 where they are needed.



 Is there a new way to do this (maybe using the annotations) or is the
ajax
 form submit functionality just not implemented yet?



 Cheers

 Denis Souza






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.


RE: [OT] Source code management

2006-08-06 Thread Kevin Menard
Darcs does what you're asking.  Unfortunately, it doesn't handle large code
bases very well and if you end up with conflicting patches, you're screwed.

It does get a lot of things right though, and I very much like the idea of
the program.  For more info, see: http://www.mininova.org/get/364780

-- 
Kevin Menard
Servprise International
Remote Reboot Without Pulling the Plug
800.832.3823

 -Original Message-
 From: Robin Ericsson [mailto:[EMAIL PROTECTED]
 Sent: Saturday, August 05, 2006 5:28 AM
 To: Tapestry users
 Subject: [OT] Source code management
 
 Hi,
 
 I know that this is completly of topic as of Tapestry, but I know that
 there are people here working in big organisations and teams and I'd
 like your input :)
 
 I'm looking for a SCM that has support for approval/rejection of
 code/patches before it goes into the trunk.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Multiple themes

2006-08-06 Thread Peter Dawn

guys,
i am trying to implement multiple themes within my web app. what i
really want to do is depending upon who is logging in (or a set
condition or maybe a user selection) change the app css file. has
somebody done this before. any ideas on how about i should approach
this.
thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]