action xforms-value-changed problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

action xforms-value-changed problem

iturcan
hi all,
i have tried an actions with xforms and orbeon. I have created small
example, problem is that action is not called when value for my xf:secret is
changed .  Example i have programmed is based on example in xforms 2.0 specs
at url:
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_message_Element

The same example i have tried in xsltforms and it is working well.


<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xf="http://www.w3.org/2002/xforms"
          xmlns:ev="http://www.w3.org/2001/xml-events"
          xmlns:xs="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  >
         
   <head>
      <xf:model>
         <xf:instance>
            <data xmlns="">
            <login>
            <user>demouser</user>
            <password></password>
            </login>
            </data>
         </xf:instance>
      </xf:model>
   </head>
   <body>
         <xf:input ref="//data/login/user" incremental="true">
            <xf:label>User name:</xf:label>
         </xf:input>  

                <xf:secret ref="//data/login/password" label="Password:">
            <xf:label>Password:</xf:label>
                        <xf:message level="modeless" ev:event="xforms-value-changed" >
                             pwd changed...
                        </xf:message>
                </xf:secret>  

   </body>
     
</html>







--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: action xforms-value-changed problem

Alessandro  Vernet
Administrator
Hi Ivan,

Orbeon Forms doesn't support the `level="modeless"`. You can try removing
that attribute, and you'll see you message show up in an alert dialog. Is
this something that works for you, or were you specifically looking for a
modeless message?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: action xforms-value-changed problem

iturcan
Hi Alex,

what i am looking for is technology for our egovernment electronic forms.
XForms are fantastic technology and i would like to use it. but we have lot
of restrictions specified in our local laws. For example alerts/popups i can
not to use.

By XForms specs at
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#action-message the
message element support attribute level for behavioral specification.
default value is modal - it seem to be one possible value for orbeon. next
one is modeless and ephemeral.  i have tried both of them with no success.

can i find somewhere compatibility matrix  between orbeon and xforms 1.1 /
xforms 2.0 ?

thank you

i.

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: action xforms-value-changed problem

Alessandro  Vernet
Administrator
Hi Ivan,

Got it, have you considered using Form Builder to create the forms? This
would also allow people who are less technical to create and edit forms?

At this point, we don't have a compatibility matrix showing what part of
XForms 1.1/2.0 are supported in Orbeon Forms, but if you have any specific
question, feel free to ask.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet