how to use the "new" xforms help in 4.5 ?

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

how to use the "new" xforms help in 4.5 ?

ricetrac
Hello,

I test Orbeon 4.5, and I have a problem with xf:help: there is an javascript error if the xf:input field has no xf:label : it is normal ?
Because we don't use xf:label on own application.

And I thought the appearance of the field help was parameterized with oxf.xforms.help.appearance properties, but which value can I put ? and what is the result ?

thank You.

Julien
Reply | Threaded
Open this post in threaded view
|

Re: how to use the "new" xforms help in 4.5 ?

Alessandro  Vernet
Administrator
Hi Julien,

If you see a JavaScript error, it could be because of a bug in Orbeon Forms. Could you share with us a sort-of minimal example that we can run to reproduce this?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE:[orbeon] Re: how to use the "new" xforms help in 4.5 ?

ricetrac
It is simple : a input field without xf:label.
an example join in this mail.

the error is :
"labelElement is null"
on line 1879 in xforms.js

Thank You
Julien
________________________________________
De : [hidden email] [[hidden email]] de la part de Alessandro Vernet [[hidden email]]
Envoyé : jeudi 8 mai 2014 18:48
À : [hidden email]
Objet : [orbeon] Re: how to use the "new" xforms help in 4.5 ?

Hi Julien,

If you see a JavaScript error, it could be because of a bug in Orbeon Forms.
Could you share with us a sort-of minimal example that we can run to
reproduce this?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
View this message in context: http://discuss.orbeon.com/how-to-use-the-new-xforms-help-in-4-5-tp4658348p4658349.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

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

Re: RE:[orbeon] Re: how to use the "new" xforms help in 4.5 ?

Alessandro  Vernet
Administrator
Hi Julien,

I was able to reproduce this, and created a bug for this. Since this is a regression, we'll definitely try to fix this for 4.6 (if not 4.5.1). For now I just created this issue:

https://github.com/orbeon/orbeon-forms/issues/1713

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: how to use the "new" xforms help in 4.5 ?

ricetrac
Hi Alessandro ,

Thank you for this.
I have two other questions :
how to use the property help.appearance ?
And it is possible to activate the old appareance of xf:help ?

Thank you

Julien

> Le 10 mai 2014 à 02:11, "Alessandro Vernet" <[hidden email]> a écrit :
>
> Hi Julien,
>
> I was able to reproduce this, and created a bug for this. Since this is a
> regression, we'll definitely try to fix this for 4.6 (if not 4.5.1). For now
> I just created this issue:
>
> https://github.com/orbeon/orbeon-forms/issues/1713
>
> Alex
>
> -----
> --
> Follow Orbeon on Twitter: @orbeon
> Follow me on Twitter: @avernet
> --
> View this message in context: http://discuss.orbeon.com/how-to-use-the-new-xforms-help-in-4-5-tp4658348p4658355.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: how to use the "new" xforms help in 4.5 ?

Alessandro  Vernet
Administrator
Hi Julien,

#1713 is fixed and we will put that in 4.5.1 since this is a very simple fix. Sorry for the regression!

You can't get the old appearance anymore. We implemented this new appearance because it is modern (both as far as its appearance goes, and the technologies used, i.e. Bootstrap instead of YUI), it isn't model, and allows longer pieces of text to be shown, properly handling scrolling. Now of course, it doesn't mean it is perfect, so you'll let us know if you'd like to see any improvements.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet