Yes I am aware of messages.ftl file, but what I meant was, if the user want
to display the error message just beside (or somewhere around) the input
field, and not as a whole in a single div.

On Sat, Aug 29, 2009 at 11:26 PM, Jacques Le Roux
<[email protected]>wrote:

> 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