Revision 41795
Added by Ioannis Diplas about 8 years ago
PublishWidget.java | ||
---|---|---|
51 | 51 |
tinyUrlChartTextBox.setAlternateSize(AlternateSize.LARGE); |
52 | 52 |
|
53 | 53 |
tinyUrlChartTextBox.setPlaceholder("Loading tiny url for chart.."); |
54 |
|
|
54 | 55 |
|
55 |
longUrlChart.setText(URL.encode(Generate.getInstance().generateURLs(ValuesOfFields.getInstance(), 1)));
|
|
56 |
longUrlChart.setText(URL.encode(Generate.getInstance().generateURLs(ValuesOfFields.getInstance(), 2)));
|
|
56 | 57 |
|
57 | 58 |
urlFormChart.add(new FormFieldSet("Long url for chart", longUrlChart)); |
58 | 59 |
urlFormChart.add(new FormFieldSet("Tiny url for chart",tinyUrlChartTextBox)); |
... | ... | |
65 | 66 |
longUrlTable.setAlternateSize(AlternateSize.LARGE); |
66 | 67 |
tinyUrlTableTextBox.setAlternateSize(AlternateSize.LARGE); |
67 | 68 |
tinyUrlTableTextBox.setPlaceholder("Loading tiny url for table.."); |
68 |
longUrlTable.setText(URL.encode(Generate.getInstance().generateURLs(ValuesOfFields.getInstance(), 1).replace("merge.php", "infoForTable_new.php"))); |
|
69 |
longUrlTable.setText(URL.encode(Generate.getInstance().generateURLs(ValuesOfFields.getInstance(), 1).replace("googleMaps.php", "infoForTable_new.php"))); |
|
69 |
String finalUrlForTable = new String(); |
|
70 | 70 |
|
71 |
finalUrlForTable = URL.encode(Generate.getInstance().generateURLs(ValuesOfFields.getInstance(), 1).replace("merge.php", "infoForTable_new.php")); |
|
72 |
|
|
73 |
longUrlTable.setText(finalUrlForTable); |
|
74 |
|
|
71 | 75 |
urlFormTable.add(new FormFieldSet("Long url", longUrlTable)); |
72 | 76 |
urlFormTable.add(new FormFieldSet("Tiny url", tinyUrlTableTextBox)); |
73 | 77 |
|
Also available in: Unified diff