Are you aware of the messages.ftl files ?

Jacques

From: "Abdullah Shaikh" <[email protected]>
For displaying the error messages right besides the input fields, I am using
"fieldErrors" macro, which I copied from ecommerce's newcustomer.ftl. I have
seen that the macro is being used in 2 ftl files newcustmer.ftl &
quickAnonCustSettings.ftl, in which the macro is copy/pasted.

Can we move the macro "fieldErrors" & "fieldErrorsMulti" in some common ftl
file so that when required we can import the common ftl file and use the
macro instead of doing copy/paste.

In my component I have created a common ftl file, but it will be better if
we can have this in ofbiz itself. what say ?

Reply via email to