Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsURL with token
https://www.eclipse.org/forums/index.php/mv/msg/353311/874047/#msg_874047
is there any way in RAP to add tokens to the URl? I have seen this in the Demo App
rap.eclipsesource.com/rapdemo/examples#input
Thank in advance
Greetings
Ulf]]>Ulf Breidenbach2012-05-19T20:56:15-00:00Re: URL with token
https://www.eclipse.org/forums/index.php/mv/msg/353311/874589/#msg_874589
you have to use BrowserHistory (see RWT#getBrowserHistory) and implement
BrowserHistoryListener listener.
HTH,
Ivan
On 5/19/2012 11:56 PM, Ulf Breidenbach wrote:
> Hello,
>
> is there any way in RAP to add tokens to the URl? I have seen this in
> the Demo App
> rap.eclipsesource.com/rapdemo/examples#input
>
> Thank in advance
>
> Greetings
> Ulf
Professional services for RAP and RCP? http://eclipsesource.com/services/rap/]]>Ivan Furnadjiev2012-05-21T07:43:28-00:00Re: URL with token
https://www.eclipse.org/forums/index.php/mv/msg/353311/903435/#msg_903435
My BrowserHistoryListener is not called when the user manipulates the history token. Is there anything else I can do?
-Gunnar]]>Gunnar Wagenknecht2012-08-23T15:49:50-00:00Re: URL with token
https://www.eclipse.org/forums/index.php/mv/msg/353311/903443/#msg_903443
> My BrowserHistoryListener is not called when the user manipulates the
> history token. Is there anything else I can do?
Have you added entries to the history with createEntry? The Listener will
only be called for known entries.
Professional services for RAP and RCP? http://eclipsesource.com/services/rap/]]>Tim Buschtoens2012-08-23T16:23:44-00:00Re: URL with token
https://www.eclipse.org/forums/index.php/mv/msg/353311/903577/#msg_903577
> Have added entries to the history with createEntry? The Listener will
> only called for known entries.
That's what I figured. Is there any way to get notifications for history
changes done by users manipulating in the URL in a browser?
For example, GWT provides API to read the history token from the URL.
It's history listener is also triggered when I manipulate the history
token directly in the URL.
-Gunnar
--
Gunnar Wagenknecht
gunnar@xxxxxxxx http://wagenknecht.org/]]>Gunnar Wagenknecht2012-08-24T11:56:10-00:00Re: URL with token
https://www.eclipse.org/forums/index.php/mv/msg/353311/903683/#msg_903683
the history listener is called when you manipulate the URL *and* press
enter, but not on typing. You can check this in the online demo: