[Seaside] Using meaningful links

Scott Gibson wsgibson at windstream.net
Sat Jun 4 21:10:45 UTC 2011


On Jun 3, 2011, at 7:17 PM, Norbert Hartl wrote:

> 
> Am 31.05.2011 um 15:00 schrieb Julian Fitzell:
> 
>> Hi Scott,
>> 
>> Sure. There are a number of possible approaches to this, including
>> using a RequestFilter around your application, registering a bunch of
>> "redirection handlers" or (even real applications that share
>> components with your main system), or just implementing
>> #initialRequest: on your root component to parse the URLs.
>> 
> I think it was asked before: What would be an appropriate way of injecting state generate by a filter into the application served by the handler? If I add a request filter that determines some things from the url I might set some things that are evaluated by the application to display certain things. Is there a nice way of doing?
> 
> thanks,
> 
> Norbert
> 

After Julian helped to point me in the right direction I found in the Seaside book (I either forgot or just did not recognize it at the time) something that might help with this.  It is under chapter 18 - Managing from Expired Sessions.  Hope this helps some.

Scott


>> There's nothing built-in to help you generate what the URLs should be,
>> but you can easily implement something like what you're talking about.
>> 
>> Julian
>> 
>> On Sun, May 29, 2011 at 12:40 AM, Scott Gibson <wsgibson at windstream.net> wrote:
>>> I did not state it clearly but my main question was whether what I was looking to do was something that Seaside can provide or if I might need to hack a solution.  Sorry for not being as clear.
>>> 
>>> Thanks,
>>> Scott
>>> 
>>> On May 19, 2011, at 9:11 PM, Scott Gibson wrote:
>>> 
>>>> I am looking to provide the ability within my Seaside app to send emails with meaningful links that could be selected in order to access a particular component view.  I believe that this is possible but I am unsure how so with Seaside.  What are some good approaches to this?
>>>> 
>>>> Right now I am looking at a couple of features that need this, both involve using links in emails that are sent out.  For example:
>>>> 
>>>> - to provide a user login acknowledgement function where an email is sent to a new user in order to confirm their email address
>>>> 
>>>> - the ability for an admin to select a link in an notification email in order to pull up a new user that the link references and do their work
>>>> 
>>>> 
>>>> Thanks!
>>>> Scott Gibson_______________________________________________
>>>> 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