Link To Another App

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

Link To Another App

Kesslers
I am creating a new app.  I would like to
include links to other app in my app.  In order to get the login key
included in my link I need to have it generated.  I have been looking
at the way ComponentConfig.java works in appbar.ftl.  Nevertheless, I
have not been able to figure out how to generate a specific link from my app


to another app (ie: Party Manager).  Thank you for your time and
assistance.
David
Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

BJ Freeman
not sure if your talking about your app being in ofbiz or outside.
Have you read the production setup pdf?
There is an example app in framework you can use to start your own app.
The others are included, by default.


kesslerdn sent the following on 6/29/2006 5:09 AM:

> I am creating a new app.  I would like to
> include links to other app in my app.  In order to get the login key
> included in my link I need to have it generated.  I have been looking
> at the way ComponentConfig.java works in appbar.ftl.  Nevertheless, I
> have not been able to figure out how to generate a specific link from my app
>
>
> to another app (ie: Party Manager).  Thank you for your time and
> assistance.
> David
>
Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

Kesslers
In reply to this post by Kesslers
I'm sorry I must have not been very clear.  I am able to get my app knit
into the ofbiz apps.  It is listed on the app bar.  However I want to insert
a link in one of my pages to a specific page within another app.  How can I
generate a single link in one of my pages that connects to a specific page
in another app.  This generated link will need the login key in order that
the user does not have to login again when they click the link.

David


>not sure if your talking about your app being in ofbiz or outside.
>Have you read the production setup pdf?
>There is an example app in framework you can use to start your own app.
>The others are included, by default.
>
>
>kesslerdn sent the following on 6/29/2006 5:09 AM:
>> I am creating a new app.  I would like to
>> include links to other app in my app.  In order to get the login key
>> included in my link I need to have it generated.  I have been looking
>> at the way ComponentConfig.java works in appbar.ftl.  Nevertheless, I
>> have not been able to figure out how to generate a specific link from my
app
>>
>>
>> to another app (ie: Party Manager).  Thank you for your time and
>> assistance.
>> David
>>
Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

BJ Freeman
If I understand you right, you want open a new screen from a current
app, like partymgr with a link your your app.

short answer thru your controller, you can link to any part of ofbiz you
want.


kesslerdn sent the following on 6/29/2006 3:42 PM:

> I'm sorry I must have not been very clear.  I am able to get my app knit
> into the ofbiz apps.  It is listed on the app bar.  However I want to insert
> a link in one of my pages to a specific page within another app.  How can I
> generate a single link in one of my pages that connects to a specific page
> in another app.  This generated link will need the login key in order that
> the user does not have to login again when they click the link.
>
> David
>
>
>> not sure if your talking about your app being in ofbiz or outside.
>> Have you read the production setup pdf?
>> There is an example app in framework you can use to start your own app.
>> The others are included, by default.
>>
>>
>> kesslerdn sent the following on 6/29/2006 5:09 AM:
>>> I am creating a new app.  I would like to
>>> include links to other app in my app.  In order to get the login key
>>> included in my link I need to have it generated.  I have been looking
>>> at the way ComponentConfig.java works in appbar.ftl.  Nevertheless, I
>>> have not been able to figure out how to generate a specific link from my
> app
>>>
>>> to another app (ie: Party Manager).  Thank you for your time and
>>> assistance.
>>> David
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

Adrian Crum
In a screen widget use url-mode="inter-app" in your link target, or in an ftl
file use the @ofbizUrl macro.


BJ Freeman wrote:

> If I understand you right, you want open a new screen from a current
> app, like partymgr with a link your your app.
>
> short answer thru your controller, you can link to any part of ofbiz you
> want.
>
>
> kesslerdn sent the following on 6/29/2006 3:42 PM:
>
>> I'm sorry I must have not been very clear.  I am able to get my app
>> knit into the ofbiz apps.  It is listed on the app bar.  However I
>> want to insert a link in one of my pages to a specific page within
>> another app.  How can I generate a single link in one of my pages that
>> connects to a specific page in another app.  This generated link will
>> need the login key in order that the user does not have to login again
>> when they click the link.
>>
>> David
>>
>>
>>> not sure if your talking about your app being in ofbiz or outside.
>>> Have you read the production setup pdf?
>>> There is an example app in framework you can use to start your own app.
>>> The others are included, by default.
>>>
>>>
>>> kesslerdn sent the following on 6/29/2006 5:09 AM:
>>>
>>>> I am creating a new app.  I would like to include links to other app
>>>> in my app.  In order to get the login key included in my link I need
>>>> to have it generated.  I have been looking at the way
>>>> ComponentConfig.java works in appbar.ftl.  Nevertheless, I have not
>>>> been able to figure out how to generate a specific link from my
>>
>> app
>>
>>>>
>>>> to another app (ie: Party Manager).  Thank you for your time and
>>>> assistance.
>>>> David
>>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

BJ Freeman
I thought of those, but with the direction the layout is going, I am not
sure these will supported once framework is standalone and application
are moved to the normal structure in tomcat or gerinimo.


