Open a component in the context of a different application

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

Open a component in the context of a different application

keith1y
I am after some ideas as to how to achieve the following:

In one application the session is configured to be WASession. I wish to
click on a link in this application and be taken to a component within
the context (i.e. configuration settings and session of) another
application.

can it be done?

Keith




               
___________________________________________________________
Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Open a component in the context of a different application

Damien Cassou-3
Keith Hodges wrote:
> I am after some ideas as to how to achieve the following:
>
> In one application the session is configured to be WASession. I wish to
> click on a link in this application and be taken to a component within
> the context (i.e. configuration settings and session of) another
> application.
>
> can it be done?

You may want to use a static link to the other application:

html anchor
   url: '/seaside/otherApplication'
   text: 'Goto other application'


This is not tested, just a hint



Bye
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Open a component in the context of a different application

keith1y
Damien Cassou wrote:

> Keith Hodges wrote:
>> I am after some ideas as to how to achieve the following:
>>
>> In one application the session is configured to be WASession. I wish to
>> click on a link in this application and be taken to a component within
>> the context (i.e. configuration settings and session of) another
>> application.
>>
>> can it be done?
>
> You may want to use a static link to the other application:
>
> html anchor
>   url: '/seaside/otherApplication'
>   text: 'Goto other application'
Unfortunately the component doesn't have an entry point in the other
application.

Keith

               
___________________________________________________________
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal
http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Open a component in the context of a different application

Damien Cassou-3
Keith Hodges wrote:

> Damien Cassou wrote:
>> Keith Hodges wrote:
>>> I am after some ideas as to how to achieve the following:
>>>
>>> In one application the session is configured to be WASession. I wish to
>>> click on a link in this application and be taken to a component within
>>> the context (i.e. configuration settings and session of) another
>>> application.
>>>
>>> can it be done?
>>
>> You may want to use a static link to the other application:
>>
>> html anchor
>>   url: '/seaside/otherApplication'
>>   text: 'Goto other application'
> Unfortunately the component doesn't have an entry point in the other
> application.

I don't know of any solution to switch within Seaside. You may try
special parameters to the url:

html anchor
     url: '/seaside/otherApplication?secretComponent=MYSECRETCODE12982'
     text: 'something'


ok, this is awful. Somebody might have another solution.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Open a component in the context of a different application

keith1y
Damien,

thanks for your ideas... appreciated. As is often the case when it
doesnt work, rethinking is needed.

Keith

>>>  
>>>> I am after some ideas as to how to achieve the following:
>>>>
>>>> In one application the session is configured to be WASession. I
>>>> wish to
>>>> click on a link in this application and be taken to a component within
>>>> the context (i.e. configuration settings and session of) another
>>>> application.
>>>>
>>>> can it be done?
>>>
>>> You may want to use a static link to the other application:
>>>
>>> html anchor
>>>   url: '/seaside/otherApplication'
>>>   text: 'Goto other application'
>> Unfortunately the component doesn't have an entry point in the other
>> application.
>
> I don't know of any solution to switch within Seaside. You may try
> special parameters to the url:
>
> html anchor
>     url: '/seaside/otherApplication?secretComponent=MYSECRETCODE12982'
>     text: 'something'
>
>
> ok, this is awful. Somebody might have another solution.
> _______________________________________________


               
___________________________________________________________
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Open a component in the context of a different application

Damien Cassou-3
Keith Hodges wrote:
> Damien,
>
> thanks for your ideas... appreciated. As is often the case when it
> doesnt work, rethinking is needed.


If you manage to make it work, you can post your solution here. It can
be useful.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside