Bug on inserting a select element with appearance="full"

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

Bug on inserting a select element with appearance="full"

Mark Gibson-8
Hi, I've found what I believe to be a bug in the xforms.js

I've attached a simple XForms example to demonstrate,
it can be executed in the XForms sandbox.

Basically I have a <xforms:select> element within a
<xforms:repeat> element, and an insert button to create
a new row.

But when appearance="full" (so it displays as checkboxes)
the insert will fail with the javascript error:

  template has no properties
  http://.../ops/javascript/xforms.js
  Line: 1224

But it seems to work fine with other appearance types.

Using: OPS 3.0.1.200602032326

Actually I've just noticed that this bug is fixed on the live
sandbox at orbeon.com - is the fix available?
I've had a look in the CVS on objectweb.org, but cannot make
sense of the repository structure, do you provide a nightly
snapshot etc?

Cheers
- Mark Gibson


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

insert-select-bug-demo.xhtml (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Bug on inserting a select element with appearance="full"

Ryan Puddephatt
Mark,
        Nightly builds can be found at
http://forge.objectweb.org/nightlybuilds/ops/ops/

Ryan

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Mark Gibson [mailto:[hidden email]]
>Sent: 12 April 2006 14:09
>To: [hidden email]
>Subject: [ops-users] Bug on inserting a select element with
>appearance="full"
>
>Hi, I've found what I believe to be a bug in the xforms.js
>
>I've attached a simple XForms example to demonstrate,
>it can be executed in the XForms sandbox.
>
>Basically I have a <xforms:select> element within a
><xforms:repeat> element, and an insert button to create
>a new row.
>
>But when appearance="full" (so it displays as checkboxes)
>the insert will fail with the javascript error:
>
>  template has no properties
>  http://.../ops/javascript/xforms.js
>  Line: 1224
>
>But it seems to work fine with other appearance types.
>
>Using: OPS 3.0.1.200602032326
>
>Actually I've just noticed that this bug is fixed on the live
>sandbox at orbeon.com - is the fix available?
>I've had a look in the CVS on objectweb.org, but cannot make
>sense of the repository structure, do you provide a nightly
>snapshot etc?
>
>Cheers
>- Mark Gibson



--
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: Bug on inserting a select element with appearance="full"

Mark Gibson-8
Ryan Puddephatt wrote:
> Mark,
> Nightly builds can be found at
> http://forge.objectweb.org/nightlybuilds/ops/ops/
>
> Ryan

Thanks Ryan, I just discovered it too, I looked all over for this
and then found it just after asking, isn't it always the way :)
Cheers.



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