Adrian Crum sent the following on 6/29/2006 4:07 PM:

> In a screen widget use url-mode="inter-app" in your link target, or in
> an ftl file use the @ofbizUrl macro.
>
>
> BJ Freeman wrote:
>
>> If I understand you right, you want open a new screen from a current
>> app, like partymgr with a link your your app.
>>
>> short answer thru your controller, you can link to any part of ofbiz
>> you want.
>>
>>
>> kesslerdn sent the following on 6/29/2006 3:42 PM:
>>
>>> I'm sorry I must have not been very clear.  I am able to get my app
>>> knit into the ofbiz apps.  It is listed on the app bar.  However I
>>> want to insert a link in one of my pages to a specific page within
>>> another app.  How can I generate a single link in one of my pages
>>> that connects to a specific page in another app.  This generated link
>>> will need the login key in order that the user does not have to login
>>> again when they click the link.
>>>
>>> David
>>>
>>>
>>>> not sure if your talking about your app being in ofbiz or outside.
>>>> Have you read the production setup pdf?
>>>> There is an example app in framework you can use to start your own app.
>>>> The others are included, by default.
>>>>
>>>>
>>>> kesslerdn sent the following on 6/29/2006 5:09 AM:
>>>>
>>>>> I am creating a new app.  I would like to include links to other
>>>>> app in my app.  In order to get the login key included in my link I
>>>>> need to have it generated.  I have been looking at the way
>>>>> ComponentConfig.java works in appbar.ftl.  Nevertheless, I have not
>>>>> been able to figure out how to generate a specific link from my
>>>
>>> app
>>>
>>>>>
>>>>> to another app (ie: Party Manager).  Thank you for your time and
>>>>> assistance.
>>>>> David
>>>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

Hans Bakker

The big problem with this is that the decorator of the calling screen is
replaced by the decorator of the screen which is called....


On Friday 30 June 2006 07:41, BJ Freeman wrote:

> I thought of those, but with the direction the layout is going, I am not
> sure these will supported once framework is standalone and application
> are moved to the normal structure in tomcat or gerinimo.
>
> Adrian Crum sent the following on 6/29/2006 4:07 PM:
> > In a screen widget use url-mode="inter-app" in your link target, or in
> > an ftl file use the @ofbizUrl macro.
> >
> > BJ Freeman wrote:
> >> If I understand you right, you want open a new screen from a current
> >> app, like partymgr with a link your your app.
> >>
> >> short answer thru your controller, you can link to any part of ofbiz
> >> you want.
> >>
> >> kesslerdn sent the following on 6/29/2006 3:42 PM:
> >>> I'm sorry I must have not been very clear.  I am able to get my app
> >>> knit into the ofbiz apps.  It is listed on the app bar.  However I
> >>> want to insert a link in one of my pages to a specific page within
> >>> another app.  How can I generate a single link in one of my pages
> >>> that connects to a specific page in another app.  This generated link
> >>> will need the login key in order that the user does not have to login
> >>> again when they click the link.
> >>>
> >>> David
> >>>
> >>>> not sure if your talking about your app being in ofbiz or outside.
> >>>> Have you read the production setup pdf?
> >>>> There is an example app in framework you can use to start your own
> >>>> app. The others are included, by default.
> >>>>
> >>>> kesslerdn sent the following on 6/29/2006 5:09 AM:
> >>>>> I am creating a new app.  I would like to include links to other
> >>>>> app in my app.  In order to get the login key included in my link I
> >>>>> need to have it generated.  I have been looking at the way
> >>>>> ComponentConfig.java works in appbar.ftl.  Nevertheless, I have not
> >>>>> been able to figure out how to generate a specific link from my
> >>>
> >>> app
> >>>
> >>>>> to another app (ie: Party Manager).  Thank you for your time and
> >>>>> assistance.
> >>>>> David
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

cjhowe
To get the a screen from the party application into a
custom app screen do the following:

1) make sure the party app is using for it's decorator
location ${parameters.mainDecoratorLocation}

2) make sure you have defined mainDecoratorLocation in
your custom app's WEB-INF/web.xml file

3) make the request to a uri in your app's
controller.xml

4) make that uri call a view

5) make that view call the screen from the party app

