Re: WOAjaxCollapsibleComponentContent ???

2024-06-23 Thread Aaron Rosenzweig via Webobjects-dev
Hi Markus, 

To use  like you envision you need to add some scaffolding. 

Realize that the ajax link and the ajax submit button can be given a named 
function. When you do that, they don’t render, put provide a name you can call 
on the client side that will do a round trip to the server. So you need to 
consider if you have a form (or not) and if you want to synchronize bindings 
(or not) to choose between them. But let’s assume you just want a “click” 
without form values going across. You’ll need to place an element like this 
near your :

 On Jun 23, 2024, at 7:28 AM, mailinglists via Webobjects-dev 
>  wrote:
> 
> Anyone using this component? It has bindings that seem not to be used.  Does 
> this work at all? I cannot make sense of it.
> 
> Alternatively has anyone made proper use of the html construct 
> ? It works nicely but I cannot preserve “open” state when 
> updating an enclosing container because I have not found a way to call back 
> into the server when the summary is clicked to open/close. This action is 
> pure client side performed by the browser itself. Any way to tap into it?
> 
> Any other usable component around for such a hide/reveal functionality?
> 
> Thanks for your ideas
> ---markus---
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
> 
> This email sent to aa...@chatnbike.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


WOAjaxCollapsibleComponentContent ???

2024-06-23 Thread mailinglists via Webobjects-dev
Anyone using this component? It has bindings that seem not to be used.  Does 
this work at all? I cannot make sense of it.

Alternatively has anyone made proper use of the html construct 
? It works nicely but I cannot preserve “open” state when 
updating an enclosing container because I have not found a way to call back 
into the server when the summary is clicked to open/close. This action is pure 
client side performed by the browser itself. Any way to tap into it?

Any other usable component around for such a hide/reveal functionality?

Thanks for your ideas
---markus---


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com