Empty help icon displayed on repeated elements

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

Empty help icon displayed on repeated elements

Chris Bailey-2
Phew, on a bit of a roll here...

Something I've noticed in orbeon for a few months now.
If I have a repeated item with a help associated (but the reference is
pointing to an empty node) orbeon sensibly hides the help icon. However
when a new repeated item is added, orbeon displays the help icon.

The attached page demonstrates this in the sandbox.


Chris.


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

xforms_test_repeat_help.xhtml (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Empty help icon displayed on repeated elements

Alessandro Vernet
Administrator
Chris,

On Aug 22, 2008, at 9:46 AM, Chris Bailey wrote:

> Phew, on a bit of a roll here...
>
> Something I've noticed in orbeon for a few months now.
> If I have a repeated item with a help associated (but the reference  
> is pointing to an empty node) orbeon sensibly hides the help icon.  
> However when a new repeated item is added, orbeon displays the help  
> icon.


Yes, good catch. I created a bug for this:

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

This is happening because the template for the repeat iteration  
doesn't have an xforms-disabled class on the help. When copying the  
template, we just copy the help, don't set a new empty help and hence  
the help icon is shown.

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
|

Re: Re: Empty help icon displayed on repeated elements

Erik Bruchez
Administrator
>> Phew, on a bit of a roll here...

>>
>> Something I've noticed in orbeon for a few months now.
>> If I have a repeated item with a help associated (but the reference  
>> is pointing to an empty node) orbeon sensibly hides the help icon.  
>> However when a new repeated item is added, orbeon displays the help  
>> icon.
>
>
> Yes, good catch. I created a bug for this:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=310939&group_id=168&atid=350207
Fixed now.

-Erik

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