On 30.06.2004 12:05, Vilya Harvey wrote:
Have you (or anyone else) noticed a bug with action widgets inside a union? The behaviour I'm seeing is that they always cause the form to be submitted, rather than just updated. It's annoying because I'm trying to create a popup detail area which contains a button to hide itself, but instead of hiding the detail area the button submits the entire form. Am I just doing something dumb, or is this a bug in CForms?
Is an action widget not always a submit button by default? Only the behaviour on server side is different. I guess the above is unrelated to union. You would have to customize the forms stylesheets for your special type of action. I did it myself with an fi:styling/@type='link'.
Sorry, I wasn't being clear. What I was trying to say is that action widgets which occur inside a union seem to behave as if they were submit widgets, whereas action widgets outside of a union behave as expected. Hopefully that makes a bit more sense...
This means validation is caused by them though it should not? http://cocoon.apache.org/2.1/userdocs/forms/widget_submit.html
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
