Chris,

Thanks for the links! I didn't think to research if it had already been 
suggested.

Your solution is an interesting one and addresses the main reason for the 
enhancement - how to call a simple method without having to define a service 
for it.

-Adrian

Chris Howe <[EMAIL PROTECTED]> wrote: There has been discussed in the past:
http://www.nabble.com/forum/ViewPost.jtp?post=2515155&framed=y
and here regarding java methods
http://issues.apache.org/jira/browse/OFBIZ-44

IIRC, there was one more in regards to OFBIZ-44 on one of the ML, but
the consensus was the same.

I see the arguments against it still being valid as far as best
practice.  That said, I do use a generic service that takes a
simple-method name, location and inMap parameter (later sets
parameters= inMap), that accomplishes the same thing for convenience.

--- Adrian Crum  wrote:

> Right now the screen widget only accepts bsh scripts in the 
> section. I have a working example of the screen widget accepting
> simple methods also. It looks like this:
> 
> 
>     
>
location="component://example/script/org/ofbiz/example/example/ExampleScripts.xml#myScript"/>
> 
>  
> Would something like that be useful to others? Should I commit it?
> 
> -Adrian
> 
> 
>        
> ---------------------------------
> Looking for last minute shopping deals?  Find them fast with Yahoo!
Search.



       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Reply via email to