embedd a component in another

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

embedd a component in another

Olaf Lüke
Hallo,

I wrote a component that can render me an olap table using mondrian with a customized jpivot. this component should be independent from all other components, so the olap support can be enabled/disabled easily. What is the best way to embedd this component in the main component?
I am new to ofbiz and a little bit puzzled by the huge amount of configuration files.

To make this clear, there is something like
applications/frontend/...
and
applications/mondrian/...

and i want to embedd things from mondrina/ (which does have an own webapp and so on) in frontend.

cheers,
Olaf
Reply | Threaded
Open this post in threaded view
|

Re: embedd a component in another

cjhowe
Jacopo recently added the olap functionality to OFBiz in the special
purpose folder.  I gave instructions on how to incorporate openI last
year that uses mondrian
http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz

but to answer your question, the easiest place to put your customized
component is in the hot-deploy folder.  It will automatically get
loaded provided it has an ofbiz-component.xml file in the root of the
component.

--- Olaf Lüke <[hidden email]> wrote:

>
> Hallo,
>
> I wrote a component that can render me an olap table using mondrian
> with a
> customized jpivot. this component should be independent from all
> other
> components, so the olap support can be enabled/disabled easily. What
> is the
> best way to embedd this component in the main component?
> I am new to ofbiz and a little bit puzzled by the huge amount of
> configuration files.
>
> To make this clear, there is something like
> applications/frontend/...
> and
> applications/mondrian/...
>
> and i want to embedd things from mondrina/ (which does have an own
> webapp
> and so on) in frontend.
>
> cheers,
> Olaf
> --
> View this message in context:
>
http://www.nabble.com/embedd-a-component-in-another-tp14593826p14593826.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: embedd a component in another

Olaf Lüke
The mondrian component itself works fine allready, but what is the best way to access it from another component? is it possible to configure the controller.xml from the frontend component in a way, that it renders a jsp from the mondrian component and shows it? I cant find any hints in the documentation for this.

cjhowe wrote
Jacopo recently added the olap functionality to OFBiz in the special
purpose folder.  I gave instructions on how to incorporate openI last
year that uses mondrian
http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz

but to answer your question, the easiest place to put your customized
component is in the hot-deploy folder.  It will automatically get
loaded provided it has an ofbiz-component.xml file in the root of the
component.

--- Olaf Lüke <Olaf.Lueke@Bertelsmann.de> wrote:

>
> Hallo,
>
> I wrote a component that can render me an olap table using mondrian
> with a
> customized jpivot. this component should be independent from all
> other
> components, so the olap support can be enabled/disabled easily. What
> is the
> best way to embedd this component in the main component?
> I am new to ofbiz and a little bit puzzled by the huge amount of
> configuration files.
>
> To make this clear, there is something like
> applications/frontend/...
> and
> applications/mondrian/...
>
> and i want to embedd things from mondrina/ (which does have an own
> webapp
> and so on) in frontend.
>
> cheers,
> Olaf
> --
> View this message in context:
>
http://www.nabble.com/embedd-a-component-in-another-tp14593826p14593826.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

RE: embedd a component in another

mikeymwong
Have a check on this "applications/ecommerce/webapp/ecomclone", this may
help...

Mike

-----Original Message-----
From: Olaf Lüke [mailto:[hidden email]]
Sent: Thursday, January 03, 2008 17:21
To: [hidden email]
Subject: Re: embedd a component in another


The mondrian component itself works fine allready, but what is the best way
to access it from another component? is it possible to configure the
controller.xml from the frontend component in a way, that it renders a jsp
from the mondrian component and shows it? I cant find any hints in the
documentation for this.


cjhowe wrote:
>
> Jacopo recently added the olap functionality to OFBiz in the special
> purpose folder.  I gave instructions on how to incorporate openI last
> year that uses mondrian
>
http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29
+under+OFBiz

>
> but to answer your question, the easiest place to put your customized
> component is in the hot-deploy folder.  It will automatically get
> loaded provided it has an ofbiz-component.xml file in the root of the
> component.
>
> --- Olaf Lüke <[hidden email]> wrote:
>
>>
>> Hallo,
>>
>> I wrote a component that can render me an olap table using mondrian
>> with a
>> customized jpivot. this component should be independent from all
>> other
>> components, so the olap support can be enabled/disabled easily. What
>> is the
>> best way to embedd this component in the main component?
>> I am new to ofbiz and a little bit puzzled by the huge amount of
>> configuration files.
>>
>> To make this clear, there is something like
>> applications/frontend/...
>> and
>> applications/mondrian/...
>>
>> and i want to embedd things from mondrina/ (which does have an own
>> webapp
>> and so on) in frontend.
>>
>> cheers,
>> Olaf
>> --
>> View this message in context:
>>
>
http://www.nabble.com/embedd-a-component-in-another-tp14593826p14593826.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>
>
>

--
View this message in context:
http://www.nabble.com/embedd-a-component-in-another-tp14593826p14594006.html
Sent from the OFBiz - User mailing list archive at Nabble.com.