This has probably been asked before but how can I get control of the
error message that shows up on top of the page when an XForm is invalid? It keeps shifting the page up and down and I would like to control the error message myself and/or display in a dedicated div. Thanks *P -- 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 |
Administrator
|
Pascal,
Are you talking about the error message that appears in red at the top of the page after "XForms error:"? You only have a limited control over how this message is displayed. You can use CSS as the message is in a span with class="xforms-loading-error". Typically however, this message should never be visible to an end-user of your application, just like the exception displayed if there is an error in the page at load time. Alex On 3/27/06, Pascal Heus <[hidden email]> wrote: > This has probably been asked before but how can I get control of the > error message that shows up on top of the page when an XForm is invalid? > It keeps shifting the page up and down and I would like to control the > error message myself and/or display in a dedicated div. > Thanks > *P > > > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex:
yes, this is my problem. Placing a <xhtml:span class="xforms-loading-error"/> in my document allows me to control the display location which is what I was looking for. Thanks for your help :-) *P Alessandro Vernet wrote: Pascal, Are you talking about the error message that appears in red at the top of the page after "XForms error:"? You only have a limited control over how this message is displayed. You can use CSS as the message is in a span with class="xforms-loading-error". Typically however, this message should never be visible to an end-user of your application, just like the exception displayed if there is an error in the page at load time. Alex On 3/27/06, Pascal Heus [hidden email] wrote:This has probably been asked before but how can I get control of the error message that shows up on top of the page when an XForm is invalid? It keeps shifting the page up and down and I would like to control the error message myself and/or display in a dedicated div. Thanks *P -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws-- Blog (XML, Web apps, Open Source): 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 |
Free forum by Nabble | Edit this page |