New Generation Datatables - Issue with Index

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

New Generation Datatables - Issue with Index

JeffL
Having an issue with the use of index in new generation datatables since 3.7.1.

Tried the sandbox example 'datatable-ng-index' as well - and get the same issue [online website version]

Get error message....
'Function index uses repeat id 'repeat' which is not in scope'

Any suggestions
Reply | Threaded
Open this post in threaded view
|

Re: New Generation Datatables - Issue with Index

JeffL
Any one with suggestions as to why this occurs on the examples in the  
xforms sandbox.

Jeff

Sent from my iPhone

On 20/06/2009, at 2:45 PM, JeffL <[hidden email]> wrote:

>
> Having an issue with the use of index in new generation datatables  
> since
> 3.7.1.
>
> Tried the sandbox example 'datatable-ng-index' as well - and get the  
> same
> issue [online website version]
>
> Get error message....
> 'Function index uses repeat id 'repeat' which is not in scope'
>
> Any suggestions
> --
> View this message in context: http://www.nabble.com/New-Generation-Datatables---Issue-with-Index-tp24122576p24122576.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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


--
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: Re: New Generation Datatables - Issue with Index

Erik Bruchez
Administrator
Jeff,

This is a bug related to the datatable and possibly the scoping of ids  
in XBL components. We plan to fix this in the short term. If you  
remove the index() function, this sample will work again.

-Erik

On Jun 26, 2009, at 9:39 PM, Jeffrey Lambourne wrote:

> Any one with suggestions as to why this occurs on the examples in  
> the xforms sandbox.
>
> Jeff
>
> Sent from my iPhone
>
> On 20/06/2009, at 2:45 PM, JeffL <[hidden email]> wrote:
>
>>
>> Having an issue with the use of index in new generation datatables  
>> since
>> 3.7.1.
>>
>> Tried the sandbox example 'datatable-ng-index' as well - and get  
>> the same
>> issue [online website version]
>>
>> Get error message....
>> 'Function index uses repeat id 'repeat' which is not in scope'
>>
>> Any suggestions
>> --
>> View this message in context: http://www.nabble.com/New-Generation-Datatables---Issue-with-Index-tp24122576p24122576.html
>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>> Nabble.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
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: New Generation Datatables - Issue with Index

JeffL
Sorry for the double post.

I thought that index() might be the issue. However we are using index
() in the datatables to determine the nth item which is selected by  
the pressing of a button that is in every row. Should we be using a  
different approach to achieve the same result.

 From the wiki I did notice that xbl and scoping is being 'butted out'.

Jeff

Sent from my iPhone

On 02/07/2009, at 6:09 AM, Erik Bruchez <[hidden email]> wrote:

> Jeff,
>
> This is a bug related to the datatable and possibly the scoping of  
> ids in XBL components. We plan to fix this in the short term. If you  
> remove the index() function, this sample will work again.
>
> -Erik
>
> On Jun 26, 2009, at 9:39 PM, Jeffrey Lambourne wrote:
>
>> Any one with suggestions as to why this occurs on the examples in  
>> the xforms sandbox.
>>
>> Jeff
>>
>> Sent from my iPhone
>>
>> On 20/06/2009, at 2:45 PM, JeffL <[hidden email]> wrote:
>>
>>>
>>> Having an issue with the use of index in new generation datatables  
>>> since
>>> 3.7.1.
>>>
>>> Tried the sandbox example 'datatable-ng-index' as well - and get  
>>> the same
>>> issue [online website version]
>>>
>>> Get error message....
>>> 'Function index uses repeat id 'repeat' which is not in scope'
>>>
>>> Any suggestions
>>> --
>>> View this message in context: http://www.nabble.com/New-Generation-Datatables---Issue-with-Index-tp24122576p24122576.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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
>>
>> --
>> 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


--
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: Re: Re: Re: New Generation Datatables - Issue with Index

Erik Bruchez
Administrator
If the event handler is in the row, and you iterate over a homogeneous  
collection, e.g. employees/employee, you could count the number of  
preceding elements, like count(preceding-sibling::employee), and  
determine the position of the button pressed this way.

-Erik

On Jul 1, 2009, at 3:56 PM, Jeffrey Lambourne wrote:

> Sorry for the double post.
>
> I thought that index() might be the issue. However we are using  
> index() in the datatables to determine the nth item which is  
> selected by the pressing of a button that is in every row. Should we  
> be using a different approach to achieve the same result.
>
> From the wiki I did notice that xbl and scoping is being 'butted out'.
>
> Jeff
>
> Sent from my iPhone
>
> On 02/07/2009, at 6:09 AM, Erik Bruchez <[hidden email]> wrote:
>
>> Jeff,
>>
>> This is a bug related to the datatable and possibly the scoping of  
>> ids in XBL components. We plan to fix this in the short term. If  
>> you remove the index() function, this sample will work again.
>>
>> -Erik
>>
>> On Jun 26, 2009, at 9:39 PM, Jeffrey Lambourne wrote:
>>
>>> Any one with suggestions as to why this occurs on the examples in  
>>> the xforms sandbox.
>>>
>>> Jeff
>>>
>>> Sent from my iPhone
>>>
>>> On 20/06/2009, at 2:45 PM, JeffL <[hidden email]> wrote:
>>>
>>>>
>>>> Having an issue with the use of index in new generation  
>>>> datatables since
>>>> 3.7.1.
>>>>
>>>> Tried the sandbox example 'datatable-ng-index' as well - and get  
>>>> the same
>>>> issue [online website version]
>>>>
>>>> Get error message....
>>>> 'Function index uses repeat id 'repeat' which is not in scope'
>>>>
>>>> Any suggestions
>>>> --
>>>> View this message in context: http://www.nabble.com/New-Generation-Datatables---Issue-with-Index-tp24122576p24122576.html
>>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>>> Nabble.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
>>>
>>> --
>>> 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
>
> --
> 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