ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: Mutl-tenant and delegator in web.xml: webtools issue
Date Tue, 04 Oct 2011 16:26:25 GMT
From: "Daniel McAllister" <rasztasd@gmail.com>
> On 2011. okt.  4., kedd, 04.59.42 CEST, BJ Freeman wrote:
>> also allowing #tenenat has problems since it can access the TenantDB,
>> where the tenatant URI is put for each.
>> BJ Freeman sent the following on 10/3/2011 4:47 PM:
>>> Yes, webtools as such has not been re-factored to use the delegator in
>>> the web.xml of the component, I am guessing it will look in the webtools
>>> web.xml.
>>> this means looking up the component the service comes from then get the
>>> delegator for that component.
>>> in the best situation this should be done in the dispatcher that has
>>> been assigned to the service.
>>> then pass the component to the delegator to look it up.
>>> Just a thought at this point.
>>> Jacques Le Roux sent the following on 10/3/2011 1:10 PM:
>>>> About mutl-tenant and delegator in web.xml: what when you are running a
>>>> service from webtools...? (the dispatcher either can't help...)
>>>> The only hack I found so far was to pass an optionnal _application_name_
>>>> String parameter (with the delegator name in), ugly...
>>>> Jacques
>>>> From: "BJ Freeman"<bjfree@free-man.net>
>>>>> currently minilang is only able to use log for debug.
>>>>> Since we re-factored to multitenant, you need to get the delegator from
>>>>> web.xml
>>>>> Daniel McAllister sent the following on 10/3/2011 10:04 AM:
>>>>>> On 2011. okt.  3., hétfő, 18.52.15 CEST, kiran@objectedge.com wrote:
>>>>>>> Here are two features that I would like in the plugin:
>>>>>>> 1. Find references/implementers of services (both in Java and
>>>>>>> 2. Put break point in minilang.
>>>>>>> Regards,
>>>>>>> Kiran Gawde
>>>>>>> Senior Software Architect
>>>>>>> Object Edge Inc
>>>>>>> (925) 943 5558 x108
>>>>>>> "There are two kind of people: Those who do the work and those
who take
>>>>>>> the credit. Try to be in the first group because there is less
>>>>>>> competition
>>>>>>> there."
>>>>>>> "Never give up on what you really want to do. The person with
>>>>>>> dreams
>>>>>>> is more powerful than one with all the facts".
>>>>>>> From:   Daniel McAllister<rasztasd@gmail.com>
>>>>>>> To:     user@ofbiz.apache.org
>>>>>>> Date:   10/03/2011 05:33 AM
>>>>>>> Subject:        Re: ecllipse/standalone ofbiz developer app
>>>>>>> On 2011. okt.  3., hétfő, 14.29.28 CEST, BJ Freeman wrote:
>>>>>>>> thanks
>>>>>>>> I am using the Webtools Artifact Code mostly, you might look
at that.
>>>>>>>> I scanned the code but not much there, compared to the build
>>>>>>>> my goal is to be able to create widgets and services as drag
and drop.
>>>>>>>> have a entity drag and drop relationship and graphic display.
>>>>>>>> I have the Standalone Gui built, once done will look at Plugin
>>>>>>> Eclipse.
>>>>>>>> Daniel McAllister sent the following on 10/3/2011 5:04 AM:
>>>>>>>>> On 2011. okt.  1., szombat, 04.23.39 CEST, BJ Freeman
>>>>>>>>>> also found this one
>>>>>>> http://www.itu.dk/people/hessellund/smartemf/index.php?page=sourcecode
>>>>>>>>>> BJ Freeman sent the following on 9/30/2011 7:03 PM:
>>>>>>>>>>> I have looked at chatree google project.
>>>>>>>>>>> I use eclipse now.
>>>>>>>>>>> What I want to develope is a ofbiz specific development
>>>>>>>>>>> so the WYSISYG uses the Artifact as well as the
view handlers.
>>>>>>>>>>> some of the feature would include showing a State
machine graph
>>>>>>> tythou
>>>>>>>>>>> can expand with a click, will show the Relationships
of entities
>>>>>>> using
>>>>>>>>>>> the webtools already developed.
>>>>>>>>>>> Eventually be able to define a project processes
and and have
>>>>>>>>>>> the app
>>>>>>>>>>> fillin what processes an data is not already
>>>>>>>>>>> are they any efforts in this direction?
>>>>>>>>> Hello
>>>>>>>>> I have forked this one
>>>>>>>>> http://www.itu.dk/people/hessellund/smartemf/index.php?page=sourcecode
>>>>>>>>> and added some custom changes, like parsing controller.xml
and added
>>>>>>>>> some custom iconds.
>>>>>>>>> The modifications are not full feature ready, I need
to add much more
>>>>>>>>> things like parsing<preprocessor>    tags and so.
>>>>>>>>> Please look at the source code if you are interested.
>>>>>>>>> https://github.com/rasztasd/ofbiz-eclipse-project-explorer
>>>>>>>>> You can use the eclipse update site also:
>>>>>>>>> http://rasztasd.github.com/ofbiz-eclipse-project-explorer/update_site
>>>>>>>>> Please give me some feedback about this. As I have some
more time I
>>>>>>> will
>>>>>>>>> continue to develop this. Any patches are welcome.
>>>>>>>>> Daniel.
>>>>>>> Can you give me any url please? Your tool sounds promising too.
>>>>>> Hi
>>>>>> I have started to implement the find references of services but the
>>>>>> current implementation is very slow. If there are some experienced
>>>>>> eclipse developers who can help me with incremental project building
>>>>>> would appreciate a little help, so I can put the feature back.
>>>>>> Currently it find java code references and controller.xml<event>
>>>>>> references of services.
>>>>>> The java part only finds that if you use a string literal for the
>>>>>> reference like dispatcher.runSync("service_name")
>>>>>> The second thing debugging Minilang (and Beanshell) is possible I
>>>>>> by debugging the Minilang or Beanshell interpreter.
>>>>>> I'm planning to do a Beanshell debugger anyway.
>>>>>> If there are anyone who can help me about how to write a custom debugger
>>>>>> for eclipse that can behave like a Java debugging then help me please.
> I would limit the find Service references feature in the Eclipse  plugin to find only
those places where static code parsing can 
> be used. There are mutch more feature in the plugin I want to do. Im working on a Service
Javadoc parser. Currently I'm not aware 
> of if there are any way to put standardized documentation to beanshell or other type
of files. Maybe if there is a way then the 
> Service javadoc parser can be extended to show up documentations.

FYI: remember then last releases (and of course trunk) rely rather on Groovy than BeanShell


View raw message