Following these steps will display that screen with
the decorator in your application (provided your
decorator has the same name that the party app's
screen is calling  (ie main-decorator)


--- Hans Bakker <[hidden email]> wrote:

>
> The big problem with this is that the decorator of
> the calling screen is
> replaced by the decorator of the screen which is
> called....
>
>
> On Friday 30 June 2006 07:41, BJ Freeman wrote:
> > I thought of those, but with the direction the
> layout is going, I am not
> > sure these will supported once framework is
> standalone and application
> > are moved to the normal structure in tomcat or
> gerinimo.
> >
> > Adrian Crum sent the following on 6/29/2006 4:07
> PM:
> > > In a screen widget use url-mode="inter-app" in
> your link target, or in
> > > an ftl file use the @ofbizUrl macro.
> > >
> > > BJ Freeman wrote:
> > >> If I understand you right, you want open a new
> screen from a current
> > >> app, like partymgr with a link your your app.
> > >>
> > >> short answer thru your controller, you can link
> to any part of ofbiz
> > >> you want.
> > >>
> > >> kesslerdn sent the following on 6/29/2006 3:42
> PM:
> > >>> I'm sorry I must have not been very clear.  I
> am able to get my app
> > >>> knit into the ofbiz apps.  It is listed on the
> app bar.  However I
> > >>> want to insert a link in one of my pages to a
> specific page within
> > >>> another app.  How can I generate a single link
> in one of my pages
> > >>> that connects to a specific page in another
> app.  This generated link
> > >>> will need the login key in order that the user
> does not have to login
> > >>> again when they click the link.
> > >>>
> > >>> David
> > >>>
> > >>>> not sure if your talking about your app being
> in ofbiz or outside.
> > >>>> Have you read the production setup pdf?
> > >>>> There is an example app in framework you can
> use to start your own
> > >>>> app. The others are included, by default.
> > >>>>
> > >>>> kesslerdn sent the following on 6/29/2006
> 5:09 AM:
> > >>>>> I am creating a new app.  I would like to
> include links to other
> > >>>>> app in my app.  In order to get the login
> key included in my link I
> > >>>>> need to have it generated.  I have been
> looking at the way
> > >>>>> ComponentConfig.java works in appbar.ftl.
> Nevertheless, I have not
> > >>>>> been able to figure out how to generate a
> specific link from my
> > >>>
> > >>> app
> > >>>
> > >>>>> to another app (ie: Party Manager).  Thank
> you for your time and
> > >>>>> assistance.
> > >>>>> David
>
> --
> Regards,
> Hans Bakker
> ANT Websystems Co.,Ltd
> (http://www.antwebsystems.com)
>
> If you want to verify that this message really
> originates from
> from the above person, download the public key from:
>
http://www.antwebsystems.com/hbakkerAntwebsystems.asc
>

Reply | Threaded
Open this post in threaded view
|

Re: Link To Another App

cjhowe
In reply to this post by Hans Bakker
forgot step 6 would reply to my own post but the
apache lists take a bit of time to process emails...

step 6) make sure your app can handle (has a uri) all
of the requests that the party app's screen has for
links/form action

--- Hans Bakker <[hidden email]> wrote:

>
> The big problem with this is that the decorator of
> the calling screen is
> replaced by the decorator of the screen which is
> called....
>
>
> On Friday 30 June 2006 07:41, BJ Freeman wrote:
> > I thought of those, but with the direction the
> layout is going, I am not
> > sure these will supported once framework is
> standalone and application
> > are moved to the normal structure in tomcat or
> gerinimo.
> >
> > Adrian Crum sent the following on 6/29/2006 4:07
> PM:
> > > In a screen widget use url-mode="inter-app" in
> your link target, or in
> > > an ftl file use the @ofbizUrl macro.
> > >
> > > BJ Freeman wrote:
> > >> If I understand you right, you want open a new
> screen from a current
> > >> app, like partymgr with a link your your app.
> > >>
> > >> short answer thru your controller, you can link
> to any part of ofbiz
> > >> you want.
> > >>
> > >> kesslerdn sent the following on 6/29/2006 3:42
> PM:
> > >>> I'm sorry I must have not been very clear.  I
> am able to get my app
> > >>> knit into the ofbiz apps.  It is listed on the
> app bar.  However I
> > >>> want to insert a link in one of my pages to a
> specific page within
> > >>> another app.  How can I generate a single link
> in one of my pages
> > >>> that connects to a specific page in another
> app.  This generated link
> > >>> will need the login key in order that the user
> does not have to login
> > >>> again when they click the link.
> > >>>
> > >>> David
> > >>>
> > >>>> not sure if your talking about your app being
> in ofbiz or outside.
> > >>>> Have you read the production setup pdf?
> > >>>> There is an example app in framework you can
> use to start your own
> > >>>> app. The others are included, by default.
> > >>>>
> > >>>> kesslerdn sent the following on 6/29/2006
> 5:09 AM:
> > >>>>> I am creating a new app.  I would like to
> include links to other
> > >>>>> app in my app.  In order to get the login
> key included in my link I
> > >>>>> need to have it generated.  I have been
> looking at the way
> > >>>>> ComponentConfig.java works in appbar.ftl.
> Nevertheless, I have not
> > >>>>> been able to figure out how to generate a
> specific link from my
> > >>>
> > >>> app
> > >>>
> > >>>>> to another app (ie: Party Manager).  Thank
> you for your time and
> > >>>>> assistance.
> > >>>>> David
>
> --
> Regards,
> Hans Bakker
> ANT Websystems Co.,Ltd
> (http://www.antwebsystems.com)
>
> If you want to verify that this message really
> originates from
> from the above person, download the public key from:
>
http://www.antwebsystems.com/hbakkerAntwebsystems.asc
>