Specifically my problem relates to error dialog generated by the max-upload-size property being broken which i've set in properties-local.xml
<property as="xs:integer" processor-name="oxf:request" name="max-upload-size" value="2097152"/> Still i'm getting this even though i've overwritten error-dialog.xml file in WEB-INF/resources/config/ AND WEB-INF/resources/apps/app-name/ in an attempt to take control of this dialog. Isn't there a way for me to make a custom dialog for this event? |
Hello,
I have overwritten too the error.xsl file in WEB-INF/resources/config and the xforms-server-error.xpl file in WEB-INF/resources/ops/xforms. Julien. -----Message d'origine----- De : throwaway123 [mailto:[hidden email]] Envoyé : mercredi 24 octobre 2012 11:41 À : [hidden email] Objet : [ops-users] max-upload-size property and error dialog Specifically my problem relates to error dialog generated by the max-upload-size property being broken which i've set in properties-local.xml <property as="xs:integer" processor-name="oxf:request" name="max-upload-size" value="2097152"/> Still i'm getting this even though i've overwritten error-dialog.xml file in WEB-INF/resources/config/ AND WEB-INF/resources/apps/app-name/ in an attempt to take control of this dialog. <http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n4655905/error_dialog.jpg> Isn't there a way for me to make a custom dialog for this event? -- View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/max-upload-size-property-and-error-dialog-tp4655905.html Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- 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 |
In reply to this post by throwaway123
I'm still having problems with the property.
Doesn't anyone know how i could override the "you may want to try one of the following" text or better yet disable this error or override it entirely. |
Administrator
|
Which version of Orbeon Forms are you using? Is this with forms you
create by hand, or with Form Builder? Alex On Mon, Dec 10, 2012 at 6:08 AM, throwaway123 <[hidden email]> wrote: > I'm still having problems with the property. > > Doesn't anyone know how i could override the "you may want to try one of the > following" text or better yet disable this error or override it entirely. > > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/max-upload-size-property-and-error-dialog-tp4655905p4656094.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Orbeon Forms 3.9
Created with form builder but some customization. The requirement is to be able to: * Limit file endings (i know this is not very comprehensive) * Limit file size The file endings can be done quite easily with @filename property The file size however was done by changing the aforementioned max-upload-size property, but when that rule is broken i'm being shown an error dialog which links back @home, to the form builder. I want a customized message, which i haven't been able to attain. Even by repackaging the jars and replacing the error-dialog.xml |
Administrator
|
I see, indeed. I think that a better behavior would be to, out of the
box, inform users that the file they uploaded is too large. I don't really see a way around this by you intercepting the error, because currently the error returned by the server does not contain enough information to allow to discriminate between a file that is too large and some other serious error. For now, I created an issue for this: https://github.com/orbeon/orbeon-forms/issues/677 Alex On Tue, Dec 18, 2012 at 3:30 AM, throwaway123 <[hidden email]> wrote: > Orbeon Forms 3.9 > Created with form builder but some customization. > > The requirement is to be able to: > * Limit file endings (i know this is not very comprehensive) > * Limit file size > > The file endings can be done quite easily with @filename property > The file size however was done by changing the aforementioned > max-upload-size property, but when that rule is broken i'm being shown an > error dialog which links back @home, to the form builder. > I want a customized message, which i haven't been able to attain. > > Even by repackaging the jars and replacing the error-dialog.xml > > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/max-upload-size-property-and-error-dialog-tp4655905p4656133.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |