The closest thing I know of to documentation of these things is the
StripesConstants javadoc.

http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/controller/StripesConstants.html

The value of _sourcePage is just the relative path of the page that
generated the form, but every encrypted value includes a nonce and a hash
code. That might be why it looks like binary data. That's not really
documented anywhere except the source code itself.

-Ben

On Fri, Nov 26, 2010 at 4:52 PM, Nikolaos Giannopoulos <
nikol...@brightminds.org> wrote:

> Ben,
>
> That's quite funny as I what I did and I was initially surprised to see the
> message on the redirect.  Appears to be - once again - a case were in
> Stripes is smarter than expected.  That clears it up.  Thank You.
>
> Incidentally, is there a place that documents the different params that
> Stripes uses and moreover expands their abbreviations... .  Such as:
>
> __fp  used in forms
>
> and
>
> _sourcePage also used in forms however even though it appears to be a
> base64 representation of what I expected to be the source page URL but it in
> fact appears to be binary data
>
> If there is documentation for this information then that would be great.
>
> Thanks Again,
>
> --Nikolaos
>
>
> Ben Gunter wrote:
>
>> That's the flash scope key. You're probably using flash scope indirectly
>> by adding a message and then redirecting.
>>
>> -Ben
>>
>> On Fri, Nov 26, 2010 at 2:14 AM, Nikolaos Giannopoulos <
>> nikol...@brightminds.org <mailto:nikol...@brightminds.org>> wrote:
>>
>>    Hi,
>>
>>    We have the following clean URL:
>>    @UrlBinding("/article/{authorId}/{id}/{titleUrlified}/{$event}")
>>
>>    After a user is done editing a form they click on save which saves
>>    the article and then does a redirect resolution as follows:
>>            RedirectResolution redirect = new
>>    RedirectResolution(ArticleActionBean.class);
>>            redirect.addParameter("authorId", this.authorId).
>>                    addParameter("id", this.id <http://this.id>).
>>
>>                    addParameter("titleUrlified", this.titleUrlified);
>>
>>    We end up with:
>>
>> http://www.local.ca:8080/web/article/28mqnalvgqf2n/2/some-article/view*?__fsk=-1249240358*
>>
>>    Unfortunately this URL isn't totally clean.  Might appear picky
>>    but if one tries hard for URL's to follow clean URL's this is not
>>    good albeit the value is harmless.  So... how can I get rid of the
>>    "__fsk=-1249240358" parameter?
>>
>>    Also... why is Stripes adding it?  I don't see this particular
>>    field anywhere and don't see why its necessary.
>>
>>    Thanks,
>>
>>    --Nikolaos
>>
>>
>>  
>> ------------------------------------------------------------------------------
>>    Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>>    Tap into the largest installed PC base & get more eyes on your game by
>>    optimizing for Intel(R) Graphics Technology. Get started today
>>    with the
>>    Intel(R) Software Partner Program. Five $500 cash prizes are up
>>    for grabs.
>>    http://p.sf.net/sfu/intelisp-dev2dev
>>    _______________________________________________
>>    Stripes-users mailing list
>>    Stripes-users@lists.sourceforge.net
>>    <mailto:Stripes-users@lists.sourceforge.net>
>>
>>    https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>>
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to