Integrating third party application (colorpicker, time chooser)

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

Integrating third party application (colorpicker, time chooser)

Michiel Roos [netcreators]
List,

How do I go about integrating a color picker or time chooser application?

I would like to click on an icon (like the xs:date app) after which a
colorpicker would popup. After selecting a color this color would be
filled in in the form.

Is this easily doable?

Cheers,


Michiel Roos
netcreators.com



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Integrating third party application (colorpicker, time chooser)

Hank Ratzesberger
Michiel,

Based on my tests with Google maps, I am able to communicate
between an XForms control and some other control using
JavaScript and the <xxforms:script> element.

You can get the value of an XForms control and you can
execute JavaScript in response to XForms events and you
can trigger XForms events.

I keep an <xforms:input> element as a placeholder to pass
data between JavaScript and the instance.  I use  
<xforms:bind relevant="false()...>
to keep the input hidden from view.

Some specifics are here:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-javascript

--Hank

Hank Ratzesberger
Institute for Crustal Studies
University of California, Santa Barbara

----- Original Message -----
From: "Michiel Roos" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, November 22, 2006 8:40 AM
Subject: [ops-users] Integrating third party application (colorpicker, time chooser)


> List,
>
> How do I go about integrating a color picker or time chooser application?
>
> I would like to click on an icon (like the xs:date app) after which a
> colorpicker would popup. After selecting a color this color would be
> filled in in the form.
>
> Is this easily doable?
>
> Cheers,
>
>
> Michiel Roos
> netcreators.com
>
>

--------------------------------------------------------------------------------





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Integrating third party application (colorpicker, time chooser)

Ryan Puddephatt
Hank,
        One problem with using relevant="false()" is that Orbeon Forms will
strip this element from any submission. I personally use
style="display:none" for hidden inputs so that it doesn't affect Orbeon
Forms

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Hank Ratzesberger [mailto:[hidden email]]
>Sent: 22 November 2006 17:16
>To: [hidden email]
>Subject: Re: [ops-users] Integrating third party application
>(colorpicker, time chooser)
>
>Michiel,
>
>Based on my tests with Google maps, I am able to communicate
>between an XForms control and some other control using
>JavaScript and the <xxforms:script> element.
>
>You can get the value of an XForms control and you can execute
>JavaScript in response to XForms events and you can trigger
>XForms events.
>
>I keep an <xforms:input> element as a placeholder to pass data
>between JavaScript and the instance.  I use <xforms:bind
>relevant="false()...> to keep the input hidden from view.
>
>Some specifics are here:
>
>http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-javascript
>
>--Hank
>
>Hank Ratzesberger
>Institute for Crustal Studies
>University of California, Santa Barbara
>
>----- Original Message -----
>From: "Michiel Roos" <[hidden email]>
>To: <[hidden email]>
>Sent: Wednesday, November 22, 2006 8:40 AM
>Subject: [ops-users] Integrating third party application
>(colorpicker, time chooser)
>
>
>> List,
>>
>> How do I go about integrating a color picker or time chooser
>application?
>>
>> I would like to click on an icon (like the xs:date app)
>after which a
>> colorpicker would popup. After selecting a color this color would be
>> filled in in the form.
>>
>> Is this easily doable?
>>
>> Cheers,
>>
>>
>> Michiel Roos
>> netcreators.com
>>
>>
>
>
>---------------------------------------------------------------
>-----------------
>
>
>
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Integrating third party application (colorpicker, time chooser)

Michiel Roos [netcreators]
In reply to this post by Hank Ratzesberger
Hank, Ryan,

Thanks for your reply.

Op woensdag 22 november 2006 18:15, schreef Hank Ratzesberger:
> Michiel,
>
> Based on my tests with Google maps, I am able to communicate
> between an XForms control and some other control using
> JavaScript and the <xxforms:script> element.

This doesn't seem to work in the ops from feb 4, 2006 (3.0.1).

Is this only possible in the CVS version? If so, is it 'production ready'?

Oh wait . . . .

http://forge.objectweb.org/project/showfiles.php?group_id=168

:-)

Will try with 3.5 M1.

If I can make a clear working example, I will post it on the object web wiki.

Cheers,


Michiel

> You can get the value of an XForms control and you can
> execute JavaScript in response to XForms events and you
> can trigger XForms events.
>
> I keep an <xforms:input> element as a placeholder to pass
> data between JavaScript and the instance.  I use
> <xforms:bind relevant="false()...>
> to keep the input hidden from view.
>
> Some specifics are here:
>
> http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-javascript


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Integrating third party application (colorpicker, time chooser)

Erik Bruchez
Administrator
Michiel Roos wrote:

> Oh wait . . . .
>
> http://forge.objectweb.org/project/showfiles.php?group_id=168
>
> :-)
>
> Will try with 3.5 M1.
>
> If I can make a clear working example, I will post it on the object web wiki.

Or you can try with a recent nightly build. Those are fairly stable:

   http://forge.objectweb.org/nightlybuilds/ops/ops/

-Erik

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Integrating third party application (colorpicker, time chooser)

Alessandro  Vernet
Administrator
In reply to this post by Ryan Puddephatt
Ryan,

Note that you can now use the 'relevant' attribute on
<xforms:submission> to control this.

http://www.w3.org/TR/xforms11/#attrib-submit-relevant

Alex

On 11/23/06, Ryan Puddephatt <[hidden email]> wrote:

> Hank,
>         One problem with using relevant="false()" is that Orbeon Forms will
> strip this element from any submission. I personally use
> style="display:none" for hidden inputs so that it doesn't affect Orbeon
> Forms
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>
>
> >-----Original Message-----
> >From: Hank Ratzesberger [mailto:[hidden email]]
> >Sent: 22 November 2006 17:16
> >To: [hidden email]
> >Subject: Re: [ops-users] Integrating third party application
> >(colorpicker, time chooser)
> >
> >Michiel,
> >
> >Based on my tests with Google maps, I am able to communicate
> >between an XForms control and some other control using
> >JavaScript and the <xxforms:script> element.
> >
> >You can get the value of an XForms control and you can execute
> >JavaScript in response to XForms events and you can trigger
> >XForms events.
> >
> >I keep an <xforms:input> element as a placeholder to pass data
> >between JavaScript and the instance.  I use <xforms:bind
> >relevant="false()...> to keep the input hidden from view.
> >
> >Some specifics are here:
> >
> >http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-javascript
> >
> >--Hank
> >
> >Hank Ratzesberger
> >Institute for Crustal Studies
> >University of California, Santa Barbara
> >
> >----- Original Message -----
> >From: "Michiel Roos" <[hidden email]>
> >To: <[hidden email]>
> >Sent: Wednesday, November 22, 2006 8:40 AM
> >Subject: [ops-users] Integrating third party application
> >(colorpicker, time chooser)
> >
> >
> >> List,
> >>
> >> How do I go about integrating a color picker or time chooser
> >application?
> >>
> >> I would like to click on an icon (like the xs:date app)
> >after which a
> >> colorpicker would popup. After selecting a color this color would be
> >> filled in in the form.
> >>
> >> Is this easily doable?
> >>
> >> Cheers,
> >>
> >>
> >> Michiel Roos
> >> netcreators.com
> >>
> >>
> >
> >
> >---------------------------------------------------------------
> >-----------------
> >
> >
> >
> >
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet