Go to most recent revision |
Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 1035 |
benjamin |
1 |
package org.tela_botanica.del.client.utils;
|
|
|
2 |
|
|
|
3 |
import com.google.gwt.user.client.History;
|
|
|
4 |
|
|
|
5 |
public class URLUtils {
|
|
|
6 |
|
|
|
7 |
/**
|
|
|
8 |
* Renvoie le parametre contenu apres le signe ~dans l'url
|
|
|
9 |
* Utile pour passer des parampetres dynamiquement
|
|
|
10 |
* @return
|
|
|
11 |
*/
|
|
|
12 |
public static String getURLSpecialParameterValue() {
|
|
|
13 |
String historyToken = History.getToken();
|
|
|
14 |
int debutParam = historyToken.indexOf("~");
|
|
|
15 |
return historyToken.substring(debutParam + 1);
|
|
|
16 |
}
|
|
|
17 |
|
|
|
18 |
}
|