[Seaside] Alternative to call:
Sven Van Caekenberghe
sven at stfx.eu
Sat Mar 28 09:05:02 UTC 2015
> On 28 Mar 2015, at 00:42, J.F. Rick <self at je77.com> wrote:
>
> Right, but, if I were to do a static url, it would be much easier just to use
> html anchor url: '/browse'
> instead of
> html anchor callback: [ self requestContext redirectTo: '/browse' ]
> I just want my top component replaced by the call rather than the component that issues the callback.
With the redirect you will also loose your session I guess, probably not what you want.
For what you want, you need to structure your app differently, but that is up to you, there is not one solution.
Eg. a shell app with one main subcomponent, and some mechanism to communicate, like announcements. Using a top level task can also solve many problems.
> Cheers,
>
> Jeff
>
>
> On Fri, Mar 27, 2015 at 7:31 PM Sven Van Caekenberghe <sven at stfx.eu> wrote:
> WARequestContext>>#redirectTo:
>
> As in
>
> self requestContext redirectTo: '/browse'
>
> > On 28 Mar 2015, at 00:13, J.F. Rick <self at je77.com> wrote:
> >
> > Maybe? :) What's a redirect? I can't really find that either. The main thing I found is this:
> > http://stackoverflow.com/questions/7977179/how-do-i-simply-redirect-to-another-toplevel-seaside-component
> >
> > Cheers,
> >
> > Jeff
> >
> >
> > On Fri, Mar 27, 2015 at 1:20 PM Brad <bsselfridge at gmail.com> wrote:
> > Would a redirect work?
> >
> > Brad Selfridge
> > 913-269-2385
> >
> > > On Mar 27, 2015, at 11:40 AM, J.F. Rick <self at je77.com> wrote:
> > >
> > > This is a silly novice question but I couldn't easily find the answer in the documentation. I'm trying to open up a completely different part of my application. When I do call:, it replaces the component with the new component. I want it to replace everything. What do I do?
> > >
> > > Cheers,
> > >
> > > Jeff
> > > _______________________________________________
> > > seaside mailing list
> > > seaside at lists.squeakfoundation.org
> > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list