You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Dennis Riedel <de...@web.de> on 2005/06/07 10:19:12 UTC

"JSF like" Event Handling in CForms?

Hello
I am using my own FormHandler Class to handel ValueChangedEvents in my form.
But I only get them, when the form is submitted (of course, because it 
is server side).

But I want to change the state of my widgets (enabled, disabled) when a 
checkbox is activated or not.
In JSF each element can make "submit()" when the value is changed.

Can I do this in CForms to? How do I handle this? I must recall the 
pipeline to get back to my form?!

Thx for any ideas.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: "JSF like" Event Handling in CForms?

Posted by Dennis Riedel <de...@web.de>.
Is the current AJAX spec implemented in 2.1.7 ?
Or do I need a dev snapshot?


Upayavira wrote:

> Dennis Riedel wrote:
>
>> Yes.
>> Just insert following line for each widget you want to submit on 
>> change in your template file:
>> <fi:styling submit-on-change="true" />
>
>
> Or look into the recent Ajax functionality and have it update in the 
> background.
>
> Upayavira
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: "JSF like" Event Handling in CForms?

Posted by Upayavira <uv...@odoko.co.uk>.
Dennis Riedel wrote:
> Yes.
> Just insert following line for each widget you want to submit on change 
> in your template file:
> <fi:styling submit-on-change="true" />

Or look into the recent Ajax functionality and have it update in the 
background.

Upayavira

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: "JSF like" Event Handling in CForms?

Posted by Dennis Riedel <de...@web.de>.
Yes.
Just insert following line for each widget you want to submit on change 
in your template file:
<fi:styling submit-on-change="true" />


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org