Hi guys,

A few xforms things..

1. I am having some trouble with xforms attributes and the link submit
type..

                        <td valign="top">
                            <xforms:submit xxforms:appearance="link">
                                <xforms:caption>Annotate</xforms:caption>
                                <xxforms:set ref="photos/@selection"
value="1"/>
                                <xxforms:set ref="action" value="annotate"/>
                            </xforms:submit>
                        </td>

    I find that the xforms input is giving me "Cannot map multiple values to
an attribute". I want the xxforms:set to overwrite the @selection rather
than try and append to it.

Actually I seem to encounter the same problem trying to update any form with
an attribute a second time. At least with a POST submission method.

2. Nested <xform:group> elements would be quite useful in larger, more
complex xforms.

3. Is there a way to avoid the URL getting really long during redirects? I
am afraid of hitting the GET limit if my instance contains too much data.

Even when I change submission method to POST it doesn't help because action
redirects seem to add the whole photos-list xforms instance into the URL
string. eg.

    <page path-info="/photos/">
        <action>
            <result page="photos-list"/>
        </action>
    </page>

Is this necessary? If so how about encoding it as a hidden form field. eg.
The developer needs to add <xxforms:hidden-state/> variable to the
photos-list page?

Cheers,
Damon.

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to