select1 JavaScript Integration

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

select1 JavaScript Integration

Hank Ratzesberger
Hi,

It is possible to get the value of a select1 using JavaScript, but it
is encoded e.g. "UL7K+wmWptE="

Is there a way to get/set the uncoded value?  Trying a hidden input
bound to the same node without success.

I'm trying to make things work between a Google map, not sure if the
XBL control buys me anything here.

3.7.0beta1

Cheers,
Hank


Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: select1 JavaScript Integration

Erik Bruchez
Administrator
Hank,

You can if you turn off items encryption. You can do so globally:

   <property as="xs:boolean" name="oxf.xforms.encrypt-item-values"  
value="false"/>

or since recent builds locally, using:

   <xforms:select1 ... xxforms: encrypt-item-values="false">

-Erik

On May 5, 2009, at 2:36 PM, Hank Ratzesberger wrote:

> Hi,
>
> It is possible to get the value of a select1 using JavaScript, but it
> is encoded e.g. "UL7K+wmWptE="
>
> Is there a way to get/set the uncoded value?  Trying a hidden input
> bound to the same node without success.
>
> I'm trying to make things work between a Google map, not sure if the
> XBL control buys me anything here.
>
> 3.7.0beta1
>
> Cheers,
> Hank
>
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
OW2 mailing lists service home page: http://www.ow2.org/wws