You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2008/01/30 08:54:11 UTC
Re: svn commit: r616639 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java
Good idea !
Jacques
> Author: adrianc
> Date: Tue Jan 29 21:49:25 2008
> New Revision: 616639
>
> URL: http://svn.apache.org/viewvc?rev=616639&view=rev
> Log:
> Added the ability to call simple methods from screen widgets. This eliminates the need to define a service to call a simple
> method.
>
> Just use the <script location="component://... .xml#methodName" syntax. The simple method call works just like a service event -
> the result Map elements are copied into the screen context.
>
> Note that this enhancement should NOT be used to circumvent existing services - since many processes depend upon SECAs, which
> won't get executed using this screen widget operation.
>
> Modified:
> ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java