On 30.06.2004 11:00, Vilya Harvey wrote:

This is possible using the union widget. I did it myself on Friday. The resources I used were http://wiki.cocoondev.org/Wiki.jsp?page=TimLarson and the form model GUI sample, but the latter one is really complex. Ask further questions if you need - maybe I will port to car selector sample to union if I have time :) A bug concerning the values when switching the select box for example was fixed *yesterday* and is so only available in CVS.

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'.


Joerg

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



Reply via email to