You can still use a WOConditional to make the content visible and invisible. Just wrap the conditional with an AjaxUpdateContainer and change your WOHyperlink to an AjaxUpdateLink (with an action method that changes the WOConditional's boolean). I'd make it work without ajax first, and then add the ajax parts.
John On 8/7/06, Jerry W. Walker <[EMAIL PROTECTED]> wrote:
I'm trying to use Ajax to make an updatable area of the page appear and disappear (similar to content in a WOConditional, but without page refresh). I've checked out the Project Wonder libraries and have installed the Ajax and the ERExtensions Frameworks to satisfy a client's request for Ajax interaction with his web site. The components are very well integrated, thanks Project Wonder guys! However, in the short time I've been experimenting with them, I'm unable to see how to use them to satisfy this specific request from my client. On the GoogleMail page ( http://mail.google.com/mail/ ), for those who use GoogleMail, a user can click on a "filters" link to define new mail filters. When doing so, a new area opens up on the page between the page heading and the mail listing to allow the user to define a new filter. This area is created with Ajax, since there is no page refresh. I originally presumed that I would be able to create a comparable capability using the Ajax Updates component, but to do so, would require that I be able to dynamically reset its size from a line to an area, or dynamically make it visible and invisible and I see no way to do either. If anyone using the WO Ajax support framework knows how to do this, I would appreciate any help. Thank, Jerry -- __ Jerry W. Walker, WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems [EMAIL PROTECTED] 203 278-4085 office _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to [EMAIL PROTECTED]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
