xxforms:autocomplete with select1 fails on client side

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

xxforms:autocomplete with select1 fails on client side

Mauno
Hi,

I get client-side exception when I try to use xxforms:autocomplete with xforms:select1. Select1 is inside xforms:repeat. Repeat's nodeset is initially empty and new items are added with trigger. Same select1 works without autocomplete-functionality. Exception occurs when trigger is clicked.

Exception is:
    * Message: actb is not defined
    * File: http://localhost:8081/ops/xforms-server/xforms-dialog-min.js
    * Line number: 9985

Example of the select that causes problems:
<xforms:select1 id="concat(index('code_repeat'),'_id_select')" ref="@id" selection="open" incremental="true" appearance="xxforms:autocomplete">                                                                                               
        <xforms:itemset nodeset="instance('templates')/codeSystem[@id='2']/code">
                <xforms:label ref="./language/@value"/>
                <xforms:value ref="./@id"/>
        </xforms:itemset>
</xforms:select1>

That select1 works if I remove --selection="open" incremental="true" appearance="xxforms:autocomplete"-- part.

Versions: Tomcat 5.5, Liferay 4.3.4, Orbeon Forms Release 3.6.0.200802010415.
Reply | Threaded
Open this post in threaded view
|

Re: xxforms:autocomplete with select1 fails on client side

Alessandro Vernet
Administrator
On Fri, Mar 7, 2008 at 5:10 AM, Mauno <[hidden email]> wrote:
>  I get client-side exception when I try to use xxforms:autocomplete with
>  xforms:select1. Select1 is inside xforms:repeat. Repeat's nodeset is
>  initially empty and new items are added with trigger. Same select1 works
>  without autocomplete-functionality. Exception occurs when trigger is
>  clicked.

Of course, this shouldn't happen. Do you have an example we can run in
the sandbox to reproduce this?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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: xxforms:autocomplete with select1 fails on client side

Mauno
Here is the sandbox.

xforms-test.zip
Alessandro Vernet wrote
On Fri, Mar 7, 2008 at 5:10 AM, Mauno <mauno@leegio.net> wrote:
>  I get client-side exception when I try to use xxforms:autocomplete with
>  xforms:select1. Select1 is inside xforms:repeat. Repeat's nodeset is
>  initially empty and new items are added with trigger. Same select1 works
>  without autocomplete-functionality. Exception occurs when trigger is
>  clicked.

Of course, this shouldn't happen. Do you have an example we can run in
the sandbox to reproduce this?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Reply | Threaded
Open this post in threaded view
|

Re: Re: xxforms:autocomplete with select1 fails on client side

Alessandro Vernet
Administrator
On Tue, Mar 11, 2008 at 11:51 PM, Mauno <[hidden email]> wrote:
>  Here is the sandbox.
>
>  http://www.nabble.com/file/p15998647/xforms-test.zip xforms-test.zip

Thank you for the example. I was able to reproduce this and created a
bug entry for this. You can track it at:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=308848&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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: xxforms:autocomplete with select1 fails on client side

marnold-2
Alessandro Vernet wrote
On Tue, Mar 11, 2008 at 11:51 PM, Mauno <mauno@leegio.net> wrote:
>  Here is the sandbox.
>
>  http://www.nabble.com/file/p15998647/xforms-test.zip xforms-test.zip

Thank you for the example. I was able to reproduce this and created a
bug entry for this. You can track it at:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=308848&group_id=168&atid=350207

Alex

Hi - sorry to sound impatient, but I'm hitting this bug too.

Just wondering if it's fixed in one of the nightly builds?

Cheers,
Malcolm
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: xxforms:autocomplete with select1 fails on client side

Alessandro Vernet
Administrator
Malcolm,

On Tue, Apr 29, 2008 at 9:25 AM, marnold <[hidden email]> wrote:
>  Hi - sorry to sound impatient, but I'm hitting this bug too.
>
>  Just wondering if it's fixed in one of the nightly builds?

Not yet, but this one that we would like to fix. It is not entirely
trivial, but we'll give it a shot a couple of week from now, after
JavaOne, which will keep us all very busy next week :).

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


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

xxforms:autocomplete with select1 fails on client side

Boon Low
In reply to this post by marnold-2
Hi there,

I'm using the 3.7 night build on my site for a few weeks. I've incorporated several xxforms:autocomplete / select1 components which so far have been working fine. However, just this morning, all of these elements suddenly stop working properly and give client side errors. Depending on browsers, the error:

"Message: actb is not defined" or "Message: Value undefined (result of expression ORBEON.xforms.Globals.autoCompleteOpen[documentElement.id]) is not object."

This is very bizarre and seem to relate to this:

Any idea what's causes this. Also I migrate the app to a laptop to the server directly by just zipping and transferring the webapp.

Regards,

Boon

On 29 Apr 2008, at 17:25, marnold wrote:



Alessandro Vernet wrote:

On Tue, Mar 11, 2008 at 11:51 PM, Mauno <[hidden email]> wrote:
Here is the sandbox.

http://www.nabble.com/file/p15998647/xforms-test.zip xforms-test.zip

Thank you for the example. I was able to reproduce this and created a
bug entry for this. You can track it at:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=308848&group_id=168&atid=350207

Alex



Hi - sorry to sound impatient, but I'm hitting this bug too.

Just wondering if it's fixed in one of the nightly builds?

Cheers,
Malcolm
--
View this message in context: http://www.nabble.com/xxforms%3Aautocomplete-with-select1-fails-on-client-side-tp15891195p16964248.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: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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