alert on xforms:output?

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

alert on xforms:output?

Adrian Baker-2
OPS doesn't seem to output alert text for xforms:output elements.

It might seem counter-intuitive to have an invalid display-only field,
but there are cases when it's useful - eg a calculated 'total' field on
an invoice which should be under a certain amount.

It looks like adding support for this would be as simple as adding

    handleLabelHintHelpAlert(effectiveId, "alert", controlInfo);

to the end of org.orbeon.oxf.xforms.processor.handlers.XFormsOutputHandler

Adrian



--
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: alert on xforms:output?

Erik Bruchez
Administrator
Adrian,

Thanks, this is now fixed!

-Erik

Adrian Baker wrote:

> OPS doesn't seem to output alert text for xforms:output elements.
>
> It might seem counter-intuitive to have an invalid display-only field,
> but there are cases when it's useful - eg a calculated 'total' field on
> an invoice which should be under a certain amount.
>
> It looks like adding support for this would be as simple as adding
>
>    handleLabelHintHelpAlert(effectiveId, "alert", controlInfo);
>
> to the end of org.orbeon.oxf.xforms.processor.handlers.XFormsOutputHandler
>
> Adrian
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



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