On Nov 22, 11:00 am, David Pollak <
feeder.of.the.be...@gmail.com>
wrote:
> On Mon, Nov 22, 2010 at 7:57 AM, fmpwizard <
di...@fmpwizard.com> wrote:
> > Hi,
>
> > The Lift application I'm currently working on basically displays
> > information about different test results we run at work. You enter a
> > version number in a search box, and you see the details.
>
> > So far this is working well, but I'd like to give our users the option
> > to enter a version number, hit search and then be able to copy the
> > url, and send that url to another coworker, so that they can both see
> > the same results. Instead of having to tell the second person, "go and
> > search for this version result"
> > While this sounds like it may not be so hard for the end user, I'm
> > planning on adding more search filters, etc, which would end up taking
> > too long for every user to do before then can talk about it.
>
> > I know some other frameworks add tokens to the end of the url after a
> > # . I wonder if this is somehow implemented on Lift or what your
> > thoughts are.
>
> Anything after the # is for the browser only... it's not communicated to the
> server.
>
> If you want query parameters, you can do something like:
http://localhost:8080/mypage?thing=my_thing
>
> And you can get the parameter via S.param("thing")
>
Thanks for your answer, I missed to say that I am doing ajax post on
this search, to avoid a whole page reload, so I was hoping that I
could continue to do that and somehow add the #s=<version> to the url,
and that once the other user pastes that url, lift would know (well, I
need to tell it how to interpret that), what page to load and what to
do.
Does that make sense ?
Again, thanks for such a great framework.
Diego
>
>
>
>
>
>
>
>
>
>
> > Thanks
>
> > Diego
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to
lif...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
liftweb+u...@googlegroups.com<
liftweb%2Bunsu...@googlegroups.com >
> > .
> Beginning Scalahttp://
www.apress.com/book/view/1430219890