You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by amit charaya <of...@palinfocom.net> on 2007/08/10 11:35:28 UTC
Error Message
How can i return error message from simple method as we do in java file using
request.setAttribute("_ERROR_MESSAge,"message");
Thnax
--
View this message in context: http://www.nabble.com/Error-Message-tf4247644.html#a12088209
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error Message
Posted by Scott Gray <le...@gmail.com>.
The best way to find answers to things like this is to search the existing
code, for example i searched the accounting component's script folder for
"error" and the first result was this:
<if-empty field-name="partyRole">
<add-error><fail-property resource="AccountingUiLabels"
property="AccountingPartyMustBeInternalOrganization"/></add-error>
<check-errors/>
</if-empty>
Regards
Scott
On 10/08/07, amit charaya <of...@palinfocom.net> wrote:
>
>
> How can i return error message from simple method as we do in java file
> using
> request.setAttribute("_ERROR_MESSAge,"message");
> Thnax
> --
> View this message in context:
> http://www.nabble.com/Error-Message-tf4247644.html#a12088209
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>